|
楼主 |
发表于 2005-11-2 22:01:48
|
显示全部楼层
对不起,补充一下,grub for dos启动菜单部分
在C:\boot\grub下,用记事本打开menu.lst文件进行编辑,下面是我的:
color black/cyan yellow/cyan
timeout 30
default 0
title Microsoft Windows XP Professional (在屏幕上显示的)
chainloader (hd0,0)+1 (启动命令行)
rootnoverify (hd0) (启动命令行)
title MagicLinux 2.0 Bate 3 (在屏幕上显示的)
kernel (hd0,6)/boot/vmlinuz-2.6.12.3 ro root=/dev/hda7 vga=791 splash=silent (启动命令行)
initrd (hd0,6)/boot/initrd-2.6.12.3.img (启动命令行)
title install GRUB on (hd0,0) 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,0)/boot/grub/ to MBR. Press any key to begin...
root (hd0,0)
setup (hd0)
pause GRUB install OK! Press any key to reboot your machine...
reboot
title install GRUB on (hd0,1) 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,1)/boot/grub/ to MBR. Press any key to begin...
root (hd0,1)
setup (hd0)
pause GRUB install OK! Press any key to reboot your machine...
reboot |
|