LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 01-03-2007, 11:02 PM   #1
raklo
Member
 
Registered: Apr 2006
Posts: 143

Rep: Reputation: 15
exec of init (/sbin/init) failed!!


hi all,
i have a 2.6.11.1 kernel, and when i boot with the GRUB bootloader,the booting seems to be fine until the switchroot takes place.
this is when the following error occurs
can anyone tell wot the prob is ,and wot shud i do for that????


Code:
Red hat Nash version starting
Mounted /prod filesystem
Mounting sysfs
Creating /dev
Starting udev
Creating root device
Mounting root filesystem
Switching to new root
exec of init (/sbin/init) failed !!!:2
umount /initrd/dev failed :2
Kernel panic -  not syncing: Attempted to kill init !
ANY INPUT IS APPRECIATED

Last edited by raklo; 01-03-2007 at 11:26 PM.
 
Old 01-03-2007, 11:43 PM   #2
rnturn
Member
 
Registered: Jan 2003
Location: Illinois (Chicago area)
Distribution: Red Hat (8.0), SuSE (10.x, 11.x, 12.2), Solaris (8-10), Tru64
Posts: 914

Rep: Reputation: 45
Quote:
Originally Posted by raklo
hi all,
i have a 2.6.11.1 kernel, and when i boot with the GRUB bootloader,the booting seems to be fine until the switchroot takes place.
this is when the following error occurs
can anyone tell wot the prob is ,and wot shud i do for that????

Code:
Red hat Nash version starting
Mounted /prod filesystem
Mounting sysfs
Creating /dev
Starting udev
Creating root device
Mounting root filesystem
Switching to new root
exec of init (/sbin/init) failed !!!:2
umount /initrd/dev failed :2
Kernel panic -  not syncing: Attempted to kill init !
The last time I recall seeing something like that (a couple of years ago) was when I built a kernel and either forgot to include support in the kernel for the type of filesystem that contained the root filesystem or I forgot to rebuild initrd. Did this occur after a recompilation of your kernel? Do you have a failsafe boot option so that you have a way to get something booted?

--
rt
 
Old 01-03-2007, 11:57 PM   #3
raklo
Member
 
Registered: Apr 2006
Posts: 143

Original Poster
Rep: Reputation: 15
thanx for reply,
the media that i m using is compact flash drive,
the root filesystem that i created was by copying / directory of a working linux system(i.e my harddisk).

i copied / from hardisk to an ext3 formatted partition of compact flash, and
then i used kernel and initrd from my harddisk,

as i've used working kernel image,it ahs to have support of the ext3 filesystem.

nything that i shd try???
 
  


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
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2 linuxhippy Slackware 2 08-28-2006 04:17 AM
Chkroot scan - /sbin/init & /sbin/ifconfig INFECTED bicoba Linux - Security 4 06-07-2006 09:16 AM
FC4 kernel panic /sbin/init failed markelo Fedora 3 02-16-2006 04:54 PM
Failed to exec /sbin/modprobe scrawper Slackware 3 10-25-2004 05:05 AM
kmod : Failed to exec /sbin/modprobe urzumph Linux - General 3 03-23-2004 09:18 PM


All times are GMT -5. The time now is 04:27 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