Pcornel
Virtualization · Virtualization Troubleshooting

VM Will Not Boot

Cheat sheet · https://pcornel.dk/topic.php?topic=3815

Back to the Topic

Answer

Treat runtime creation and guest boot as separate layers: VM Running → virtual firmware → boot order/device discovery → virtual controller/disk path → bootloader/kernel/OS → login/service readiness.

Remember

  • VM Running ≠ guest booted; it only proves the virtual machine runtime exists.
  • Virtual disk attached ≠ bootable disk; firmware mode, controller type, boot order and guest boot metadata still matter.
  • Console output ≠ application readiness; a guest may boot partially and still fail services or networking.
  • Changing firmware/controller/disk attachment can alter guest device identity and should not be done before capturing the original state.

First checks

  • virsh console <vm> / qm terminal <vmid> — see boot messages
  • qm config <vmid> | grep -E 'boot|bios|efidisk' — boot order and firmware
  • Get-VMFirmware <vm> — Hyper-V boot order and Secure Boot

Commands

qm status <vmid> --verbose
Operational command for Inspect Proxmox VM status before start. Focus fields: VM status, lock and runtime state.
qm set 101 --boot order=scsi0
qm set 101 --ide2 local:iso/rescue.iso,media=cdrom --boot order=ide2

Verify in this order

firmware → boot loader → kernel → drivers → OS

Where it usually breaks

First mismatch in management intent → host/cluster capability → hypervisor runtime/task → virtual resource/device → guest state → workload-visible read-back; preserve identity/native error/pre-state before mutation.

Virtualization Troubleshooting → VM Will Not Boot troubleshooting map

BoundaryWhat to verifyEvidence limit
Symptom/scopeExact failing test, affected VM/host/cluster and incident time are definedSymptom classification does not identify root cause
Observed boundaryConfiguration, runtime and counters/logs for this Virtualization Troubleshooting → VM Will Not Boot boundary are time-correlatedOne healthy or failed status does not prove adjacent dependencies
Adjacent dependencyThe next host, storage, network, device, guest or cluster dependency is tested independentlyLocal success does not prove end-to-end health
VerificationThe original workload test succeeds after one controlled change and remains healthy in regression checksTemporary recovery alone is not durable proof

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3815

Confirmation

Confirm action

Continue?