A fork of SystemRescue (formerly SystemRescueCd) with ZFS built-in and serial console access enabled for all boot options. Download bootable ISOs from the releases page.
Find a file
Nick Chevsky 9e06715997 v7.01+2.0.0
- Bundle `archzfs` as a DKMS module.
- Improve GRUB (EFI boot) configuration:
  - Enable serial console.
  - Reduce automatic boot timeout (90 s => 30 s).
- Improve SYSLINUX (legacy boot) configuration:
  - Increase serial console baud rate (38400 => 115200).
  - Reduce automatic boot timeout (90 s => 30 s).
- Enhance build script:
  - Print argument summary when building with `-v`.
  - Print header for each build step.
2023-07-04 22:01:55 -05:00
airootfs v7.01+2.0.0 2023-07-04 22:01:55 -05:00
efiboot/grub v7.01+2.0.0 2023-07-04 22:01:55 -05:00
isolinux Revert original name when related to boot config 2020-09-13 20:51:08 +01:00
patches srm patch: override airootfs files 2020-08-09 21:29:11 -03:00
syslinux v7.01+2.0.0 2023-07-04 22:01:55 -05:00
.gitignore v7.01+2.0.0 2023-07-04 22:01:55 -05:00
build.sh v7.01+2.0.0 2023-07-04 22:01:55 -05:00
ChangeLog SystemRescue-7.01 2020-11-22 08:19:27 +00:00
LICENSE Updated LICENCE to follow archiso 2020-07-30 19:54:19 +01:00
mkinitcpio.conf Added encrypt hook to be able to boot from an encrypted disk (#108) 2020-05-25 14:00:56 +01:00
packages v7.01+2.0.0 2023-07-04 22:01:55 -05:00
pacman.conf v7.01+2.0.0 2023-07-04 22:01:55 -05:00
README.md v7.01+2.0.0 2023-07-04 22:01:55 -05:00
VERSION v7.01+2.0.0 2023-07-04 22:01:55 -05:00

SystemRescue+ZFS

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 Console

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.

  1. GRUB (UEFI boot): serial --speed=115200 efi0 in ./efiboot/grub/grubsrcd.cfg
  2. SYSLINUX (BIOS boot): SERIAL 0 115200 in ./syslinux/sysresccd_head.cfg
  3. Kernel (post-boot): console=ttyS0,115200 in ./build.sh

Building

$ sudo ./build.sh -v

Dependencies

  • Arch Linux with the following packages installed:
    • arch-install-scripts
    • archiso (in a version matching these patches)
    • base-devel
    • grub
    • mkinitcpio-archiso (for archiso versions ≥ 45)
    • mtools
  • archiso with these patches applied.
  • This key (to avoid an "unknown trust" error during building of the archzfs package).

Rebuilds

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 successors build.make_efiboot, build.make_prepare and build.make_iso.

Steps

  1. make_pacman_conf
  2. make_basefs
  3. make_packages
  4. make_customize_airootfs
  5. make_setup_mkinitcpio
  6. make_boot
  7. make_boot_extra
  8. make_syslinux
  9. make_isolinux
  10. make_efi
  11. make_efiboot
  12. make_prepare
  13. make_iso