mirror of
https://github.com/nchevsky/systemrescue-zfs.git
synced 2026-03-05 20:43:53 +01:00
* Add ZFS 0.8.4 * GRUB (UEFI boot) improvements: * Enable serial console * Add 30-sec automatic boot timeout * Clean up configuration * SYSLINUX (BIOS boot) improvements: * Increase serial console baud rate (38400 => 115200) * Reduce automatic boot timeout (90 sec => 30 sec) * Build script improvements: * Print argument summary when building with `-v` * Print header for each build step * Clean up issue(5) |
||
|---|---|---|
| airootfs | ||
| efiboot/grub | ||
| isolinux | ||
| patches | ||
| syslinux | ||
| .gitignore | ||
| build.sh | ||
| ChangeLog | ||
| LICENSE | ||
| mkinitcpio.conf | ||
| packages | ||
| pacman.conf | ||
| README.md | ||
| VERSION | ||
SystemRescueCd+ZFS
SystemRescueCd+ZFS is a fork of the SystemRescueCd Linux distribution by Francois Dupoux (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.
- GRUB (UEFI boot):
serial --speed=115200 efi0in./efiboot/grub/grubsrcd.cfg - SYSLINUX (BIOS boot):
SERIAL 0 115200in./syslinux/sysresccd_head.cfg - Kernel (post-boot):
console=ttyS0,115200in./build.sh
Building
$ sudo ./build.sh -v
Dependencies
- Arch Linux with the following packages installed:
arch-install-scriptsarchisobase-develgrubmkinitcpio-archisomtools
- Manually import this key to avoid an "unknown trust" error during building of the
archzfspackage.
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_efiand its successorsbuild.make_efiboot,build.make_prepareandbuild.make_iso.
Steps
make_pacman_confmake_basefsmake_packagesmake_setup_mkinitcpiomake_customize_airootfsmake_bootmake_boot_extramake_syslinuxmake_isolinuxmake_efimake_efibootmake_preparemake_iso