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!

Click to rate this post!
[Total: 12 Average: 4.3]

2 responses

  1. Rajan Jha Avatar
    Rajan Jha

    I faced the same issue it is basically memory related issue …..i increased the memory to 20 gb in my VMWare and tried re-installing it and it worked fine.

    1. Aruna Lakmal Avatar

      Hi Rajan

      Thank you for your reply! Re-installing your OS? I don’t think that it might be a feasible solution in many cases. I have encountered this in many time after the patch updates and this is how I resolve the issue. Try next time and see whether this will help you to fix it. 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *