LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   kernel panic - not syncing : Attepted to kill init !! (https://www.linuxquestions.org/questions/linux-newbie-8/kernel-panic-not-syncing-attepted-to-kill-init-770391/)

vinaytp 11-20-2009 03:26 AM

kernel panic - not syncing : Attepted to kill init !!
 
Hi all...

I am getting following error when i try to boot fedora 9, I am getting this error even in single user mode

Code:

init: Error parsing configuraion: Input/Output error
kernel panic - not syncing : Attepted to kill init !!

Actually I was trying to create a new logical volume using lvcreate command in single user mode, after lvcreate i executed following

mkfs -t ext3 /dev/mapper/VolGroup00/lvo10
mount -t ext3 /dev/volgroup00/lvo10 /home

reboot

after this whenever i am trying to boot fedora i am getting following error....

JohnGraham 11-20-2009 03:44 AM

Quote:

Originally Posted by vinaytp (Post 3763639)
Hi all...

I am getting following error when i try to boot fedora 9, I am getting this error even in single user mode

Code:

init: Error parsing configuraion: Input/Output error
kernel panic - not syncing : Attepted to kill init !!

Actually I was trying to create a new logical volume using lvcreate command in single user mode, after lvcreate i executed following

mkfs -t ext3 /dev/mapper/VolGroup00/lvo10
mount -t ext3 /dev/volgroup00/lvo10 /home

reboot

after this whenever i am trying to boot fedora i am getting following error....

It sounds like init cannot read the inittab file, at least not correctly - maybe it references something under /home/? Sounds unlikely, though...

Anyway, first thing to do is get a shell running on your system. I assume you have grub as a bootloader - if not, you need to find out how to pass the option "init=/bin/bash" (or /bin/csh or whatever you normally use) to the kernel at boot-time. With grub:

1) At the bootloader menu, select the kernel you usually boot from and press 'e'

2) Go to the line that starts with 'kernel' and press 'e'

3) This should allow you to append the argument "init=/bin/whateversh" to the kernel boot arguments. Press enter to confirm, then 'b' to use that configuration to boot.

You should now have a workable shell (just about). Could you use this to get and post the contents of /etc/inittab here?

John G


All times are GMT -5. The time now is 10:51 PM.