Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 834 Bytes

README.md

File metadata and controls

37 lines (26 loc) · 834 Bytes

u-root builder

This repository holds no code and just builds u-root images via GitHub Actions.

Try it out

Download a prebuilt u-root image from releases:

curl -L -o u-root.cpio.xz https://github.com/linuxboot/u-root-builder/releases/download/v0.0.1/u-root_amd64_all.cpio.xz

Download a kernel from Arch Linux and extract it:

curl -L -o linux.tar.zst https://archlinux.org/packages/core/x86_64/linux/download/
tar -xf linux.tar.zst

Run it:

qemu-system-x86_64 -enable-kvm -machine q35 -nographic -append "console=ttyS0" \
  -kernel usr/lib/modules/*/vmlinuz -initrd u-root.cpio.xz

Run a command:

uname -a

asciinema recording of u-root