Virtual Machine Kernel Panic : Not Syncing : VFS : Unable To Mount Root FS On Unknown-Block (0,0)

Virtual Machine Kernel Panic : Not Syncing : VFS : Unable To Mount Root FS On Unknown-Block (0,0)

 

This issue appeared in the Linux virtual machines in the VMware environment after upgrading the guest os, Virtual machines were failing after the guest OS shutdown and it was throwing the ” Kernel Panic : Not Syncing : VFS : Unable To Mount Root FS On Unknown-Block (0,0) ” error on the screen.

This is not directly related to the VMware Virtual platform, but I thought it is worth to share this in my site for my Linux users who are working with the Virtual Machines. Upgrading the Operating system is not expected after the os and it’s package update, unfortunately it ended up with this error at the boot. If you reboot the Virtual Machine it might not appear in the screen but it might appear after shutting down the Virtual Machine and restart after a while. I was using a CentOS Linux machine and this is how I fixed the issue.

Kernel Panic : Not Syncing : VFS : Unable To Mount Root FS On Unknown-Block (0,0)

Kernel Panic : Not Syncing : VFS : Unable To Mount Root FS : Error

Try Old Kernel…

So, I tried to use my old kernel to load and it was successful and Operating System loaded without an issue.

Kernel Panic : Not Syncing : VFS : Unable To Mount Root FS : Old Kernel

I logged in as root and checked the available kernels and I removed my updated kernel from the Operating System ( use “rpm -qa kernel” to display the available kernels, and “yum remove <kernel_version>” to remove the kernel)

Let the Virtual Machine to remove the kernel and hit “Y” if it asks in the middle of the removal

Kernel Panic : Not Syncing : VFS : Unable To Mount Root FS : Y

Kernel Panic : Not Syncing : VFS : Unable To Mount Root FS : Removal Completed

Checked the kernel and verified

Kernel Panic : Not Syncing : VFS : Unable To Mount Root FS : Check Kernel

I performed the update again and Virtual Machine installed the removed latest kernel again on the Operating System (Used “yum -y update“)

Kernel Panic : Not Syncing : VFS : Unable To Mount Root FS : re-installing

Once it completed the Virtual Machine I powered of and started to confirm the kernel and newly installed kernel loaded without an issue.

Kernel Panic : Not Syncing : VFS : Unable To Mount Root FS : New Kernel

Note: If You Are Cloning A Virtual Machine Make Sure To Adjust The MAC Address, Read My Previous Post To Find Out How To Do That.

If You Found This Post As Useful Please Rate The Post And Share It!

猜你喜欢

转载自www.cnblogs.com/mouseleo/p/10534500.html