Use it when the symptom is “VM Will Not Boot”: work through the layers in order and stop at the first one that fails.
VM Will Not Boot
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.
1. VM runs but OS doesn't boot: boot order, firmware type (BIOS vs UEFI), missing driver, Secure Boot.
2. Watch the console.
3. Check disk and controller type.
4. Rescue ISO to repair.
5. Compare with backup.
firmware → boot loader → kernel → drivers → OS
Context & applicabilityCommon mistakes · platform/version boundaries
If the VM runtime exists but firmware or the boot device cannot hand off to the guest OS, this is a boot-path failure rather than a VM-start failure.
Operational reference
Fast context before you go deeper.
qm status <vmid> --verbosePrimary Commands
Configuration and operational commands for this Topic.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
VM Running → firmware → boot order/device → virtual controller/disk → bootloader/kernel → guest OS → services/workload
Step 2 Diagnosis Narrow the fault
VM Will Not Boot — discriminating diagnosis for Virtualization Troubleshooting → VM Will Not Boot.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- 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.
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
ReferenceHow it works1 section · depth on demand
How it works
VM Will Not Boot — state ownership for Virtualization Troubleshooting → VM Will Not Boot.
ReferenceImportant terms & boundaries3 sections · depth on demand
What this shows and what it does not
If the VM runtime exists but firmware or the boot device cannot hand off to the guest OS, this is a boot-path failure rather than a VM-start failure.
In depth
Separate "won't start" from "won't boot"
The VM process starts (console opens) but the OS does not come up. The cause is inside the virtual hardware or the guest disk, not the hypervisor.
| Console shows | Likely cause | Fix |
|---|---|---|
No bootable device (SeaBIOS) | Boot order, disk not attached, or disk made for UEFI | qm set 101 --boot order=scsi0; check bios setting |
UEFI shell / BdsDxe: failed to load Boot0001 | OVMF boot entry lost (no EFI disk, NVRAM reset) | Add --efidisk0; boot entry via UEFI menu or reinstall bootloader |
Windows INACCESSIBLE_BOOT_DEVICE | Disk controller changed (IDE/SATA → VirtIO SCSI) without driver | Revert controller, install VirtIO storage driver, then change |
Linux drops to initramfs / dracut shell | Root disk not found: controller change, UUID change, missing virtio modules | Revert, or rebuild initramfs with virtio drivers |
| Secure Boot violation | Unsigned bootloader/kernel with pre-enrolled keys | Disable pre-enrolled keys or sign components |
| Hangs early after migration from VMware/Hyper-V | Old hardware drivers, wrong firmware type | Match firmware (BIOS vs UEFI), clean up drivers |
The Proxmox VM chapter covers firmware choice (SeaBIOS or OVMF) and notes that PCIe passthrough generally needs the Q35 machine type and OVMF — mismatches between the guest's installed bootloader and the VM's firmware are a frequent cause.
Check the configuration against how the guest was installed
qm config 101 | grep -E 'bios|efidisk|machine|boot|scsihw|scsi0|sata0|ide0'
A guest installed in UEFI mode cannot boot with bios: seabios, and vice versa.
Repair access
Attach a rescue ISO (qm set 101 --ide2 local:iso/rescue.iso,media=cdrom --boot order=ide2) or inspect the disk offline from the host with virt-rescue / guestfish (libguestfs). Snapshot or back up the disk before repairs that write to it.
Method
VM powers on but the OS does not boot:
| Symptom | Check |
|---|---|
| "No bootable device" / PXE loop | Boot order, disk attached to right controller, BIOS vs UEFI mismatch |
| Windows INACCESSIBLE_BOOT_DEVICE | Controller changed without driver (IDE→SCSI, LSI→PVSCSI, SATA→VirtIO) |
| Secure Boot violation | Wrong Secure Boot template (Linux on Hyper-V), unsigned boot loader |
| Linux drops to emergency shell | fstab UUID changed, missing initramfs driver for new controller |
| Grub rescue | Partition/disk order changed |
Attach the disk temporarily to the old controller type, install the needed driver, then switch. Use the VM console, not SSH/RDP, to see boot messages; a serial console helps on Linux.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Virtualization Troubleshooting → VM Will Not Boot. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://libvirt.org/docs.html · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Virtualization Troubleshooting → VM Will Not Boot troubleshooting map
Fast fault-isolation boundaries and proof limits for Virtualization Troubleshooting → VM Will Not Boot.
| 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 |