Failed to Execute Init. No Init found.
Am running RHEL 6.0 and recently installed the new kernel rpms by following the steps mentioned here : http://www.linuxtopia.org/online_boo...m-upgrade.html
I did install rather than update so now I have two different entries for each kernel in the boot loader.
Initramfs was created successfully as part of install and the entry in grub.conf has also come good.
But when I select the new kernel at the grub, I get an error which reads something like this:
Failed to execute Init.
No Init found.
Am able to successfully boot the old kernel.
I checked the entry in the grub.conf and its exactly as the old kernel entry except for the version number.
I searched for this error and found some suggestions like add 3 to the grub entry, add init=/sbin/init, create initramfs manually using dracut but none of these worked for me.
If it can't find /sbin/init I'm going to guess the non-working kernel has the wrong boot device in its definition.
My grub.conf file is as shown below:
# 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/sda9
# initrd /initrd-[generic-]version.img
title Red Hat Enterprise Linux Server (2.6.32-279.1.1.el6.x86_64)
kernel /vmlinuz-2.6.32-279.1.1.el6.x86_64 ro root=UUID=9753f5c8-80e9-48d4-869e-11c7d1e317cb rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=auto
title Red Hat Enterprise Linux (2.6.32-71.el6.x86_64)
kernel /vmlinuz-2.6.32-71.el6.x86_64 ro root=UUID=9753f5c8-80e9-48d4-869e-11c7d1e317cb rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=auto rhgb quiet
Entries are same for both the kernel except the version number difference and also I removed the 'quiet' option from the failing kernel to see if I can get some more logs.
Can I ask why you went for the Manual upgrade instead of 'Use Yum to Install Kernels Whenever Possible' as advised in that chapter?
|All times are GMT -5. The time now is 02:09 AM.|