利用grldr冒名顶替ntldr和bootmgr引导WIN7/XP/Ubuntu系统

  利用grldr冒名顶替ntldr和bootmgr引导WIN7/XP/Ubuntu系统的方法:

  把bootmgr(ntldr)改名为bootmg8(ntld8)

  把grldr改名为bootmgr(ntldr)

  在grub的引导菜单menu.lst内加入:

  title Windows 7

  find --set-root /bootmg8

  chainloader /bootmg8

  boot

  title Windows XP

  find --set-root /ntld8

  chainloader /ntld8

  boot

  安装Ubuntu的时候不用安装GRUB,用grldr引导即可,在menu.lst加入(按实际安装分区填写,下面只是我的例子):

  title Ubuntu 10.04.4

  root (hd0,7)

  kernel /vmlinuz root=/dev/sda8

  initrd /initrd.img

  boot

  总之,用 grldr 和 menu.lst 两个文件即可完成引导WIN7/XP/Ubuntu Linux。

  怎么样,很简单吧!