如何让grub启动原来的windows
原来我的系统是win2000,在安装redhat9时,grub的启动项没有选择DOS,结果现在没有办法进入win2000了,怎么办? 在出现grub时按c进入命令行模式grub>rootnoverify (hd0,0)
grub>chainloader +1
如果你的win2000装在第一个主分区的话。如不是,把(hd0,0)换成你装win2000的分区 刚才用yhlfh的方法,第一行没错,当输入chainloader + 1时,提示
Error: File name must be either an absolute pathname or blocklist.
重启,在Grub中和原来一样,还是只有一个系统.这时怎么回事? 你现在能进入RH9吗,能的话就在/boot/grub/menu.lst里把win2000的选项加上试试。我的借你参考参考。
# cat /boot/grub/grub.conf
# grub.conf generated by MagicInstaller.
# Note that you do not have to rerun grub after making changes to this file.
default=1
timeout=10
splashimage=(hd0,6)/boot/grub/splash.xpm.gz
title WindowsXP
rootnoverify (hd0,0)
chainloader +1
title MagicLinux
root (hd0,6)
kernel /boot/vmlinuz-2.6.15.3ro root=/dev/hda7 vga=791 splash=silent
initrd /boot/initrd-2.6.15.3.img
title MagicLinux (Graphics Mode)
root (hd0,6)
kernel /boot/vmlinuz-2.6.15.3 init 5 ro root=/dev/hda7 vga=791 splash=silent
initrd /boot/initrd-2.6.15.3.img
title MagicLinux (Console Mode)
root (hd0,6)
kernel /boot/vmlinuz-2.6.15.3 init 3 ro root=/dev/hda7 vga=791 splash=silent
initrd /boot/initrd-2.6.15.3.img
title MagicLinux (Single Mode)
root (hd0,6)
kernel /boot/vmlinuz-2.6.15.3 init 1 ro root=/dev/hda7 vga=791 splash=silent
initrd /boot/initrd-2.6.15.3.img
你看看在适当的位置加上win2000的选项,在重启选win2000试试。 我现在就在RH9中,我再试试这个方法. 行了吗? 哈哈,太帅了,多谢yhlfh。我现在已经在windows2000里了。
第一次装Linux,很多问题还请多多指教哦。
页:
[1]