elmos rootfs create
Create the ext4 disk image that 'elmos qemu run' boots.
Engines: oci (default) pull a container image for the target architecture and write it straight into ext4 (pure Go). No sudo, no debootstrap; a few seconds after the download. debootstrap Debian foreign install; needs sudo, fakeroot and debootstrap in tools/debootstrap, and finishes on first boot.
Both engines write the same /init (embedded in elmos).
Examples: elmos rootfs create # alpine:3 (insmod, ip) elmos rootfs create --image debian:stable-slim -s 8G elmos rootfs create --engine debootstrapelmos rootfs create [flags] --engine string Rootfs engine: oci or debootstrap (default "oci") --image string Container image for the oci engine (default "alpine:3") -s, --size string Disk image size (e.g., 5G, 10G) (default "5G")Inherited flags
Section titled “Inherited flags” -c, --config string config file (default is elmos.yaml) -e, --verbose enable verbose outputGenerated from the elmos command definitions by elmos gendocs.