rpi-ubuntu-server-kernel-decompress-service
Ubuntu Server on Raspberry Pi cannot boot from compressed kernel on external USB drive; solution: a service that monitors for kernel updates and auto-decompresses
Installation
On target Raspberry Pi system booted from external USB drive, complete the following:
- Copy
decompress-kernel
to/usr/local/bin/
- Copy
decompress-kernel.service
anddecompress-kernel.path
to/etc/systemd/system/
sudo systemctl start decompress-kernel.path
sudo systemctl enable decompress-kernel.path
- Confirm working by touching expected file:
touch /var/run/reboot-required
- Check that
decompress-kernel
executes successfully by inspecting log:sudo journalctl -u decompress-kernel.service