-
Notifications
You must be signed in to change notification settings - Fork 1
Build ISO
There are 2 ways to build a LadOS ISO:
- Build from Scratch
- Remaster Archiso
The first method requires an existing Arch Linux installation. The second method can theoretically be done on any linux system (not tested on other systems) as long as you have the equivalent packages.
The following packages are required to build the ISO:
squashfs-tools libisoburn dosfstools lynx syslinux
The make-iso.sh
script in the build/
directory of the repo will be used for
both methods.
To build a LadOS iso from scratch, follow these steps:
-
Edit any configuration files you would like to before hand in the
conf/
directory. This configuration will be copied to the ISO. -
Navigate to the build directory from the root directory of the repo.
$ cd build
-
Run the make-iso.sh script and follow any on-screen prompts
$ ./make-iso.sh interactive -----Make ISO----- 1. Build from scratch 2. Remaster ISO 3. Image USB 4. Exit Option: 1
-
If the build is successful, the LadOS iso should be available in the
build/
directory.
To remaster an archiso, follow these steps:
-
Edit any configuration files you would like to before hand in the
conf/
directory. This configuration will be copied to the ISO. -
Navigate to the build directory from the root directory of the repo.
$ cd build
-
Run the make-iso.sh script and follow any on-screen prompts
$ ./make-iso.sh interactive -----Make ISO----- 1. Build from scratch 2. Remaster ISO 3. Image USB 4. Exit Option: 2 -----Remaster ISO----- 1. Download ISO 2. Use existing ISO 3. Go Back Option:
-
Select a remaster option. You can either let the script auto-download the latest archiso or you can download any archiso yourself and specify the path to the ISO.
-
If the build is successful, the LadOS iso should be available in the
build/
directory.
If you ran either method above non-interactively, you may not have received a prompt to image your USB with the ISO. You can image your USB with the newly built image using the following steps. CAUTION: this will wipe your USB.
-
Navigate to the build directory from the root directory of the repo.
$ cd build
-
Run the make-iso.sh script
$ ./make-iso.sh interactive -----Make ISO----- 1. Build from scratch 2. Remaster ISO 3. Image USB 4. Exit Option: 3
-
A list of your currently attached devices in /dev will show. Specify the full path to your USB device.
The build process has additional settings/features which can be enabled to simplify the installation process.
All the steps above can be executed non-interactively by specifying commandline
arguments for the execution path you would like the script to follow.
Type ./make-iso.sh help
from the build/
folder for more details.
If you are currently using secure boot with shim or with custom keys, you can specify the path to your PEM-encoded private singing key and your PEM-encoded public certificate (interactively or as commandline arguments) to sign the LadOS binaries with your secure boot keys. LadOS should then boot without having to disable secure-boot.
If you are running the script on an existing Arch Linux installation, you can choose to create a local pacman repo of packages. This will allow you to download all the LadOS packages beforehand and store them in the ISO as cache, so during the installation process you can simply install all the packages without having to download them. This localrepo is also used to install the base packages onto the ISO during the build process.
If any of the required packages already exist in your host system's cache, those will be copied over.
You will also have the choice to pre-compile the AUR packages and include them in the repo, so they do not have to be compiled during the installation process.
This feature can significantly speed up the installation time.
If you choose to install this optional feature with LadOS, it would be significantly easier to include the pre-compiled package in the ISO during the build process. You can choose to build this package and include it in the localrepo (either interactively or as a commandline argument). See the feature wiki page for configuration instructions.
- Home
- Installing LadOS
-
Features
- Required
- dracut
- sudoers
- enable-community-pacman
- yay
- rEFInd-minimal-black
- dwm
- st
- crontab
- [system-services)(./system-services)
- dotfiles
- Optional
- auto-mirror-rank
- configure-backlight
- configure-touchpad
- corsiar-headset
- doom-emacs
- ferdi-darkmode
- gcp-tunnel
- gogh
- gtk-greeter
- hp-printer
- huion
- luks-encryption-tpm
- on-monitor-change
- openvpn-expressvpn
- physlock
- plymouth
- polybar-pacman-hooks
- power-desktop-options
- powertop
- recovery-mode
- redshift
- restic-b2
- secure-boot-custom
- secure-boot-preloader
- secure-boot-shim
- setup-gpu-passthrough
- ssh-keys
- steam
- systemd-boot
- user-services
- vifm
- weather-polybar-module
- webkit2-greeter
- win10-fonts
- wpa-supplicant
- Required