Archboot Homepage

© Tobias Powalowski | Arch Linux Developer tpowa
Last update: 08.05.2023 06:37

Logo

Donate You like the project? I like coffee :-)

1. Introduction

Archboot is a most advanced, modular Arch Linux boot/install image creation utility to generate
reproducible bootable media for UKI/CD/USB/PXE, designed for installation or rescue operation.
The system only runs in ZRAM on a btrfs filesystem and without any other special filesystems like squashfs/erofs.

First it was used as official install medium from Arch Linux 0.7 till 2008.03 release and is developed by tpowa since 2006.

2. Image Releases

2.1 Download image files

Arch Linux ARM aarch64 Arch Linux RISC-V riscv64 Arch Linux X64 x86_64

2.2 Features of the images

2.3 Unified Kernel Image / UKI

2.4 Rescue system / PXE booting

2.5 Supported boot modes

It supports GRUB’s iso loopback support:

2.6 Burning release or writing to disk

A hybrid image file is a standard CD/DVD-burnable image and also a raw disk image.

In Rufus for Windows use dd-Mode to write the image.

2.7 Installation with a graphical environment or VNC instead of plain console

2.7.1 Preconfigured environments

2.7.2 Custom environment without VNC support

Edit /etc/archboot/defaults

2.8 Remote installation with OpenSSH

2.9 Secure Boot MOK support with fedora's signed shim package

2.10 Switch to full Arch Linux system

2.11 Interactive setup

You can run each point for doing the mentioned task. If you do a fresh install, it is recommended to run each point in the order as presented.

2.11.1 Changing console fonts and keymap

2.11.2 Setup network

2.11.3 Select Source

2.11.4 Changing timezone and date

2.11.5 Prepare Storage drive

2.11.6 Install Packages

2.11.7 Configure System

2.11.8 Install Bootloader

2.12 For experts: quickinst installation

2.13 Keep your image up to date

2.14 Tools for backup and copying of an existing system

Archboot provides 2 additional scripts for doing those tasks.

2.15 Restoring an USB device to FAT32 state

2.16 Quick System Setup on already installed system

You can also run archboot-setup.sh for a quick System Setup on an already installed system.

Install your corresponding archboot package for getting the archboot-setup.sh script.

2.17 FAQ, Known Issues and limitations

2.18 Development: GIT repository

GIT repository can be found at Arch Linux Gitlab or Github .

2.19 Bugs

Bugtracker

2.20 Comparison to archiso image

3. Create rescue system of running system

4. Create image files

4.1 Installation

4.2 Requirements

Around 3GB free space on disk.

4.3 Create image files without modifications

This script creates every installation media with latest available core/extra packages and boot/ directory with kernel and initrds.

4.4 Create image files with modifications:

Explanation of the archboot image tools.

4.4.1 archboot-x86_64-create-container.sh

Modify your container to your needs. Then run archboot-x86_64-iso.sh for image creation in container.

4.4.2 Configuration files for image creation:

4.4.3 archboot-cpio.sh initramfs generator:

The archboot initramfs toolchain uses its own cpio generator, which is mkinitcpio compatible and only uses the following options:

4.4.4 archboot-x86_64-iso.sh

Script for image creation from running system or for use in archboot container.

5. Setting up an archboot image server

5.1 Configuration file

You need to configure all your settings in the configuration file: /etc/archboot/defaults

5.2 Requirements

5.3 Running commands

5.3.1 x86_64 architecture

5.3.2 aarch64/riscv64 architecture

5.3.3 Server cleanup

The /etc/archboot/defaults file defines old images purging after 2 months.

6. Testing image and files with QEMU

You can run QEMU tests at different stages of ISO creation.

6.1 Running AARCH64:

6.2 Running RISCV64:

6.3 Running X86_64:

6.4 Additional qemu parameters

6.5 Setting up a hwsim SSID

7. Arch Linux Wiki

10. References