I'm trying to use the official ubuntu-18.04-preinstalled-server-armhf+raspi2.img.xz image on my Raspberry PI 3B+. I've followed these instructions: to convert the image for use on my Pi 3B+.
I can get the machine to boot, but it gets stuck in the boot sequence. The first error is that it fails to load kernel modules. After continuing on, the Pi gets stuck during cloud-init and fails to start the networking service.
I've tried manually copying the kernel modules using these commands in the documentation:
sudo cp /boot/vmlinuz /boot/firmware/
sudo cp /boot/initrd.img /boot/firmware/But still, no luck. Any ideas?
2 Answers
Failed to load kernel modules is nothing to worry about.
Have you plugged your pi into working Ethernet? From memory this is needed on first boot or it will get stuck. Have you copied the dtb file for the 3B+?
Don't copy those kernel files, you only need to do this if you don't update the flash-kernel database. And you only need to worry about that when you run a package update.
11I had the same problem. Solved it by deleting /etc/netplan/50-cloud-init.yaml.