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

时间:2023-03-08 22:21:28

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

33192

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)

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

Try Old Kernel…

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

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

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)

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

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

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)

Checked the kernel and verified

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

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

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

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

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

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!