Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Redhat / Fedora Linux Help
Reload this Page exec of init (/sbin/init) failed!!
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Redhat / Fedora Linux Help Help and discussion related to Redhat and Fedora Linux.

Reply
 
Thread Tools Display Modes
Old 01-08-2007   #1 (permalink)
raklo
Just Joined!
 
Join Date: Jul 2006
Posts: 6
exec of init (/sbin/init) failed!!

hi all,
i m using linux kernel 2.6.11.1,and initrd created from mkinitrd.
but when im bootingin the system,i get the below mentioned problems

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 !
is there any specific problem with exec of init,why does it fail.
my linuxrc script is as follows

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
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
~
raklo is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 10:21 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0