# u-root/u-root

A fully Go userland with Linux bootloaders! u-root can create a one-binary root file system (initramfs) containing a busybox-like set of tools written in Go.

Repository: https://github.com/u-root/u-root
Canonical: https://ross.abutalabs.com/products/u-root
Homepage: https://u-root.org
Language: Go
License: BSD-3-Clause
License Family: permissive
Topics: embedded, system, tinycore, kernel, linux, ramfs, busybox, initramfs, coreboot, linuxboot, hacktoberfest
Last push: 2026-08-25T19:36:48+00:00

## Health v2 (maintenance only)
Score: 79/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 40, longevity 100
- inputs: {"age_days": 3941, "days_push": 8, "days_rel": 187, "gap_med": 190, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3067, forks 455 (observed 2026-08-28T04:07:41.435974+00:00)

## What it is
u-root is a Go-based userland that provides nearly 200 Unix commands rewritten in Go, compilable into a single busybox-style binary, plus tooling to generate Linux initramfs archives. It also includes Go bootloaders that use kexec to boot Linux and multiboot kernels as part of the LinuxBoot project.

## Use cases
- build a one-binary root filesystem initramfs for a Linux kernel
- replace UEFI firmware boot software with a Linux+Go bootloader
- embed a busybox-like set of Go tools into firmware
- boot Linux or multiboot kernels like Xen or ESXi via kexec
- create a minimal diskless Linux recovery environment
- compile many Go programs into a single multi-call binary

## When to choose
- you are building LinuxBoot/coreboot-based firmware and want to replace C-based UEFI code
- you need a tiny, fast-building embedded Linux userland in Go
- you want a scriptable boot environment with a full Unix toolset in an initramfs

## When to avoid
- you need a general-purpose desktop or server userland with full POSIX compatibility
- your target platform is not Linux or a supported embedded architecture
- you depend on tools not yet implemented in the u-root command set

## Facets
- artifact type: framework
- maturity: active
- function: cli, developer-tools, embedded, build-tool, file-system
- domain: embedded-systems, operating-systems, developer-tools
- platform: go, embedded, cross-platform
- tags: initramfs, busybox, linuxboot, coreboot, bootloader, kexec, firmware, userland, go-userland, linux

## Member repositories
- u-root/u-root (main) score 79

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:41.435974+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:28:11.232678+00:00, confidence not recorded.
  - readme: https://github.com/u-root/u-root (fetched 2026-08-28T04:07:41.435974+00:00, sha 90de01076f9a)
  - homepage: https://u-root.org (fetched 2026-08-29T09:43:29.104446+00:00, sha 0f32e7c03de9)
  - site_page: https://u-root.org/success-stories/google (fetched 2026-08-29T09:43:29.113748+00:00, sha e514ede0fc79)
  - site_page: https://u-root.org/success-stories/bytedance (fetched 2026-08-29T09:43:29.116005+00:00, sha 739b8f545ca8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
