LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 11-19-2012, 07:32 AM   #1
ihjaz
LQ Newbie
 
Registered: Nov 2012
Posts: 3

Rep: Reputation: Disabled
Question Failed to Execute Init. No Init found.


Hi All,

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.
 
Old 11-19-2012, 10:54 AM   #2
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 759
Blog Entries: 2

Rep: Reputation: 196Reputation: 196
If it can't find /sbin/init I'm going to guess the non-working kernel has the wrong boot device in its definition.

http://www.gnu.org/software/grub/manual/grub.html#root
 
Old 11-20-2012, 12:52 AM   #3
ihjaz
LQ Newbie
 
Registered: Nov 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
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
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux Server (2.6.32-279.1.1.el6.x86_64)
root (hd0,0)
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
initrd /initramfs-2.6.32-279.1.1.el6.x86_64.img
title Red Hat Enterprise Linux (2.6.32-71.el6.x86_64)
root (hd0,0)
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
initrd /initramfs-2.6.32-71.el6.x86_64.img


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.
 
Old 11-20-2012, 01:09 AM   #4
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,261

Rep: Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028
Can I ask why you went for the Manual upgrade instead of 'Use Yum to Install Kernels Whenever Possible' as advised in that chapter?
 
Old 11-20-2012, 03:02 AM   #5
ihjaz
LQ Newbie
 
Registered: Nov 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Can I ask why you went for the Manual upgrade instead of 'Use Yum to Install Kernels Whenever Possible' as advised in that chapter?
That's because I do not have Red Hat Network subscription. I got the rpms from another team in my organization that had the subscription.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
exec of init (/sbin/init) failed!!! Permission dened kernel-panic - not syncing! charlztin88 Linux - Newbie 1 03-15-2011 03:17 PM
kernal panic no init found try passing init option to kernel m2azer Linux - General 3 11-08-2007 01:51 PM
exec of init (/sbin/init) failed!!! kernel panic KiraII Linux - Kernel 1 07-13-2007 09:07 PM
error "Kernel panic: No init found. Try passing init= option Anauj0101 Linux - Newbie 3 05-06-2003 10:18 PM


All times are GMT -5. The time now is 02:00 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration