LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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-08-2007, 04:42 AM   #1
raklo
Member
 
Registered: Apr 2006
Posts: 143

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


hi all,
when i m booting a kernel 2.6.11.1 based system,on grub bootloader,i m getting the error message
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 linuxrc script,(inside the initrd image is )

Code:
#!/bin/nash

mount -t proc /proc /proc
setquiet
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
/sbin/udevstart
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
/sbin/udevstart
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

ANY INPUT IS APPRECIATED
regards
rakesh

Last edited by reddazz; 01-08-2007 at 10:04 PM. Reason: correct typos on error message
 
Old 05-28-2007, 09:02 AM   #2
iquest
LQ Newbie
 
Registered: May 2007
Posts: 1

Rep: Reputation: 0
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!
 
  


Reply



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!! raklo Linux - Kernel 2 01-03-2007 11:57 PM
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 04:41 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration