There are a few issues preventing the Ubuntu DomU from booting:
The pygrub script's GPT parser is buggy and cannot handle the raw image converted from Canonical's cloud QCOW2 (this may be to do with out-of-order partitions, pygrub sees 128 partitions, all at offset 0). Therefore, we should just extract the vmlinuz and initrd.img and boot manually.
A much better alternative would be to use paravirtualized GRUB2, but this is not available on Arm64.
The cloud image wants to initialize itself using cloud-init, which is perfectly reasonable. For the purposes of this hackathon, however, we should just create a basic default user my mounting and chpasswd-ing.
These updates will need to be reflected in ubuntu-xenguest.bb.
There are a few issues preventing the Ubuntu DomU from booting:
pygrub
script's GPT parser is buggy and cannot handle the raw image converted from Canonical's cloud QCOW2 (this may be to do with out-of-order partitions,pygrub
sees 128 partitions, all at offset 0). Therefore, we should just extract the vmlinuz and initrd.img and boot manually.These updates will need to be reflected in
ubuntu-xenguest.bb
.