VM Will Not Boot
Cheat sheet · https://pcornel.dk/topic.php?topic=3815
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 messagesqm config <vmid> | grep -E 'boot|bios|efidisk'— boot order and firmwareGet-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=scsi0qm 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
| Boundary | What to verify | Evidence limit |
|---|---|---|
| Symptom/scope | Exact failing test, affected VM/host/cluster and incident time are defined | Symptom classification does not identify root cause |
| Observed boundary | Configuration, runtime and counters/logs for this Virtualization Troubleshooting → VM Will Not Boot boundary are time-correlated | One healthy or failed status does not prove adjacent dependencies |
| Adjacent dependency | The next host, storage, network, device, guest or cluster dependency is tested independently | Local success does not prove end-to-end health |
| Verification | The original workload test succeeds after one controlled change and remains healthy in regression checks | Temporary 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