LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   exec of init (/sbin/init) failed!! (https://www.linuxquestions.org/questions/linux-kernel-70/exec-of-init-sbin-init-failed-516086/)

raklo 01-03-2007 11:02 PM

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

rnturn 01-03-2007 11:43 PM

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

raklo 01-03-2007 11:57 PM

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???


All times are GMT -5. The time now is 09:05 AM.