I had an electricity cut while I was upgrading from Ubuntu 10.10 to 11.04, now when booting the system I get the following message:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
Any ideas how to solve this?
I had an electricity cut while I was upgrading from Ubuntu 10.10 to 11.04, now when booting the system I get the following message:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
Any ideas how to solve this?
At the grub boot menu if you type e to
edit
the grub configuration for the line you've selected you'll see a line something like this:The culprit is the
root=UUID=ddbfffc1-731c-4931-9129-75c5f42f8ecb
part which probably still has the old UUID or partition listed. If you know the specific partition you can either set it to something likeroot=/dev/sda1
(or whatever your partition number is) and then type ctrl-x to boot or you can substitute the correct UUID which you can find by booting with a rescue disk and running theblkid
command.If you're lucky and your root partition has been properly labeled then you could also try
root=LABEL=/
.this goes after grub? if yes - you can change yours grub settings for hd and init=/bin/sh and run something like fsck
I had this problem once, way back with... I think it was Ubuntu 7. The Disk UUID's changed, I can't remember why.
I mounted manually, edited /etc/fstab and replaced the UUID entries with actual partitions (eg: /dev/sda1, /dev/sda2 and so on) and rebooted.