Cannot start new VM: "GRUB_FORCE_PARTUUID set, attempting initrdless boot"

Code:
# pveversion
pve-manager/7.1-8/5b267f33 (running kernel: 5.13.19-2-pve)
 
The VM has been created following basic cloud-init instructions:
* first creating a template
* then cloning

Here list of commands used (here is from another proxmox with the same issue: there the storage is zfs

Code:
VMID=9000
wget https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64-disk-kvm.im
Code:
qm create $VMID --memory 2048 --net0 virtio,bridge=vmbr1
qm importdisk $VMID focal-server-cloudimg-amd64-disk-kvm.img local-zfs
qm set $VMID --scsihw virtio-scsi-pci --scsi0 local-zfs:vm-${VMID}-disk-0
qm set $VMID --ide2 local-zfs:cloudinit
qm set $VMID --boot c --bootdisk scsi0
qm set $VMID --serial0 socket --vga serial0
qm set $VMID --tablet 0
qm set $VMID --onboot 1
qm set $VMID --agent enabled=1
qm set $VMID --ostype l2
qm template $VMID

Code:
NEW_VM_ID=123
qm clone $VMID $NEW_VM_ID --name ubuntu2
qm resize $NEW_VM_ID scsi0 +20G
qm set $NEW_VM_ID --ciuser bluewind
qm set $NEW_VM_ID --cipassword $PASSWORD
# set network
IP=250
qm set $NEW_VM_ID --ipconfig0 ip=10.144.100.${IP}/24,gw=10.144.100.1
Code:
qm start $NEW_VM_ID
 
Last edited:
It has to be something pretty stupid: everything was working fine, the all the sudden I added a new settings and the above receipt return this outcome (cannot start VM)
 
Try using the non-KVM cloud image, e.g.
Code:
wget https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img

It seems counterintuitive, but this was the problem for me.

I was having a hard time switching the kernel in my VM from -kvm to -generic. It sounds dumb but I wasn't aware of the image you mentioned and it solved my problem as well.
 
  • Like
Reactions: Fra