How to LinuxBoot - Telecominfraproject/OpenCellular GitHub Wiki

LinuxBoot is a firmware for modern servers that replaces specific firmware functionality like the UEFI DXE phase with a Linux kernel and runtime.

Initramfs (U-root)

u-root is an embeddable root file system intended to be placed in a flash device as part of the firmware image, along with a Linux kernel. Unlike most embedded root file systems, which consist of large binaries, u-root only has five: an init program and four Go compiler binaries.

Download u-root
git clone https://github.com/u-root/u-root
Compile u-root tool
go get ./...
go build u-root.go
Build an Initramfs for common LinuxBoot usage
GOARCH=<arch> ./u-root -build bb -format cpio -o initramfs.cpio cmds/*
⚠️ **GitHub.com Fallback** ⚠️