- 论坛徽章:
- 0
|
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个系统了
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/7425/showart_97778.html |
|