|
我原来装ML的时候默认是win xp为第一启动的,且win xp 的Title为dos
现在想把第一启动项改为ml,且把win的title改为win xp
是不是要修改/boot/grub/menu.lst文件?像下面这么改行吗?
原来的menu.lst如下:
# grub.conf generated by MagicInstaller.
# Note that you do not have to rerun grub after making changes to this file.
default=0
timeout=10
splashimage=(hd0,7)/boot/grub/splash.xpm.gz
title dos
rootnoverify (hd0,0)
chainloader +1
title MagicLinux
root (hd0,7)
kernel /boot/vmlinuz-2.6.15.3 ro root=/dev/hda8 vga=791 splash=silent
initrd /boot/initrd-2.6.15.3.img
title MagicLinux (Graphics Mode)
root (hd0,7)
kernel /boot/vmlinuz-2.6.15.3 init 5 ro root=/dev/hda8 vga=791 splash=silent
initrd /boot/initrd-2.6.15.3.img
title MagicLinux (Console Mode)
root (hd0,7)
kernel /boot/vmlinuz-2.6.15.3 init 3 ro root=/dev/hda8 vga=791 splash=silent
initrd /boot/initrd-2.6.15.3.img
title MagicLinux (Single Mode)
root (hd0,7)
kernel /boot/vmlinuz-2.6.15.3 init 1 ro root=/dev/hda8 vga=791 splash=silent
initrd /boot/initrd-2.6.15.3.img
现在若是改为:
# grub.conf generated by MagicInstaller.
# Note that you do not have to rerun grub after making changes to this file.
default=0
timeout=10
splashimage=(hd0,7)/boot/grub/splash.xpm.gz
title MagicLinux
root (hd0,7)
kernel /boot/vmlinuz-2.6.15.3 ro root=/dev/hda8 vga=791 splash=silent
initrd /boot/initrd-2.6.15.3.img
title MagicLinux (Graphics Mode)
root (hd0,7)
kernel /boot/vmlinuz-2.6.15.3 init 5 ro root=/dev/hda8 vga=791 splash=silent
initrd /boot/initrd-2.6.15.3.img
title MagicLinux (Console Mode)
root (hd0,7)
kernel /boot/vmlinuz-2.6.15.3 init 3 ro root=/dev/hda8 vga=791 splash=silent
initrd /boot/initrd-2.6.15.3.img
title MagicLinux (Single Mode)
root (hd0,7)
kernel /boot/vmlinuz-2.6.15.3 init 1 ro root=/dev/hda8 vga=791 splash=silent
initrd /boot/initrd-2.6.15.3.img
title win xp
rootnoverify (hd0,0)
chainloader +1
可以实现吗?谢谢 |
|