Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dupe
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
bpeters1
n00b
n00b


Joined: 27 Aug 2008
Posts: 2
Location: NC

PostPosted: Wed Aug 27, 2008 4:11 pm    Post subject: RHEL 3,4,5 Grub.conf issues Reply with quote

Good Afternoon,

I am experiencing some issues in configuring a multiboot system my group uses to compile various releases. We have built numerous of these machines in the past but never have spanned across numerical releases. IE -- multiboots including RHEL 3 update 6, 8, 9 but not RHEL 4 update X. Typically the process is pretty straightforward: We format the HDD to have the correct amount of partitions, generate a kickstart file with the appropriate specifications of --onpart=hdaX to point to the correct locations, once completed we copy the kernels to the boot partition and modify the /etc/grub.conf. An example of this can be seen here:

Quote:
# 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,0)
# kernel /vmlinuz-version ro root=/dev/sda3
# initrd /initrd-version.img
#boot=/dev/sda
default=2
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
password --md5 $1$7bswo1$fob9vgNLIYi1LkMq4xo631
title Red Hat Enterprise Linux WS (2.4.21-37.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.4.21-37.ELsmp ro root=LABEL=/12
initrd /initrd-2.4.21-37.ELsmp.img
title Red Hat Enterprise Linux WS-up (2.4.21-37.EL)
root (hd0,0)
kernel /vmlinuz-2.4.21-37.EL ro root=LABEL=/12
initrd /initrd-2.4.21-37.EL.img
title Red Hat Enterprise Linux WS (2.4.21-47.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.4.21-47.ELsmp ro root=LABEL=/1
initrd /initrd-2.4.21-47.ELsmp.img
title Red Hat Enterprise Linux WS-up (2.4.21-47.EL)
root (hd0,0)
kernel /vmlinuz-2.4.21-47.EL ro root=LABEL=/1
initrd /initrd-2.4.21-47.EL.img
title Red Hat Enterprise Linux WS (2.4.21-47.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.4.21-47.ELsmp ro root=LABEL=/
initrd /initrd-2.4.21-47.ELsmp.img
title Red Hat Enterprise Linux WS-up (2.4.21-47.EL)
root (hd0,0)
kernel /vmlinuz-2.4.21-47.EL ro root=LABEL=/
initrd /initrd-2.4.21-47.EL.img



Now I am attempting to span across to include 3 additional updates spanning 2 additional numerical releases (4update5 & 6 and 5 update 1). The problem manifests after rebooting the machine where upon it simply hangs on stage one with the GRUB in capital letters on a black screen. I have managed to get it to attempt to load stage 2 but it hangs at that point as well. An example of that /etc/grub.conf is located below:
Quote:


# 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,0)
# kernel /vmlinuz-version ro root=/dev/hda7
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
password --md5 $1$7bswo1$fob9vgNLIYi1LkMq4xo631
title Red Hat Enterprise Linux WS (2.4.21-50.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.4.21-50.ELsmp ro root=LABEL=/12 hdc=ide-scsi acpi=off
initrd /initrd-2.4.21-50.ELsmp.img
title Red Hat Enterprise Linux WS-up (2.4.21-50.EL)
root (hd0,0)
kernel /vmlinuz-2.4.21-50.EL ro root=LABEL=/12 hdc=ide-scsi acpi=off
initrd /initrd-2.4.21-50.EL.img
title Red Hat Enterprise Linux WS (2.4.21-37.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.4.21-37.ELsmp ro root=LABEL=/ hdc=ide-scsi acpi=off
initrd /initrd-2.4.21-37.ELsmp.img
title Red Hat Enterprise Linux WS-up (2.4.21-37.EL)
root (hd0,0)
kernel /vmlinuz-2.4.21-37.EL ro root=LABEL=/ hdc=ide-scsi acpi=off
initrd /initrd-2.4.21-37.EL.img
title Red Hat Enterprise Linux WS (2.4.21-47.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.4.21-47.ELsmp ro root=LABEL=/1 hdc=ide-scsi acpi=off
initrd /initrd-2.4.21-47.ELsmp.img
title Red Hat Enterprise Linux WS-up (2.4.21-47.EL)
root (hd0,0)
kernel /vmlinuz-2.4.21-47.EL ro root=LABEL=/1 hdc=ide-scsi acpi=off
initrd /initrd-2.4.21-47.EL.img
title Red Hat Enterprise Linux WS (2.6.9-67.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.6.9-67.ELsmp ro root=LABEL=/123 rhgb quiet
initrd /initrd-2.6.9-67.ELsmp.img
title Red Hat Enterprise Linux WS-up (2.6.9-67.EL)
root (hd0,0)
kernel /vmlinuz-2.6.9-67.EL ro root=LABEL=/123 rhgb quiet
initrd /initrd-2.6.9-67.EL.img



The most obvious troubleshooting option was to evaluate differences in syntax possibly resulting in different versions of GRUB being utilized in the various releases, but this was eliminated as no documentation has hinted at a change in grub.conf conventions. At this point I am at a bit of loss as to how to proceed and am getting a bit frustrated. Any tips on multibooting multiple versions and updates therein of Enterprise Redhat? It should be noted the disk is partitioned as such:

HDA1 -- Boot -- 500mb
HDA2 -- Swap -- 32GB
HDA3 -- Temp -- 10GB
HDA4 -- Win 95 ext -- size++
HDA5 -- RHEL 3u6 -- 10GB
HDA6 -- RHEL 3u8 -- 10GB
HDA7 -- RHEL 3u9 -- 10GB
HDA8 -- RHEL4u6 -- 20GB
HDA9 -- export/home -- size ++

The lines handling this configuration follow the following conventions in the kickstart file:

Quote:
# Use the "GRUB" bootloader, install on the MBR
bootloader --location=mbr --md5pass=$1$7bswo1$fob9vgNLIYi1LkMq4xo631
install
nfs --server cxt --dir /vol/distributed/redhat/3.0_u6/AMD64/WS

# Partition information
clearpart --none
part /boot --onpart=hda1 --size 500
part / --onpart=hda5 --size 10000
part swap --onpart=hda2 --size 32000
part /tmp --onpart=hda3 --size 10000
part /export/home --onpart=hda9 --size 1 --grow



Any and ALL assistance, insight, or guidance on this issue will be and is greatly appreciated!

Regards!
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Wed Aug 27, 2008 6:09 pm    Post subject: Reply with quote

Crossposting will get you banned, so don't try it again please.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum