LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Kernel panic error (https://www.linuxquestions.org/questions/linux-newbie-8/kernel-panic-error-932930/)

kiran.ursal 03-05-2012 10:17 PM

Kernel panic error
 
Hello sir,
Whenever I try to boot my system it giving me following message.

Setuproot:moving /dev failed:no such file or directory
No fstab.sys, mounting internel defaults.
Setuproot:error mounting /proc:no such file or directory
setuproot:error mounting /sys:no such file or directory
Switching to new root running init
unmounting old /dev
unmounting old /proc
unmounting old /sys

error opening /dev/console:no such file or directory
trying to use fd 0 insted
Warning:can't access(NULL)
exec of init ((NULL)) failed!!!:bad address
Kernel panic-Not syncing:Attempt to kill init.

please help me.

amilo 03-06-2012 04:03 AM

Boot with a rescue cd and test your filesystem.

Satyaveer Arya 03-06-2012 04:13 AM

Boot into the rescue mode and try to mount those partitions. And you may need to fix grub also.
Also check /etc/grub.conf,/etc/inittab files for correct entries in rescue mode.

kiran.ursal 03-06-2012 01:19 PM

actually i have already try in rescue mode. But even it not work

DoctorZeus 03-06-2012 03:43 PM

Quote:

Originally Posted by kiran.ursal (Post 4620106)
actually i have already try in rescue mode. But even it not work

If I understand you correctly even the rescue disk is not allowing you to mount system partitions, can you post the output you get when trying to mount the partitions on the rescue disk?

If this is the case then it is possible your partition table may be corrupt or you HDD may be failing, try using the 'fsck' program on your HDD and report back what it says..

Hope this helps!

DoctorZeus

kiran.ursal 03-06-2012 09:54 PM

actually I have this kernel panic since last two weeks to solve it when I go in rescue mode it give me message that there is no linux partition in your disk and shell prompt appear means my system not mount that time.
Due to this I try to mount all this partition in my another disk which has ubuntu.that time out of 5 partition two vfat and my /boot partion get mounted properly but when i try to mount my / partition it give me error that bad magic number or superblock were corrupted ,so I have recover it successfully using fsck.ext3 /dev/hdc2.
After this I am successfully able to mount my / partition
all of my files are get recover in lost+found folder.I thought as my all data and system get recover my system will start normaly .but that not happens my system give me same error of kernel panic.so afterthis
Whenever I try rescue mode it gives me same error that there is no active linux partition on your disk and after that shell prompt appear.
Pleas help me.


All times are GMT -5. The time now is 05:49 AM.