To reproduce (use a machine with fast CPU...), on xenial as your host:

qemu-system-arm built from source:
  rmerrill@ubuntu-1404:~/qemu$ git remote get-url origin
  git://git.qemu-project.org/qemu.git
  rmerrill@ubuntu-1404:~/qemu$ git rev-parse --abbrev-ref HEAD  
  stable-2.9
  rmerrill@ubuntu-1404:~/qemu$ 

Follow the instructions here:
https://gist.github.com/takeshixx/686a4b5e057deff7892913bf69bcb85a

With the following changes:
- Download the bionic vmlinuz and initrd instead of xenial
- I ran into some trouble getting the network set up right on the host. Note 
that you will have to install isc-dhcp-server (NOT udhcpd as apt will helpfully 
suggest). You will also have to tweak apparmor to allow dhcpd to read conf 
files outside of its usual place.
- On the invocation of qemu-system-arm, change `-serial stdio` to `-serial 
mon:stdio` -- this is what you actually want anyway.
- Add `-smp 4` (or however many CPUs your host has, maybe minus one) to make 
the install go a little faster.

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

Title:
  Installing 18.04 to a virtio device produces an unbootable system on
  armhf

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1822407/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to