SystemRescue+ZFS is a fork of the SystemRescue Linux distribution (based on Arch Linux) with improvements such as:
- ZFS support built-in
- Serial console enabled at the bootloader stage
- Shortened automatic boot timeout of 30 seconds
- Build process improvements
- Extra polish
Serial I/O is enabled by default on COM1
/ttyS0
at 115,200 baud. If your serial console is on another port or requires a different speed, make adjustments in the following places and rebuild the image.
- GRUB (UEFI boot):
serial --speed=115200 efi0
in./efiboot/grub/grubsrcd.cfg
- SYSLINUX (BIOS boot):
SERIAL 0 115200
in./syslinux/sysresccd_head.cfg
- Kernel (post-boot):
console=ttyS0,115200
in./build.sh
$ sudo ./build.sh -v
- Arch Linux with the following packages installed:
arch-install-scripts
archiso
(in a version matching these patches)base-devel
grub
mkinitcpio-archiso
(forarchiso
versions ≥ 45)mtools
archiso
with these patches applied.- This key (to avoid an "unknown trust" error during building of the
archzfs
package).
The state of successfully completed build steps is persisted in ./work/build.make_*
files. If such a file is present for a given build step, ./build.sh
will skip that step indefinitely going forward. Before a rebuild, you must remove these state files to ensure that the appropriate build steps are re-executed and any customizations actually take effect.
- Full rebuild (recommended):
# rm ./work/build.make_*
- Partial rebuild: Delete the state file for the earliest affected step and all steps that come after it. For example, if you have customized the GRUB (UEFI boot) configuration, you must remove
build.make_efi
and its successorsbuild.make_efiboot
,build.make_prepare
andbuild.make_iso
.
make_pacman_conf
make_basefs
make_packages
make_customize_airootfs
make_setup_mkinitcpio
make_boot
make_boot_extra
make_syslinux
make_isolinux
make_efi
make_efiboot
make_prepare
make_iso