Valerio D
decabyteit.bsky.social
Valerio D
@decabyteit.bsky.social
AI/ML Technologies @Apple | Robotics & Intelligent Systems | Early Adopter & Systems Craftsman | PhD: @edinrobotics | Opinions are my own.
Reposted by Valerio D
Ok, this is done and it works! ✨

I apk install stuff into a chroot, pull out /boot, and package the rest as an initrams. Test with qemu or chroot, sftp it over to the boot device, then “syslinux --once” into it.

No moving parts at boot. “Config” is a tree of files and a short build-time script.
Anyway, sounds like my NAS is going to be an Alpine rootfs compressed as a giant initramfs.

github.com/alpinelinux/... is 90% of the way there. Just needs an init and a kernel.

Kinda surprised no one made this into a thing yet. You can even make it do A/B boot with just, like, GRUB.
GitHub - alpinelinux/alpine-make-rootfs: Make customized Alpine Linux rootfs (base image) for containers
Make customized Alpine Linux rootfs (base image) for containers - alpinelinux/alpine-make-rootfs
github.com
October 27, 2024 at 5:08 PM