- 论坛徽章:
- 0
|
安装linux和Windows双系统时,如果按照默认安装方
式,不会出现选择启动顺序的选项,默认为linux优先启动的。对于不经常
使用Linux的朋友,就需要在启动时选择启动的操作系统。如果一时忘了那
么就得等待Linux漫长的启动过程后,重启再次选择,可以说是非常不的。
那么怎样改变默认的启动顺序呢,与改变Windows 98和Windows 2000双系统的启
动顺序相比也不复杂。只需要以root身份登陆,修改/boot/grub/grub.conf文件即
可。以下是默认安装的grub.conf文件内容:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,6)
# kernel /boot/vmlinuz-version ro root=/dev/hda7
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=0
timeout=5
gfxmenu (hd0,6)/boot/message
title RedFlag (2.6.22.6-1)
root (hd0,6)
kernel /boot/vmlinuz-2.6.22.6-1 ro root=LABEL=/ vga=788 splash=silent
initrd /boot/initrd-2.6.22.6-1.img
title Other
rootnoverify (hd0,0)
chainloader +1
将default=0改为default=1,即默认启动第二项,Other操作系统。tilte Other这里
tilte后的内容就是启动菜单里显示内容,我们也可以将Other改为其它标记,
如改为Windows XP,保存退出就完成了配置操作,是不是有点象改boot.ini的感
觉,还比较容易吧。重启后试试看是不是已经生效了。这里还可以启动菜
单停留的时间,将timeout=5后的数字改为你所需的时间就行了。
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/40468/showart_469093.html |
|