LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Redhat 4 Nahant Update 7 (https://www.linuxquestions.org/questions/red-hat-31/redhat-4-nahant-update-7-a-781789/)

sbilgen 01-12-2010 03:33 PM

Redhat 4 Nahant Update 7
 
Hello all i have a urgent deadlock i did have an redhat v4 nahant update 4 and in some cases we take action on installing nahant update 7 to our x86 64 platfrom. Installation was successfull but when we restarted system it wouldnt boot.

Current System Levels are .
uname -r
2.6.9-78.EL
uname -a
Linux localhost.localdomain 2.6.9-78 EL #1 Wed ... DatE TIme EDT 2008 i686 i686 i386 GNU/Linux

uname -p
i686

cat /etc/redhat-release

Redhat Enterprise Linux AS Release 4 ( Nahant Update 7)

grub.conf file

# NOTICE: You have a /boot partition. This means that
# all kernel paths are relative to /boot/
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz

title Red Hat Enterprise Linux AS (2.6.9-78.EL)
root (hd0,0)
kernel /vmlinuz-2.6.9-78.EL ro root=/dev/rootvg/lvroot rhbg quiet
initrd /initrd-2.6.9-78.EL.img

In this case i have stucked while restarting system.

PCI : Probing PCI hardware ( bus 00)

I dont know how to proceed or rollback could some one please advise.?

DrLove73 01-12-2010 06:08 PM

What happened with older kernels? Or/and backup of the grub.conf file that you had before the update?

Yuo will need to boot from Installation CD using "linux rescue" and when booting is finished and filesystems are recognized you will have to copy older kernel to "/mnt/sysimage/" folder, run
Code:

chroot /mnt/sysimage/
and then install older kernel you from that rpm with
Code:

rpm -ivh kernel-2.6.9-xxxxxx.rpm
, or
Code:

rpm -Uvh kernel-2.6.9-xxxxxx.rpm
if install does not complete.

Then optionally backup and then edit (still from chroot) /boot/grub/grub.conf to boot older kernel by default.

sbilgen 01-13-2010 03:38 AM

Quote:

Originally Posted by DrLove73 (Post 3824419)
What happened with older kernels? Or/and backup of the grub.conf file that you had before the update?

Yuo will need to boot from Installation CD using "linux rescue" and when booting is finished and filesystems are recognized you will have to copy older kernel to "/mnt/sysimage/" folder, run
Code:

chroot /mnt/sysimage/
and then install older kernel you from that rpm with
Code:

rpm -ivh kernel-2.6.9-xxxxxx.rpm
, or
Code:

rpm -Uvh kernel-2.6.9-xxxxxx.rpm
if install does not complete.

Then optionally backup and then edit (still from chroot) /boot/grub/grub.conf to boot older kernel by default.


Thanks for kindly reply DrLove73,

I did returned from kernel but in order to re boot i have to reconfigure grub configuration in boot time i de select older image vmlinuz-2.6.9-42.EL but in the boot time kernel panic occurs do you know how to reconfigure grub especially the hdd(0) is some how wrong.

DrLove73 01-14-2010 04:13 AM

When you are in "linux rescue" mode, go to /mnt/sysimage/boot/grub folder and edit grub.conf. Either change "default=0" line to some other number or reorder the text below ("title" is section start). Also comment out the "hiddenmenu" line so you can see all the menu choices, and change the "timeout=5" to larger number so you can have more time to select older kernel from menu (it is in seconds).


All times are GMT -5. The time now is 12:50 PM.