testramfs

command
v0.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2026 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Overview

testramfs acts just like a u-root command, with one difference: it will boot a VM with the generated initramfs. This code calls the u-root command in an effort to replicate, as much as possible, what a user would do. It therefore has no switches. All these variations work GOARCH=amd64 GOOS=linux ./testramfs ../.. GOARCH=arm64 GOOS=linux ./testramfs ../.. GOARCH=riscv64 GOOS=linux ./testramfs ../.. For extra convenience, we leave in the vm/ package cpud so you can, in addition to everything else, cpu in and mess around. Note: it boots fine, but cpud is not working on mac right now; qemu issue?

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL