红联Linux门户
Linux帮助

linux grub启动菜单设置grub.conf,既启动顺序设置

发布时间:2006-08-13 10:55:48来源:红联作者:tongxiaokun
引用:
vi /boot/grub/grub.conf


  linux版本不同grub.conf的位置可能不同。用vi打开它

  我的打开如下所示

引用:
default=1
timeout=10
splashimage=(hd0,6)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
root (hd0,6)
kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /boot/initrd-2.4.20-8.img
title Windows2000
rootnoverify (hd0,0)
chainloader +1


  default=1既操作系统的启动顺序,现在我的默认是1,那么默认启动的就是第2个title的系统windows2000,如果设置为0,那么启动第1个title的red hat

  注意:有人问我设置为2为什么不是启动的第2个title啊,因为默认是0为第1个title。如果设置为2反而是又回到启动的第1个title系统了,依次类推,3又是第2个系统了。
文章评论

共有 0 条评论