双系统时修改启动项

上一篇 / 下一篇  2009-05-05 15:51:16 / 个人分类:常识

当有双系统时,比如:一个windows,一个linux
可以到linux系统下
/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 do not have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /, eg.
#          root (hd0,2)
#          kernel /boot/vmlinuz-version ro root=/dev/sda3
#          initrd /boot/initrd-version.img
#boot=/dev/sda
default=0
timeout=5

splashimage=(hd0,2)/boot/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-92.el5PAE)
        root (hd0,2)
        kernel /boot/vmlinuz-2.6.18-92.el5PAE ro root=LABEL=/ rhgb quiet
        initrd /boot/initrd-2.6.18-92.el5PAE.img
title Other
        rootnoverify (hd0,1)
        chainloader +1


default为默认启动项,当前默认启动centos;设为1后,就启动title为Other的系统
       注:title为Other,这个可以手动修改,选择启动时,显示的名字就是这里所写的;
timeout为等待超时时间;


TAG: 双系统 启动项

 

评分:0

我来说两句

Open Toolbar