Public bug reported: Steps:
1.Created a qcow2 image using Ubuntu virt-manager. This qcow2 image boots fine inside the virt-manager. 2.However, the same qcow2 image fails to boot when I try to boot it using the qemu-system-x86_64: #!/bin/bash qemu-system-x86_64 -m 16384 -boot d -enable-kvm -smp 16 -cpu host -net nic -net user,hostfwd=tcp::7777-:22 -drive file=/var/lib/libvirt/images/ubuntu18.04.qcow2,if=virtio -nographic Error: SeaBIOS (version 1.13.0-1ubuntu1) iPXE (http://ipxe.org) 00:03.0 CA00 PCI2.10 PnP PMM+BFF8C8D0+BFECC8D0 CA00 Booting from DVD/CD... Boot failed: Could not read from CDROM (code 0003) Booting from Floppy... Boot failed: could not read the boot disk Booting from Hard Disk... ------ More Info - :~$ qemu-system-x86_64 --version QEMU emulator version 4.2.1 (Debian 1:4.2-3ubuntu6.8) Copyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developers :~$ qemu-img check ubuntu18.04.qcow2 No errors were found on the image. 245760/245760 = 100.00% allocated, 0.00% fragmented, 0.00% compressed clusters Image end offset: 16108814336 :~$ qemu-img info ubuntu18.04.qcow2 image: ubuntu18.04.qcow2 file format: qcow2 virtual size: 15 GiB (16106127360 bytes) disk size: 1.88 GiB cluster_size: 65536 Format specific information: compat: 1.1 lazy refcounts: true refcount bits: 16 corrupt: false ** Affects: qemu (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1904795 Title: qemu-system-x86_64 fails to boot qcow2 image To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1904795/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs