|
|
发表于 2008-12-24 21:16:54
|
显示全部楼层
Post by yuanhong;1928449
menu.lst文件加:
title Windows
rootnoverify (hd0,2)
chainloader (hd0,0)+1
就OK了
谢谢,我的XP终于回到GRUB启动菜单了,另外,我的Fedora 10 是这样恢复:
title Fedora 10
root (hd0,8)
kernel /vmlinuz-2.6.27.7-134.fc10.x86_64
initrd /initrd-2.6.27.7-134.fc10.x86_64.img
vmlinuz-2.6.27.7-134.fc10.x86_64和initrd-2.6.27.7-134.fc10.x86_64.img这两个启动文件都放在F10的/boot里面,你只面用 fd -lh命令查看一下就可以得到root (hd0,8)这个参数了,注意的是,这个参数8是你所看到的boot分区的盘符sdaX中的X-2,比如我看到boot分区是sda10,所以就用root (hd0,8)。
哈哈,爽哦。 |
|