- 论坛徽章:
- 0
|
我习惯用grub4dos来引导linux这样来说无论哪个系统重做,都会在不使用任何引导盘的情况下修复引导项~
以下是xp和win7两种 grub4dos的方法:
xp:
参见:http://www.linux-ren.org/modules/newb ... wtopic.php?topic_id=53812
win7:
win7有个很好的变通方法,自己修改就可以,很简单:
下载grub4dos,解压后,把其中两个文件grldr和menu.lst拷贝到C盘根目录,然后打开隐藏文件,
把bootmgr文件改名为bootmgr7 ,
然后把grldr文件修改为bootmgr,并在menu.lst里添加引导 win7的内容:
title Windows 7
root (hd0,0)
chainloader /bootmgr7
其余引导linux的选项,自己添加吧
下面是我的menu.lst,需要的可以参考:
# This is a sample menu.lst file. You should make some changes to it.
# The old install method of booting via the stage-files has been removed.
# Please install GRLDR boot strap code to MBR with the bootlace.com
# utility under DOS/Win9x or Linux.
color black/cyan yellow/cyan
timeout 10
default /default
title Windows 7
root (hd0,0)
chainloader /bootmgr7
title ubuntu 10.04
root (hd0,10)
kernel /boot/grub/core.img
title ubuntu 10.10
root (hd0,5)
kernel /boot/grub/core.img
title Qomo 0.8
rootnoverify (hd0,7)
chainloader +1
title Asianux 3 sp3 x86-64
rootnoverify (hd0,
chainloader +1
title Asianux 2 sp3 x86-64
rootnoverify (hd0,9)
chainloader +1
title Qomo livecd Desktop 0.7
root (hd0,
kernel /vmlinuz0 ro root=livedisk:/dev/sda9 livedisk_iso=/Qomo-0.7-i686-Live.iso liveimg nodmraid rhgb vga=788 rdblacklist=b44 rdblacklist=b43 rdblacklist=ssb
initrd /initrd0.img
title ubuntu install
root (hd0,9)
kernel /vmlinuz boot=casper iso-scan/filename=/ubuntu-10.04-desktop-i386.iso ro quiet splash locale=zh_CN.UTF-8
initrd /initrd.lz |
|