LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0) (http://www.linuxquestions.org/questions/linux-general-1/kernel-panic-not-syncing-vfs-unable-to-mount-root-fs-on-unknown-block-2-0-a-4175450815/)

Victor Leach 02-19-2013 12:30 PM

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
 
Hello,

I started up my CentOS 5.9 cPanel server and this was presented to me.
It seems as though it can't find the hard drive properly, I've done some googling at no result.

VFS: Cannot open root device "sda1" or unknown-block(2,0)
Please append a correct "root=" boot option

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)

- - - grub.conf- - -
default=0
timeout=20
title linux cpanel11_64
kernel /boot/bzImage-2.6.38.2-xxxx-grs-ipv6-64 root=/dev/sda1 ro
root (hd0,0)

Does anyone have any ideas or information that could help?

Thanks a lot :)

Victor

Kustom42 02-19-2013 01:17 PM

This can be caused by a kernel panic, do you have the option of booting to another kernel from your grup menu? Sometimes you have to hold shift down while booting to see the grub menu.

Victor Leach 02-19-2013 01:28 PM

Quote:

Originally Posted by Kustom42 (Post 4895280)
This can be caused by a kernel panic, do you have the option of booting to another kernel from your grup menu? Sometimes you have to hold shift down while booting to see the grub menu.

Yep I did try one of the backup kernels which I found in the boot folder as well as a fresh one I downloaded.

A similar issue has happened before in which SeeksAdmin fixed it. (They seem to be very unresponsive now)
They said the issue was caused by a "bad sector" which was fixed very quickly.

I have just tried running "sudo e2fsck -cfpv /dev/sda1" with no result.

Kustom42 02-19-2013 02:01 PM

If you tried a secondary kernel and are receiving the same hard drive errors it definitely looks like a hardware failure. Do you have a live cd you can boot off of to do some checks on the drive?


All times are GMT -5. The time now is 07:34 AM.