|
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
然后重启就好呢 |
|