[SOLVED] one VM stuck at "Booting from hard disk" after import from 7 to 8


Apr 7, 2022
Hi folks,

I backed up all my VMs & LXCs on a Proxmox 7 host, swapped out a couple disks in the machine and installed Proxmox 8 fresh.

Upon importing all my backups, everything works fine except a single VM which is stuck at "Booting from hard disk". Strangely, even closely related VMs (cloned at one point) work fine, it is just the one which won't boot. I booted from a rescue .iso in said VM, which came up fine, and the filesystem on the virtual disk is intact and mounts without complaint or fsck.

I noted when looking at the config file for this VM that there is a swap disk which was set to 'backup=0' which, of course, did not make it into the backup. Attempting to add a similar disk has no effect on the bootability of the VM, and anyway, a number of other VMs which are booting fine also had swap disks like this.

The swap disk was also still referenced in boot order despite not being backed up (and hence not restored), removing it from boot order had no effect however, and this is also true of other VMs that are booting fine.

Finally, I have an additional backup of the same VM from a day before, which also gets stuck at 'booting from hard disk' when restored.

Here is the VM's .conf file just after being restored before any tinkering is done.

#wordpress on lamp8
#scsi1%3A local-lvm%3Avm-108-disk-1,backup=0,discard=on,iothread=1,size=2G,ssd=1
agent: 1
balloon: 0
boot: order=scsi1;scsi0;ide2;net0
cores: 2
cpu: Skylake-Client-noTSX-IBRS
cpuunits: 3072
ide2: none,media=cdrom
machine: q35
memory: 2048
meta: creation-qemu=7.2.0,ctime=1680849085
name: hang10
net0: virtio=5A:90:35:90:BC:BC,bridge=vmbr0,firewall=1
numa: 1
onboot: 1
ostype: l26
scsi0: local-lvm:vm-108-disk-0,discard=on,iothread=1,size=15G,ssd=1
scsihw: virtio-scsi-single
smbios1: uuid=268e2cf2-aa17-4837-8be2-666ed121f6a6
sockets: 1
startup: order=27,up=15
vga: qxl
vmgenid: 52606fd0-2dbf-4add-b6c4-d8071d61941f

Edit: Although I'm not positive, I think the problem was that GRUB had somehow gotten installed to the (not backed up and now missing) 2GB swap disk. I downloaded 'boot repair disk' and it installed GRUB to the primary virtual disk and the VM now boots fine.
Last edited:


The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!