Minimal image boot output goes to a non-default console in standard QEMU invocation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-images |
Confirmed
|
Medium
|
Unassigned |
Bug Description
When booting the xenial or bionic minimal images using qemu, their output goes to the serial console. A default invocation of qemu will not display the serial console output to the user, so it appears that boot has hung.
(This can be verified by pressing Ctrl-Alt-3 in the qemu console, which will display the serial console output.)
[Original Report]
The xenial minimal image [1] as well as the bionic one [2] fail to boot in QEMU/KVM:
$ qemu-system-x86_64 --enable-kvm -hda ubuntu-
Results in:
> Booting from Hard Disk...
> error: no such device: root.
$ qemu-system-x86_64 --enable-kvm -hda ubuntu-
Hangs at:
> Booting from Hard Disk...
[1] http://
[2] http://
description: | updated |
Changed in cloud-images: | |
status: | New → Confirmed |
importance: | Undecided → High |
Hey Saviq,
The output you're seeing is actually a little misleading; the image _is_ booting, but all of its output goes to the serial console. You can see this by pressing Ctrl-Alt-3 in the QEMU console.
(As a side note, you'll also want to add `-net nic,model=virtio` to your invocations to get working networking; qemu defaults to emulating a physical e1000 device, which the KVM-only linux-kvm kernel doesn't have support for.)
I'm going to change this bug to be about the default QEMU console output being misleading and drop its priority.
Thanks,
Dan