用Rescue盘启动,运行grub.
grub>root (hd0,x)
grub>setup (hd0)
重建MBR之后, grub启动菜单就又出现了
x是怎么得到的呢?
用emacs(或vi)打开/etc/grub.conf,
default=2
timeout=5
splashimage=(hd0,6)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.23.1-42.fc8)
root (hd0,6)
kernel /boot/vmlinuz-2.6.23.1-42.fc8 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.23.1-42.fc8.img
title winxp
rootnoverify (hd0,0)
chainloader +1
x即为6.
阅读(655) | 评论(0) | 转发(0) |