红联Linux门户
Linux帮助

双硬盘双系统,如何配置引导顺序?

发布时间:2008-07-12 14:47:58来源:红联作者:mich
各位大鸟,
请教,双硬盘,双系统(主硬盘装FC9,从硬盘装XP),如何配置引导顺序,让开机后可以选择进入FC9或XP?
以下是我默认的grub.conf配置。
[root@localhost grub]# more 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,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.25.9-76.fc9.i686)
root (hd0,0)
kernel /vmlinuz-2.6.25.9-76.fc9.i686 ro root=/dev/VolGroup00/LogVol00 rh
gb quiet
initrd /initrd-2.6.25.9-76.fc9.i686.img
title Fedora (2.6.25-14.fc9.i686)
root (hd0,0)
kernel /vmlinuz-2.6.25-14.fc9.i686 ro root=UUID=d30d5596-4e99-4f63-b075-
8c34fb227a19 rhgb quiet
initrd /initrd-2.6.25-14.fc9.i686.img

谢谢!
文章评论

共有 5 条评论

  1. redsky2000 于 2009-03-19 01:10:05发表:

    title fc9
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.9-55.ELsmp ro root=LABEL=/1 rhgb quiet
    initrd /boot/initrd-2.6.9-55.ELsmp.img

    title WINDOWS
    map (hd1) (hd0)
    map (hd0) (hd1)
    rootnoverify (hd1,0)
    chainloader +1

  2. yfchen1988 于 2009-03-18 20:04:14发表:

    {:3_115:}

  3. wuchaosky 于 2009-03-18 19:05:38发表:

    {:2_92:}

  4. lijiang 于 2009-01-13 14:49:53发表:

    我也被此困扰!

  5. rukelee 于 2008-07-12 16:00:02发表:

    按照你的GRUB上的信息,应该是不可以进入XP系统吧:)
    而是进入了内核是2.6.25.9-76的LINUX系统,
    我记得我刚开始安装FEDORA9时,机子的内核是2.6.25.9-14,后来升了一次级电脑的GRUB里多了一个-76的内核,不过我没有用就在这个内核信息的前面用#给注释掉了!

    如果你想把这个-76的内核注释掉的话,请你一定要把default=0改为default=1,还有你需要就一个XP的引导程序,因为我也不知道你的XP是装在第二硬盘的哪个盘下,所以不能帮你了,建议你先看一下这个网址:

    http://www.gbunix.com/htmldata/2004_07/1/3/article_395_1.html