Latest Focal Minimal disk images from livecd-rootfs do not boot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
livecd-rootfs (Ubuntu) |
Fix Released
|
Undecided
|
Pat Viafore | ||
Focal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
* Minimal images built from livecd-rootfs after March 12th do not boot. There are no broken images on cloud-images.
[Test Plan]
* Build a minimal image from livecd-rootfs in the focal branch.
* Launch it through qemu to verify it boots: qemu-system-x86_64 -cpu host -machine type=q35,accel=kvm -m 2048 -snapshot -netdev id=net00,
* Verify cloud-specific minimal builds still operate as intended (single boot, no double boot fallback)
[Where problems could occur]
* The changes are forcing a boot without initramfs for all minimal images. This was the default behavior before the March 12th change.
[Bug Description]
Here is the kernel panic:
VFS: Cannot open root device "LABEL=
Please append a correct "root=" boot option; here are the available partitions:
fe00 2306048 vda
driver: virtio_blk
fe01 2192367 vda1 eba1d37a-
fe0e 4096 vda14 9bbe6566-
fe0f 108544 vda15 b4d6d9b6-
fe10 366 vdb
driver: virtio_blk
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.4.0-1034-kvm #35-Ubuntu
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-1 04/01/2014
Call Trace:
0xffffffff92b471a8
0xffffffff92b23a3d
0xffffffff9332f5d4
0xffffffff9332f6b0
0xffffffff9332f7e7
0xffffffff9332f287
? 0xffffffff92b4a5e0
0xffffffff92b4a5e9
0xffffffff92c00215
Kernel Offset: 0x11400000 from 0xffffffff81000000 (relocation range: 0xffffffff80000
---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
Kernel command line :
Linux version 5.4.0-1034-kvm (buildd@
Command line: BOOT_IMAGE=
The root should be set to a PARTUUID, not a label.
Related branches
- Robert C Jennings (community): Approve
- Ubuntu Core Development Team: Pending requested
-
Diff: 100 lines (+29/-17)4 files modifieddebian/changelog (+6/-0)
live-build/auto/config (+2/-8)
live-build/ubuntu-cpc/hooks.d/base/disk-image-uefi.binary (+15/-9)
live-build/ubuntu-cpc/hooks.d/base/disk-image.binary (+6/-0)
Changed in livecd-rootfs (Ubuntu): | |
assignee: | nobody → Pat Viafore (patviafore) |
Commit 4c504f678178104 eceaf5b3aae40bc ff20863235 needs to be backported to Focal to fix this