U-root
u-root and SystemBoot are Go-based (and therefore memory-safe) alternatives to Busybox and Petitboot, which could potentially be used in Skiroot to improve security.
Contents
u-root Porting Status
A small number of u-root commands, e.g. strace
, do not build for ppc64le at the moment.
SystemBoot Porting Status
SystemBoot relies on CONFIG_KEXEC_FILE
, which is missing in the Skiroot Linux config.
Instructions to Test
- Build u-root as a tar.
- Put the tar on a USB mass storage device.
- Boot into a Skiroot shell.
- Enter the below commands:
cd /tmp/ mkdir u-root cd u-root/ tar -xf /var/petitboot/mnt/dev/sdd1/u-root/initramfs.linux_ppc64le.tar # Use the path to your USB drive cd initramfs.linux_ppc64le.cpio chroot . ./init boot
- Pick a boot device.