GRUB dual-boot 32/64bit RHEL ES

Ed Wilts ewilts at ewilts.org
Wed Oct 26 11:53:37 UTC 2005


On Tue, Oct 25, 2005 at 07:24:39PM -0700, Gavin McDonald wrote:
> So now, I cant seem to configure GRUB for the second OS. I added a second
> entry, and made what seemed to be the right changes, but booting was a
> spectacular failure.  GRUB found the "right" kernel and initrd, but it
> looked like the root filesystem was being loaded off of /def/hda3 instead of
> /dev/hdb3.  How _should_ I be doing this?  Do I need to sync my /boot/grub
> folders between /dev/hda & /dev/hdb?
> 
> Anyway, here are the current, broken, contents of /dev/hda1/grub/grub.conf:
> 
> # begin grub.conf
> default=0
> timeout=10
> splashimage=(hd(0,0)/grub/splash.xpm.gz
> title RHEL3 32-bit
> 	root hd(0,0)
> 	kernel /vmlinuz-2.4.21-32.ELsmp ro root=LABEL=/ hdc=ide-scsi
> 	initrd /initrd-2.4.21-32.ELsmp.img
> title RHEL3 64-bit
> 	root hd(1,0)
> 	kernel /vmlinuz-2.4.21-37.EL ro root=LABEL=/ hdc=ide-scsi
> 	initrd /initrd-2.4.21-37.EL.img
> # end grub.conf

Both have the root device being /.  Relabel one of them with e2label and
then update grub.conf accordingly.  Right now, both will use the same
partition for /.

-- 
Ed Wilts, RHCE
Mounds View, MN, USA
mailto:ewilts at ewilts.org
Member #1, Red Hat Community Ambassador Program




More information about the redhat-list mailing list