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
Marcos Mello a90fbcbf6f Fix wrong directories/files ownership
Before:

$ ls -ln work/x86_64/airootfs/
total 0
drwxr-xr-x 1    0    0   0 fev 28 07:11 dev
drwxr-xr-x 1 1000 1000 184 fev 28 07:03 etc
drwxr-xr-x 1 1000 1000  22 fev 28 07:03 opt
dr-xr-xr-x 1    0    0   0 fev 28 07:11 proc
drwxr-xr-x 1 1000 1000 146 fev 28 07:03 root
drwxr-xr-x 1    0    0   0 fev 28 07:11 run
dr-xr-xr-x 1    0    0   0 fev 28 07:11 sys
drwxrwxrwt 1    0    0   0 fev 28 07:11 tmp
drwxr-xr-x 1 1000 1000   6 fev 28 07:03 usr
drwxr-xr-x 1    0    0  22 fev 28 07:11 var

After:

$ ls -ln work/x86_64/airootfs/
total 0
drwxr-xr-x 1 0 0   0 fev 28 07:33 dev
drwxr-xr-x 1 0 0 184 fev 28 07:38 etc
drwxr-xr-x 1 0 0  22 fev 28 07:33 opt
dr-xr-xr-x 1 0 0   0 fev 28 07:33 proc
drwxr-xr-x 1 0 0 146 fev 28 07:38 root
drwxr-xr-x 1 0 0   0 fev 28 07:33 run
dr-xr-xr-x 1 0 0   0 fev 28 07:33 sys
drwxrwxrwt 1 0 0   0 fev 28 07:33 tmp
drwxr-xr-x 1 0 0   6 fev 28 07:33 usr
drwxr-xr-x 1 0 0  22 fev 28 07:33 var

Fixes #73
2020-02-28 07:55:53 -03:00
airootfs Remove keepassxc translation files to save disk space 2020-02-02 09:42:39 +00:00
efiboot/grub Parameterize architecture in build.sh 2020-02-01 14:28:39 +00:00
isolinux SystemRescueCd-6.0.0 2019-02-02 11:22:52 +00:00
patches Optimize squashfs compression 2020-01-26 12:17:58 +00:00
syslinux Parameterize architecture in build.sh 2020-02-01 14:28:39 +00:00
.gitignore SystemRescueCd-6.0.0 2019-02-02 11:22:52 +00:00
ARCHITECTURE Parameterize architecture in build.sh 2020-02-01 14:28:39 +00:00
build.sh Fix wrong directories/files ownership 2020-02-28 07:55:53 -03:00
ChangeLog SystemRescueCd-6.0.7 2020-01-26 14:37:48 +00:00
mkinitcpio.conf SystemRescueCd-6.0.2 2019-02-21 21:27:05 +00:00
packages Parameterize architecture in build.sh 2020-02-01 14:28:39 +00:00
pacman.conf Updated pacman.conf 2020-02-02 08:28:44 +00:00
README.md Documented the build process in README 2020-02-02 09:04:30 +00:00
VERSION SystemRescueCd-6.0.7 2020-01-26 14:37:48 +00:00

SystemRescueCd

Project website

Homepage: http://www.system-rescue-cd.org/

Project sources

This git repository contains SystemRescueCd sources files. This is based on https://git.archlinux.org/archiso.git

Building SystemRescueCd

SystemRescueCd can be built for x86_64 or i686 architectures. It must be built on archlinux (or archlinux32). The following packages must be installed on the build system: archiso, grub, mtools. The archiso package must be modified to add support for an option which allows to optimize the squashfs compression. The patch can be found in the "patches" folder in this git repository.

The package list contains packages which are not part of the official binary package repositories. These packages need to be built from sources from the AUR website. These sources are made of at least a PKGBUILD file and quite often other related files, such as patches. These can be built using the makepkg command which generates binary packages. These binary packages must be copied to a custom package repository which can be hosted locally using httpd or nginx. The repo-add command must be used to generate the repository package index. The pacman.conf file must be updated with the address of this repository so custom packages can be accessed.

By default the target architecture will be x86_64. The following must be changed in order to build a 32bit version instead:

  • Update the ARCHITECTURE file (replace "x86_64" with "i686")
  • Update Architecture in pacman.conf (replace "auto" with "i686")
  • Replace archlinux repositories with archlinux32 repositories in pacman.conf

The build process can be started by running the build.sh script. It will create a large "work" sub-directory and the ISO file will be written in the "out" sub-directory.