红联Linux门户
Linux帮助

如何启动同一硬盘上的redhat 和 fedora双系统

发布时间:2011-09-21 08:38:41来源:红联作者:zhwtjxx
[i=s] 本帖最后由 zhwtjxx 于 2011-9-21 08:42 编辑 [/i]

机器上先装的是win7,后来装了fedora学习linux,单位的机器是redhat。发现fedora与redhat有些地方还是有差别的,

于是又装了个redhat,但是系统启动时进fedora时无法启动。现在将我两个系统的grub文件帖出来

有知道朋友们请给指导,谢谢~~~

这个是redhat的

[root@localhost ~]# cat /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,11)
# kernel /vmlinuz-version ro root=/dev/sda14
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=10
splashimage=(hd0,11)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux Client (2.6.18-194.el5)
root (hd0,11)
kernel /vmlinuz-2.6.18-194.el5 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.18-194.el5.img
title win7
rootnoverify (hd0,0)
chainloader +1
title Fedora (2.6.35.6-45.fc14.i686)
root (hd0,6)
kernel /vmlinuz-2.6.35.6-45.fc14.i686 ro root=UUID=0f082d95-e67c-4344-807d-b2d440fff5b1 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=zh_CN.UTF-8 KEYTABLE=us nomodeset rhgb quiet
initrd /initramfs-2.6.35.6-45.fc14.i686.img
下面是起初fedora的
[root@localhost ~]# cat /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,6)
# kernel /vmlinuz-version ro root=/dev/sda9
# initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,6)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.35.6-45.fc14.i686)
root (hd0,6)
kernel /vmlinuz-2.6.35.6-45.fc14.i686 ro root=UUID=0f082d95-e67c-4344-807d-b2d440fff5b1 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=zh_CN.UTF-8 KEYTABLE=us nomodeset rhgb quiet
initrd /initramfs-2.6.35.6-45.fc14.i686.img
title Other
rootnoverify (hd0,0)
chainloader +1
文章评论

共有 0 条评论