[Bug 1923865] Re: Bootable buildd xenial images go to initramfs on boot

Joshua Powers 1923865 at bugs.launchpad.net
Wed Apr 21 22:14:47 UTC 2021


Marking confirmed

# Steps to reproduce

1. wget http://cloud-images.ubuntu.com/daily/server/buildd/daily/xenial/current/xenial-server-cloudimg-amd64-disk.img
2. Modify /etc/boot/grub.cfg to add "console=ttyS0" to kernel command line
3. Boot using the following qemu CLI:

qemu-system-x86_64 \
  -cpu host -machine type=q35,accel=kvm -m 2048 \
  -snapshot \
  -nographic \
  -netdev id=net00,type=user,hostfwd=tcp::22222-:22 \
  -device virtio-net-pci,netdev=net00 \
  -drive if=virtio,format=qcow2,file=xenial-server-cloudimg-amd64-disk.img

# Expected behavior

Boot to login

# Actual behavior

Boot drops to an initramfs busy box console


** Changed in: cloud-images
       Status: Incomplete => Confirmed

** Also affects: livecd-rootfs (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs in Ubuntu.
https://bugs.launchpad.net/bugs/1923865

Title:
  Bootable buildd xenial images go to initramfs on boot

Status in cloud-images:
  Confirmed
Status in livecd-rootfs package in Ubuntu:
  New

Bug description:
  This image:

  http://cloud-
  images.ubuntu.com/daily/server/buildd/daily/xenial/current/xenial-
  server-cloudimg-amd64-disk.img

  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.
  ```

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/1923865/+subscriptions



More information about the foundations-bugs mailing list