-   Linux - Kernel (
-   -   exec of init (/sbin/init) failed!!! 2 (

raklo 01-08-2007 04:42 AM

exec of init (/sbin/init) failed!!! 2
hi all,
when i m booting a kernel based system,on grub bootloader,i m getting the error message

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 linuxrc script,(inside the initrd image is )



mount -t proc /proc /proc
echo Mounted /proc filesystem
echo Mounting sysfs
mount -t sysfs none /sys
echo Creating /dev
mount -o mode=0755 -t tmpfs none /dev
mknod /dev/console c 5 1
mknod /dev/null c 1 3
mknod /dev/zero c 1 5
mknod /dev/hdc1 b 22 1
mkdir /dev/pts
mkdir /dev/shm
echo Starting udev
echo -n "/sbin/hotplug" > /proc/sys/kernel/hotplug
#echo "Loading jbd.ko module"
#insmod /lib/jbd.ko
#echo "Loading ext3.ko module"
#insmod /lib/ext3.ko
echo Creating root device
#mkrootdev /dev/root
umount /sys                                                                            echo Mounting root filesystem
mount -o defaults --ro -t ext2 /dev/hdc1 /sysroot
echo Mounted root xxxxxxxx
mount -t tmpfs --bind /dev /sysroot/dev
echo Switching to new root
switchroot /sysroot
echo switchroot successfull
umount /initrd/dev

as my partition(/dev/hdc1) has already been formatted with ext2 fs,i have disabled the insmod of ext3.ko and jbd.ko.

wht is the problem with the system


iquest 05-28-2007 09:02 AM

mount error
when I try to boot our Linux ES 4 it does not seem to mount filesystems the error is as follows;

mount: error 2 mounting none
WARNING: cant access (null)
umount /initrd/dev failes
Kernel panic - not syncing: Attempted to kill init!

All times are GMT -5. The time now is 11:47 AM.