GRUB dual-boot 32/64bit RHEL ES

Marcelino Mata mmata at multimatic.com
Wed Oct 26 13:27:15 UTC 2005


I believe the /etc/fstab will also need to be updated to reflect the new
e2label label....or remove the labels from menu.lst and fstab.  Labels
can a be pain with dual/triple boot OS installs.

Example of menu.lst without label:

kernel /vmlinuz-2.4.21-32.ELsmp ro root=/dev/sdc1 hdc=ide-scsi

Marcelino

>-----Original Message-----
>From: redhat-list-bounces at redhat.com 
>[mailto:redhat-list-bounces at redhat.com] On Behalf Of Ed Wilts
>Sent: Wednesday, October 26, 2005 7:54 AM
>To: me at gavitron.com; General Red Hat Linux discussion list
>Subject: Re: GRUB dual-boot 32/64bit RHEL ES
>
>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
>
>--
>redhat-list mailing list
>unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
>https://www.redhat.com/mailman/listinfo/redhat-list
>
>




More information about the redhat-list mailing list