Upon trying to upgrade from 10.10 to 11.04 all seemed to go well until the restart. This error message is what comes up:
Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
How do we fix that?
|
|
You are missing the initramfs for that kernel. Choose another kernel from the grub menu, or run |
|||||||||||||||||||||
|
|
Start with a livecd, open a a terminal
and now you can make
If you don't know your version. Use:
And just update Grub.
Reboot your system. |
|||||||||||||||||||||
|
|
In my situation the problem was that I resolved the issue by booting into the oldest kernel installed, and removing some unused kernels using aptitude. By using aptitude, after the uninstall had happened, dpkg automatically tried to configure the broken packages, and this time succeeded. |
|||||||||||||||||
|
|
In case this happened after an aborted kernel update (e.g. system crash while
This will complete the upgrade, including configuring the boot settings as psusi explains. |
|||
|
|
|
In addition to Tomeu's instructions, before chroot I needed to:
Additionally, after the chroot:
|
|||||
|
|
You can also boot the server in rescue mode, and reinstall only the grub http://info.w3calculator.com/free-code/linux/recover-from-corrupted-boot-image/ |
|||
|
|
|
I got this problem due to my /boot partition was full so my kernel updates had failed. I managed to fix this by booting from an old kernel in the GRUB menu. When managed to boot I began purging old kernels, but I had manage to get some dependency issues so first I had to uninstall linux-server package
Then I rebooted and everything was working fine! |
|||
|
|
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?