j***@hotmail.com
2009-04-30 23:27:26 UTC
hello group, I have a centos server 4.7 running on init=3
this box has(had) 2.6.9-78.0.8.EL installed, when I tried to upgrade first
to 2.6.9-78.0.13.EL and later to 2.6.9-78.0.17.EL I always get
"Kernel panic: No init found. Try passing init=option" on reboot. I have
searched but not found why yet. This is the only error displayed.
Can someone tell me at least where else to look, please, I have gone from
reinstalling grub, recreating MBR (no dual boot here so I think I
did not need it) and recreating initrd.img. all failed to address the issue,
somehow the image gets corrupted. I ended up making a copy of
2.6.9-78.0.8.EL.img and renamed it 2.6.9-78.0.17.EL.copy-of-8.img
The system now boots and correctly displays uname -r as 2.6.9-78.0.17.EL but
I consider this a temporary solution. I am afraid when next kernel package
is released I will see myself in the same situation. Will the present fix
create bigger problems later on?
could this be a possible reason?
I removed all older kernel packages after the upgrade to 2.6.9-78.0.8.EL. At
the time there were no errors or signs of something wrong until I tried to
upgrade kernel as explained above to 13.EL.
I have provided below info I think you may need to help me. thank you for
your time.
grub.conf
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.9-78.0.17.EL)
root (hd0,0)
kernel /vmlinuz-2.6.9-78.0.17.EL ro root=/dev/VolGroup00/LogVol00 rhgb
irqfixup
initrd /initrd-2.6.9-78.0.17.EL.copy-of-8.img
title CentOS (2.6.9-78.0.8.EL)
root (hd0,0)
kernel /vmlinuz-2.6.9-78.0.8.EL ro root=/dev/VolGroup00/LogVol00 rhgb
irqfixup quiet
initrd /initrd-2.6.9-78.0.8.EL.img
lvm version
LVM version: 2.02.37-RHEL4 (2008-06-06)
Library version: 1.02.25-RHEL4 (2008-04-11)
Driver version: 4.5.5
fdisk -l
Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 9729 78043770 8e Linux LVM
df -hT
Filesystem Type Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
ext3 73G 18G 53G 25% /
/dev/hda1 ext3 99M 20M 75M 21% /boot
none tmpfs 94M 0 94M 0% /dev/shm
this box has(had) 2.6.9-78.0.8.EL installed, when I tried to upgrade first
to 2.6.9-78.0.13.EL and later to 2.6.9-78.0.17.EL I always get
"Kernel panic: No init found. Try passing init=option" on reboot. I have
searched but not found why yet. This is the only error displayed.
Can someone tell me at least where else to look, please, I have gone from
reinstalling grub, recreating MBR (no dual boot here so I think I
did not need it) and recreating initrd.img. all failed to address the issue,
somehow the image gets corrupted. I ended up making a copy of
2.6.9-78.0.8.EL.img and renamed it 2.6.9-78.0.17.EL.copy-of-8.img
The system now boots and correctly displays uname -r as 2.6.9-78.0.17.EL but
I consider this a temporary solution. I am afraid when next kernel package
is released I will see myself in the same situation. Will the present fix
create bigger problems later on?
could this be a possible reason?
I removed all older kernel packages after the upgrade to 2.6.9-78.0.8.EL. At
the time there were no errors or signs of something wrong until I tried to
upgrade kernel as explained above to 13.EL.
I have provided below info I think you may need to help me. thank you for
your time.
grub.conf
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.9-78.0.17.EL)
root (hd0,0)
kernel /vmlinuz-2.6.9-78.0.17.EL ro root=/dev/VolGroup00/LogVol00 rhgb
irqfixup
initrd /initrd-2.6.9-78.0.17.EL.copy-of-8.img
title CentOS (2.6.9-78.0.8.EL)
root (hd0,0)
kernel /vmlinuz-2.6.9-78.0.8.EL ro root=/dev/VolGroup00/LogVol00 rhgb
irqfixup quiet
initrd /initrd-2.6.9-78.0.8.EL.img
lvm version
LVM version: 2.02.37-RHEL4 (2008-06-06)
Library version: 1.02.25-RHEL4 (2008-04-11)
Driver version: 4.5.5
fdisk -l
Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 9729 78043770 8e Linux LVM
df -hT
Filesystem Type Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
ext3 73G 18G 53G 25% /
/dev/hda1 ext3 99M 20M 75M 21% /boot
none tmpfs 94M 0 94M 0% /dev/shm