CentOS - Kernal Panic -not syncing Attempted to Kill init
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
CentOS - Kernal Panic -not syncing Attempted to Kill init
HI I have a Dell 1900 running CentOS 2.6.18-194.11.3.el5.centos.plus.
I was unable to access the server and had to reboot it. When the server was booting after the Grub, it errored out with
Kernal Panic -not syncing Attempted to Kill init!!
exec of init (/sbin/init/) failed No such directory
I reboot into the recuse mode from the CD and when looking for the installed OS.
I got an error like this
Found OS but with errors. Mounting part or all of your system at /mnt/sysimage.. something of the sort. I've run fsk -y on the /boot and root drives and rebooted but still the same issues.
Here is my grub.conf:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/sda3
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-194.11.3.el5.centos.plus)
root (hd0,0)
kernel /vmlinuz-2.6.18-194.11.3.el5.centos.plus ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.18-194.11.3.el5.centos.plus.img
title CentOS (2.6.18-194.11.1.el5.centos.plus)
root (hd0,0)
kernel /vmlinuz-2.6.18-194.11.1.el5.centos.plus ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.18-194.11.1.el5.centos.plus.img
title CentOS (2.6.18-128.1.14.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-128.1.14.el5 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.18-128.1.14.el5.img
I've also tried to chroot /mnt/sysimage /bin/bash but I get and error of no such file or directory
I can see my files under /mnt/sysimage and everything seems to be intact.
Suspect some kind of filesystem corruption or partition damage. Possibly even Hard Drive failure?
When in Rescue mode (from the CD) - Choose Continue.
Before running 'chroot /mnt/sysimage'
Run:
# df -h
# fdisk -l
Please paste the output here so we can help figure it out.
Try to look at smartd logs or what ever hwmonitor you might have for your drives. I does sound like file system corruption. But indeed you could have a failed hd.
Disk /dev/sdb: 31.4 GB, 31457280000 bytes
255 heads, 63 sectors/track, 3824 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 13 104391 83 Linux
/dev/sdb2 14 535 4192965 82 Linux swap / Solaris
/dev/sdb3 536 3824 26418892+ 83 Linux
Disk /dev/sdc: 1215.4 GB, 1215425413120 bytes
255 heads, 63 sectors/track, 147767 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 147767 1186938396 83 Linux
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 60801 488384001 c W95 FAT32 (LBA)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.