|
|

楼主 |
发表于 2007-7-3 02:23:51
|
显示全部楼层
谢谢啦!
往menu.lst里添加那个title运行老是提示file not found。不过意外发现原来的menu.lst有个install grub to mbr的title,运行了一下,竟然恢复了,嚯嚯,高兴啊!
顺便把它的内容也贴一下吧:
title install GRUB on (hd0,2) to MBR (hd0) and reboot. Password: danger
pause You requested to install GRUB onto MBR. We highly recommend you NOT to do so, basically for two reasons: 1. For some non-MS-compatible boot loaders(in case you might be using), the install is INDEED dangerous and may cause your whole disk(and all your operating systems on it) unaccessible. 2. Even if you are using(in MBR)an MS-compatible boot loader such as LILO and GRUB, you may encounter problems like hard-disk-boot-failure when you move or delete the /boot/grub/stage2 file, or even when disk defragmentation operations are made. Press any key to continue...
pause A password prompt will confirm that you want the operation anyway. Press any key to continue...
password danger
pause This will install GRUB in (hd0,2)/boot/grub/ to MBR. Press any key to begin...
root (hd0,2)
setup (hd0)
pause GRUB install OK! Press any key to reboot your machine...
reboot
不过还是看不明白就两句命令做了些什么?新手~~~ |
|