[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
slackwarearm:slackwareinstaller [2023/09/26 12:09 (UTC)] – mozes | slackwarearm:slackwareinstaller [2023/11/21 15:46 (UTC)] (current) – mozes | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Slackware Installer ====== | + | ====== Slackware |
+ | |||
+ | Using the Installer, you can install and configure Slackware how it was designed to be: from the installed package set to the file system and its layout. | ||
+ | |||
+ | ===== Installer uses ===== | ||
- | Using the Installer, you can configure the OS how it was designed to be. | ||
The Installer can also be used as: | The Installer can also be used as: | ||
- | * rescue environment | + | * a rescue environment |
- | * development environment to onboard new Hardware Models. | + | * a development environment to onboard new Hardware Models. |
- | * installing Slackware | + | * installing Slackware! |
+ | |||
+ | |||
+ | ===== Slackware Installer packages ===== | ||
+ | |||
+ | There are three types of Slackware Installer packaged for the AArch64 architecture. | ||
+ | They are described below in the order in which they are created by the Slackware ARM build system. | ||
+ | |||
+ | |||
+ | ==== Naked Installer: Generic Initial RAM Disk ==== | ||
+ | |||
+ | The AiO and Bare Installer packages target specific Hardware Models and enable booting from the SD card directly into the Slackware Installer. | ||
+ | |||
+ | The [[https:// | ||
+ | |||
+ | It's usually used to develop support for (presently) unsupported Hardware Models. | ||
+ | // | ||
+ | |||
+ | This Installer image can also be used to boot a Hardware Model [[https:// | ||
+ | |||
+ | The Naked Installer initrd image is used (unmodified) within the Bare Installers. | ||
+ | |||
+ | ^ Created by ^ Refresh/ | ||
+ | | Slackware ARM [[https:// | ||
+ | |||
+ | |||
+ | |||
+ | ==== Bare Installers for Supported Hardware Models ==== | ||
+ | |||
+ | [[https:// | ||
+ | The user must supply the package set on some other media (e.g. USB stick, NFS share, over HTTP/ | ||
+ | |||
+ | The Bare Installers are approximately 250MB (compressed) in size. | ||
+ | Each image is packaged for a particular Hardware Model. | ||
+ | |||
+ | These Installers package the //Naked Installer// in a format bootable on a specific set of supported Hardware Models. | ||
+ | |||
+ | Users may choose to use the Bare Installers when: | ||
+ | * They want the root file system to be on the SD card (this is more tricky when using the AiO images) | ||
+ | * The AiO Installer has a bug/lacks a certain feature, and you'd like to use the more recent Installer before the AiO is refreshed. | ||
+ | * The user already has the Slackware ARM repository locally and does not want to download the larger AiO image. | ||
+ | |||
+ | ^ Created by ^ Refresh/ | ||
+ | | [[https:// | ||
+ | |||
+ | |||
+ | ==== All in One (AiO) Installer for Supported Hardware Models ==== | ||
+ | |||
+ | The All in One Installers are modified //Bare Installer// images, including an additional partition containing the Slackware packages/ | ||
+ | |||
+ | The Slackware package set are included within the downloadable image. | ||
+ | This mimics a stable release of Slackware - a frozen set of packages are installed, and users upgrade (and continue to update) the OS using '' | ||
+ | |||
+ | The [[https:// | ||
+ | |||
+ | |||
+ | The AiO images are approximately 5GB (compressed) in size. | ||
+ | Each image is packaged for a particular Hardware Model. | ||
+ | |||
+ | **All users are encouraged to use the AiO Installers for supported Hardware Models.** | ||
+ | |||
+ | |||
+ | ^ Created by ^ Refresh/ | ||
+ | | [[https:// | ||
+ | |||
+ | |||
+ | ===== Installation Interfaces ===== | ||
+ | |||
+ | You can perform the Slackware installation over three interfaces. | ||
+ | |||
+ | * Local keyboard & monitor: This is the documented method. | ||
+ | * Over a Serial connection: This is useful for remote installations where a serial cable is permanently connected to a remote machine. The end-to-end installation (including accessing the Hardware Model' | ||
+ | * Over the network, using SSH: This is useful for headless installations where the IP address provided to machine (DHCP is enabled by default) is known. | ||
+ | |||
+ | <note tip>If logging in over SSH, the root password is empty by default. | ||
+ | |||
+ | |||
+ | |||
+ | ====== Slackware Installer: Post Installation scripts ====== | ||
+ | |||
+ | The Slackware ARM installer supports an additional set of post installation scripts which help with the the various setup and configuration options. | ||
+ | |||
+ | ==== Slackware ARM post installation script execution flow ==== | ||
+ | |||
+ | === Primary Launcher === | ||
+ | |||
+ | < | ||
+ | # Script: / | ||
+ | # Sourced from: / | ||
+ | # Runs immediately prior to running the regular non-ARM scripts | ||
+ | </ | ||
+ | |||
+ | Runs everything within: ''/ | ||
+ | |||
+ | Example: | ||
+ | < | ||
+ | $ ls / | ||
+ | 000-env-postinst-setup | ||
+ | </ | ||
- | There are three types of Slackware Installer packaged: | + | They will be executed in order. |
- | * AiO (All in One) is what's documented | + | ==== Examining some post install scripts ==== |
- | * Bare installers: | + | === Post install scripts: Hardware Model Helper scripts === |
- | Show URLs | + | |
- | No packages | + | |
- | | + | Hardware Model configuration helper script: ''/ |
- | SD cards:bare: 1. Packaged for supported HWMs | + | |
- | bare initrd: generic, file-based. | + | |
- | Used for QEMU and non-supported Hardware Models. | + | |
- | Documented is AiO, as it's the easiest option and enables offline installation | + | This script executes everything found within: ''/ |
- | and nothing else within | + | |
+ | < | ||
+ | for platformscr in hwm-configure/ | ||
+ | hwm-configure/ | ||
+ | hwm-configure/ | ||
+ | hwm-configure/ | ||
+ | </ | ||
- | Installation process: | + | < |
- | * SD card, contains all packages | + | # Script......: |
+ | # Called from : / | ||
+ | </ | ||
- | * update frequency | + | Fixes up the extlinux.conf for RPis to enable FDT within the RPi native BL. |
- | * simulates a stable release | + | Dependency: hwm-configure/ |
+ | As this creates the u-boot extlinux.conf config. | ||
- | RockPro64 | + | This will run in the correct order due to the file naming scheme. |
- | * Flash SPI | + | |
+ | === Post Install scripts: Remove Installer === | ||
+ | |||
+ | < | ||
+ | / | ||
+ | # Called from: / | ||
+ | </ | ||
- | | + | ** Notes: this needs to run AFTER the u-boot-configure script due to it removing the OS boot stanza template. |
- | 3 interfaces over which you can perform | + | It will run afterwards due to the ordering provided by the file naming scheme |
- | | + | within ''/ |
- | | + | |
- | ssh | + | |
- | * SSH - set rootpw |