菜鸟也想飞 发表于 2004-10-22 14:02:11

grub引导双linux 系统的问题。

我的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 (hd1,5)
#          kernel /boot/vmlinuz-version ro root=/dev/hdb6
#          initrd /boot/initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd1,5)/boot/grub/splash.xpm.gz
title Fedora Core (2.4.22-1.2115.nptl)
        root (hd1,5)
        kernel /boot/vmlinuz-2.4.22-1.2115.nptl ro root=LABEL=/1 rhgb
        initrd /boot/initrd-2.4.22-1.2115.nptl.img
title DOS
        rootnoverify (hd0,0)
        chainloader +1
title Red Hat Linux (2.4.20-8)
      root (hd1,0)
        kernel /boot/vmlinuz-2.4.20-8 ro root=/dev/hdb1
        initrd /boot/initrd-2.4.20-8.img
我的rh9在/dev/hdb1中。我rh9里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 (hd1,0)
#          kernel /boot/vmlinuz-version ro root=/dev/hdb1
#          initrd /boot/initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd1,0)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
        root (hd1,0)
        kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/
        initrd /boot/initrd-2.4.20-8.img
title DOS
        rootnoverify (hd0,0)
        chainloader +1
为什么不能引导rh9?为的文件可都在里面呢 。求助大家帮忙解决。

llc 发表于 2004-10-22 14:10:14

错误信息是什么?
用“kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/ ”这个不行吗?

菜鸟也想飞 发表于 2004-10-22 14:33:45

莫名其妙!
它又好了。能引导rh9。真奇怪!
页: [1]
查看完整版本: grub引导双linux 系统的问题。