Centos – repair corrupt boot drive

After unexpected shutdown of my Mac, UTM VMs (that were running at that time) failed to start with following message “Entering emergency mode. Exit the shell to continue”,

"Entering emergency mode. Exit the shell to continue" Error

After digging a little it turned out that the problem was a corrupt boot drive.


To fix it:

Restart the VM in UTM

In the boot menu select the rescue boot option

Centos boot options

Now run

xfs_repair -L /dev/mapper/centos-root

Restart the VM again and can use the normal boot option.

3 thoughts on “Centos – repair corrupt boot drive”

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.