linux 启动顺序
2008-04-17 09:51
239 查看
打开终端,su命令切换到root权限,使用vi打开“grub.conf”文件(vi /etc/grub.conf),内容如下:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,4)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/sda
default=2
timeout=5
splashimage=(hd0,4)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.23.15-80.fc7)
root (hd0,4)
kernel /vmlinuz-2.6.23.15-80.fc7 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.23.15-80.fc7.img
title Fedora (2.6.21-1.3194.fc7)
root (hd0,4)
kernel /vmlinuz-2.6.21-1.3194.fc7 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.21-1.3194.fc7.img
title Microsoft Windows Option System
rootnoverify (hd0,0)
chainloader +1其中“default=2”便是默认启动项,改变他即可。
vi编辑器的使用:http://www.cnblogs.com/EasyData/archive/2008/04/17/1157434.html
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,4)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/sda
default=2
timeout=5
splashimage=(hd0,4)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.23.15-80.fc7)
root (hd0,4)
kernel /vmlinuz-2.6.23.15-80.fc7 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.23.15-80.fc7.img
title Fedora (2.6.21-1.3194.fc7)
root (hd0,4)
kernel /vmlinuz-2.6.21-1.3194.fc7 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.21-1.3194.fc7.img
title Microsoft Windows Option System
rootnoverify (hd0,0)
chainloader +1其中“default=2”便是默认启动项,改变他即可。
vi编辑器的使用:http://www.cnblogs.com/EasyData/archive/2008/04/17/1157434.html
相关文章推荐
- linux下几个.profile文件启动的顺序
- linux 的启动顺序
- 双系统 启动顺序(xp / linux)
- Linux启动顺序
- Linux - 修改内核启动顺序及删除无用内核
- linux init 启动顺序
- linux发行版一般启动顺序
- linux开机启动顺序
- Linux/Windows 修改双启动顺序
- Linux启动的顺序说明
- Linux开机启动顺序
- /etc/rc.d/rc与/etc/rc.d/init.d的关系介绍 linux中chkconfig 启动程序顺序
- linux大概的启动顺序
- 双系统(windows和Linux)如何设置启动顺序,我的/boot/grub/menu.lst内容如下:
- Linux 启动顺序 添加开机启动服务 rc?.d rc.local init.d System run levels and init.d scripts
- Linux 开机脚本启动顺序--inittab脚本启动解析
- linux开机启动脚本的顺序
- linux下/etc/rc.d目录的介绍及redhat启动顺序
- linux多系统更改启动顺序
- linux ----系统下各个文件夹的作用及系统启动顺序