Bootable buildd xenial images go to initramfs on boot
Bug #1923865 reported by
Michał Sawicz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-images |
In Progress
|
Undecided
|
Unassigned | ||
Xenial |
New
|
Undecided
|
Unassigned | ||
livecd-rootfs (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
This image:
Fails to boot, with either UEFI or MBR:
```
error: can't find command `hwmatch'.
error: no such device: root.
```
Then it goes straight into initramfs.
Every once in a while there's more context written:
```
mount: can't find /root in /etc/fstab
mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting /run on /root/run failed: No such file or directory
run-init: current directory on the same filesystem as the root: error 0
Target filesstem doesn't have requested /sbin/init.
run-init: current directory on the same filesystem as the root: error 0
...
No init found. Try passing init= bootarg.
```
Changed in cloud-images: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
Per LP: #1915571 as soon as I set console=ttyS0 in the kernel cmdline, the image is able to boot in qemu with output to the console. As such, I think this is really a duplicate of bug LP: #1915571.
To test this out I downloaded the image, modified /boot/grub/grub.cfg to remove quiet and add "console=ttyS0", and then booted the image with:
qemu-system-x86_64 \ type=user, hostfwd= tcp::2222- :22 \ net-pci, netdev= net00 \ format= qcow2,file= xenial- server- cloudimg- amd64-disk. img \ format= raw,file= seed.img
-cpu host -machine type=q35,accel=kvm -m 2048 \
-nographic \
-snapshot \
-netdev id=net00,
-device virtio-
-drive if=virtio,
-drive if=virtio,
Prior to this change, I did not get any output to the console and it appeared like the image was not booting.
I'll mark this as incomplete for now. Thoughts?