QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 504|回复: 2

四个系统引导grub成功

[复制链接]
发表于 2003-12-4 08:31:10 | 显示全部楼层 |阅读模式
windows的安装就不要多说呢,先安装redhat,安装时引导使用默认的,linux与dos的启动顺序可以改,;# 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,7)
# kernel /boot/vmlinuz-version ro root=/dev/hda8
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd0,7)/boot/grub/splash.xpm.gz
title Red Hat
root (hd0,7)
kernel /boot/vmlinuz-2.4.21-4.EL ro root=LABEL=/
initrd /boot/initrd-2.4.21-4.EL.img
title DOS
rootnoverify (hd0,0)
chainloader +1
这是redhat安装好后的grub.conf。
再安装redflag,安装时,选择引导安装在redflag所在的区,注意,不能安装在/dev/hda,然后进redhat,直接修改/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,7)
# kernel /boot/vmlinuz-version ro root=/dev/hda8
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd0,7)/boot/grub/splash.xpm.gz
title Red Hat
root (hd0,7)
kernel /boot/vmlinuz-2.4.21-4.EL ro root=LABEL=/
initrd /boot/initrd-2.4.21-4.EL.img
title DOS
rootnoverify (hd0,0)
chainloader +1
title Redflag
root (hd0,
kernel /boot/vmlinuz-2.4.20-8 ro root=/dev/hda9
initrd=/boot/initrd-2.4.20-8.img
我的redflag是安装在/dev/hda9的,应该为root (hd0,
“/boot/vmlinuz-2.4.20-8 ro root=/dev/hda9”和
“initrd=/boot/initrd-2.4.20-8.img”可以参照redflag的/etc/lilo.conf

然后重启就好呢
发表于 2003-12-4 08:53:03 | 显示全部楼层
这样等于把redflag跟windows的分区一样处理了……不喜欢。
其实只要安装到MBR,然后把redhat的boot里面的grub.conf文件当中redhat那一段复制到redflag的grub.conf文件里面就可以了。
回复

使用道具 举报

 楼主| 发表于 2003-12-8 07:45:01 | 显示全部楼层
吾乃菜菜呢,喜欢简单一点的
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-9-30 15:30 , Processed in 0.045258 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表