pacstrap-builder
| Version | 2026.162.1200 |
| Repo | superproject |
Bootstrap a bootable Arch/CachyOS rootfs via pacstrap, partition the disk, and install grub.
Tools needed to bootstrap an Arch-family rootfs from scratch via
pacstrap, partition a VM disk, and install grub for a bootable
Arch/CachyOS system. Used as the layer composition for the
arch-pacstrap-builder / cachyos-pacstrap-builder images,
which run as privileged containers under charly box build and
charly vm build for kind:bootstrap source kinds.
Acceptance plan
Section titled “Acceptance plan”This candy’s plan: — the runnable spec charly check executes against a live deployment. check: steps are idempotent probes; run: steps change state.
| Intent | Step |
|---|---|
check |
pacstrap bootstraps a fresh Arch/CachyOS root filesystem |
check |
the arch-install-scripts package supplies genfstab and arch-chroot alongside pacstrap |
check |
parted partitions the target VM disk |
check |
a raw VM disk image can be created with qemu-img |
check |
e2fsprogs provides the ext4 mkfs used for the root partition |
check |
dosfstools provides the FAT mkfs used for the EFI system partition |
check |
grub-install writes the bootloader to the disk |
check |
efibootmgr registers the UEFI boot entry |
check |
mkinitcpio regenerates the initramfs inside the new root |