VM Boot Stuck with "Booting from Hard Disk" Console Message with VM status ACTIVE on the console.
ACTIVE
The VM Image is built to set boot in UEFI mode, not legacy BIOS which is default.
Verify the VM is running and VM Status shows active on the PCD GUI.
Run:
sudo qemu-nbd --connect=/dev/nbd0 <IMAGE_NAME>.qcow2
If the above command fails with the error:
qemu-nbd: Failed to open /dev/nbd0: No such file or directory
then load the nbd kernel module:
sudo modprobe nbd max_part=8
Then retry:
Check if any disk has type "EFI" (which indicates the qcow2 image is set to boot in UEFI mode):
sudo fdisk -l /dev/nbd0
When finished, disconnect:
sudo qemu-nbd --disconnect /dev/nbd0
These steps are applicable only when the Diagnostics step that inspects partitions shows any disk with type "EFI".
Using the PCD GUI edit the image properties (VM → Images → Select Image → Edit properties) and add the following values:
hw_firmware_type=uefi hw_machine_type=q35
Rebuild the VM using the updated image properties.
Check if the VM boots successfully.
If these steps prove insufficient to resolve the issue, reach out to the Platform9 Support Teamarrow-up-right for additional assistance.
Last updated 4 days ago
Was this helpful?