The virtual machine displays the error "The root file system is already mounted read-write." after startup. What should I do?
Symptom
The virtual machine displays the error "The root file system is already mounted read-write." after startup.
As shown in Figure 1:

Cause
The disk device name has changed, preventing the virtual machine from booting normally.
Solution
-
Log in to the virtual machine console and run the
blkidcommand to query and record the disk UUID. -
Run the
vim /etc/fstabcommand to open the fstab file for editing and mount the disk to the corresponding partition using the UUID.As shown in Figure 2:
