红联Linux门户
Linux帮助

怎样修改启动顺序?

发布时间:2008-01-09 11:39:16来源:红联作者:Dongq
前天刚装完f8,安装的时候我选择的是启动顺序默认的是f8,平时用的时候希望还是默认的是windows,但是在boot里面根本没有f8的启动项,有没有办法修改!谢谢各位了!!

# 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,8)
#
kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
#
initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage= (hd0,8)/grub/splash.xpm.gz

hiddenmenu

title Fedora (2.6.23.1-42.fc8)

root (hd0,8)

kernel /vmlinuz-2.6.23.1-42.fc8 ro root=/dev/VolGroup00/LogVol00 rhgb quiet

initrd /initrd-2.6.23.1-42.fc8.img

title Other

rootnoverify (hd0,0)

chainloader +1

[ 本帖最后由 Dongq 于 2008-1-11 21:41 编辑 ]
文章评论

共有 9 条评论

  1. Dongq 于 2008-01-13 19:23:52发表:

    谢谢 6楼,我回去已经改好了!多谢各位帮忙啊!!!

  2. stephen0pc 于 2008-01-11 23:15:56发表:

    晕,前一周才有人贴了方法!
    default=0 '默认第一顺序,改成1就默认win了,不管win什么版本
    timeout=5 '默认时间

    详细请看:
    http://www.linuxdiyf.com/bbs/viewthread.php?tid=74275&page=1#pid414325
    感谢tiful
    好东西没人顶啊,世态炎凉,哎~
    我今天才按这个帖子改了自己的F8启动~

    [ 本帖最后由 stephen0pc 于 2008-1-11 23:18 编辑 ]

  3. Dongq 于 2008-01-11 21:35:46发表:

    谢谢各位了!
    # 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,8)
    #
    kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
    #
    initrd /initrd-version.img
    #boot=/dev/sda
    default=0
    timeout=5
    splashimage= (hd0,8)/grub/splash.xpm.gz

    hiddenmenu

    title Fedora (2.6.23.1-42.fc8)

    root (hd0,8)

    kernel /vmlinuz-2.6.23.1-42.fc8 ro root=/dev/VolGroup00/LogVol00 rhgb quiet

    initrd /initrd-2.6.23.1-42.fc8.img

    title Other

    rootnoverify (hd0,0)

    chainloader +1
    我的好象是这样的,我装了xp 2003

  4. jresins 于 2008-01-11 19:56:56发表:

    照6楼兄弟些写的,在grub.conf中补上相关启动项即可。

  5. cm.yang 于 2008-01-09 15:53:37发表:

    #vi /boot/grub/menu.lst
    查看以下内容:
    title Fedora (2.6.23.1-42.fc8)
    root (hd0,7)
    kernel /vmlinuz-2.6.23.1-42.fc8 ro root=LABEL=/1 rhgb quiet
    initrd /initrd-2.6.23.1-42.fc8.img
    title WINXP
    rootnoverify (hd0,0)
    chainloader +1

    如果是这个循序的话,把default=1 即可
    关键是看这个title的顺序

    [ 本帖最后由 cm.yang 于 2008-1-9 15:55 编辑 ]

  6. yourfriend 于 2008-01-09 13:22:15发表:

    我记得fedora也有控制空心,命令好像是gnome-system-XXXXXXXX忘了

  7. 奶茶dsk 于 2008-01-09 11:53:36发表:

    改default。。。。

  8. Dongq 于 2008-01-09 11:43:33发表:

    回去看看啊!谢谢了!

  9. relaaxx 于 2008-01-09 11:40:40发表:

    /boot/grub/menu.lst贴上来