Re:systemd: Boot Loader Specification
by a3f on Thursday February 25, 2021 @05:58PM
(#26269422)
I've been using bootloader specifications in a number of embedded system projects and I really like it.
The only configuration that's required for you in the bootloader is to select a boot medium and bootspec
does everything else. barebox takes it one step further and supports a linux-appendroot option, which
automatically appends a file-system specific root= option to the kernel command line. That way you can
have multiple slots with the same bootspec (e.g. for A/B booting scenarios) and you can transparently
boot the same rootfs whether it's locally on SD, NAND or even on NFS. Good stuff.
(Disclosure: I do get paid to work on barebox. This post is on my own dime though :^)
(Disclosure: I do get paid to work on barebox. This post is on my own dime though :^)