# qemu-system-x86_64 ...
SeaBIOS (version 1.15.0-1)
Booting from Hard Disk...
GRUB_FORCE_PARTUUID set, initrdless boot failed. Attempting with initrd.
Linux version <...>
...
# qemu-system-x86_64 ...
SeaBIOS (version 1.15.0-1)
Booting from Hard Disk...
Boot failed: could not read the boot disk
Booting from Floppy...
Boot failed: could not read the boot disk
No bootable device.
With the patch:
# qemu-system-x86_64 ...
SeaBIOS (version 1.15.0-1)
Booting from Hard Disk...
GRUB_FORCE_PARTUUID set, initrdless boot failed. Attempting with initrd.
Linux version <...>
...
Detailed test steps with output:
lxc launch --vm ubuntu:jammy jammy-vm
lxc shell jammy-vm
apt install --yes --no-install- recommends qemu-system-x86 qemu-utils
wget https:/ /cloud- images. ubuntu. com/jammy/ current/ jammy-server- cloudimg- amd64-disk- kvm.img -O jammy.img
qemu-img convert jammy.img jammy.raw
LOOPDEV=$(losetup --find --show --sector-size 4096 jammy.raw) format= raw,cache= none -boot order=c -nodefaults -no-user-config -nographic -serial stdio -enable-kvm
qemu-system-x86_64 -drive file=$LOOPDEV,
Default ("GA") kernel:
# uname -r
5.15.0-1035-kvm
# qemu-system-x86_64 ... PARTUUID set, initrdless boot failed. Attempting with initrd.
SeaBIOS (version 1.15.0-1)
Booting from Hard Disk...
GRUB_FORCE_
Linux version <...>
...
Ubuntu 22.04.2 LTS ubuntu ttyS0
ubuntu login:
HWE kernel (lunar):
# add-apt-repository -y -p proposed recommends linux-generic- hwe-22. 04-edge
# apt install --yes --no-install-
# reboot
# uname -r
6.2.0-23-generic
# qemu-system-x86_64 ...
SeaBIOS (version 1.15.0-1)
Booting from Hard Disk...
Boot failed: could not read the boot disk
Booting from Floppy...
Boot failed: could not read the boot disk
No bootable device.
With the patch:
# qemu-system-x86_64 ... PARTUUID set, initrdless boot failed. Attempting with initrd.
SeaBIOS (version 1.15.0-1)
Booting from Hard Disk...
GRUB_FORCE_
Linux version <...>
...