How to change the disk label to disable the agent

How to change the disk label to disable the agent

Challenge

The machine can't mount a disk and boot because a previous label is written in fstab.

Cause

This happens because the boot partition label was updated during the P2V conversion, but fstab entry points to the old label.

Solution

1. Type your root password and press "enter" to log into a maintenance session.

2. Run the "blkid" command to find UUID of the boot partition. This partition is labeled "hx_lock":



3. Open /etc/fstab file with a text editor of your choice. The boot partition has a label that does not exist anymore:


4. Replace "LABEL=<label>" to "UUID=<uuid>" using the UUID you got from "blkid":


5. Save your changes and reboot.