Chinaunix

标题: linux grub启动菜单设置grub.conf,既启动顺序设置 [打印本页]

作者: 龙泉    时间: 2007-01-19 23:03
标题: linux grub启动菜单设置grub.conf,既启动顺序设置

QUOTE:
vi /boot/grub/grub.conf  linux版本不同grub.conf的位置可能不同。用vi打开它
  我的打开如下所示
QUOTE:
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个系统了。

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/12364/showart_234923.html




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2