Difference between revisions of "U-root"
Jump to navigation
Jump to search
JeremyRand (talk | contribs) (Create u-root page) |
JeremyRand (talk | contribs) (Add "See Also" section) |
||
Line 24: | Line 24: | ||
boot</source> | boot</source> | ||
# Pick a boot device. | # Pick a boot device. | ||
+ | |||
+ | ==See Also== | ||
+ | |||
+ | * [[Skiroot]] | ||
+ | * [[Petitboot]] | ||
+ | * [[Heads]] | ||
==References== | ==References== |
Latest revision as of 06:11, 1 January 2023
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.