[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.
Next revision | Previous revision | ||
slackwarearm:slackwareinstaller [2023/09/26 12:05 (UTC)] – created mozes | slackwarearm:slackwareinstaller [2023/11/21 15:46 (UTC)] (current) – mozes | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Slackware Installer ====== | + | ====== Slackware |
- | Using the Installer, you can configure | + | Using the Installer, you can install and configure |
- | rescue environment | + | |
- | development environment | + | |
- | . and lastly, install Slackware | + | |
- | 3 installer package types: | + | ===== Installer uses ===== |
- | AiO | + | |
- | * is what's documented | + | |
- | Bare installers: | + | The Installer can also be used as: |
- | Show URLs | + | |
- | No packages | + | |
- | updated more frequently, with every kernel update | + | * a rescue environment |
- | SD cards:bare: 1. Packaged for supported HWMs | + | * a development environment to onboard new Hardware Models. |
- | bare initrd: generic, file-based. | + | * installing Slackware! |
- | Used for QEMU and non-supported | + | |
- | Documented is AiO, as it's the easiest option and enables offline installation | ||
- | and nothing else within the environment - e.g. web server, etc. | ||
+ | ===== Slackware Installer packages ===== | ||
- | Installation process: | + | There are three types of Slackware Installer packaged for the AArch64 architecture. |
- | * SD card, contains all packages | + | They are described below in the order in which they are created by the Slackware ARM build system. |
- | * update frequency | ||
- | * simulates a stable release | ||
- | RockPro64 | + | ==== Naked Installer: Generic Initial RAM Disk ==== |
- | * Flash SPI | + | |
+ | The AiO and Bare Installer packages target specific Hardware Models and enable booting from the SD card directly into the Slackware Installer. | ||
+ | The [[https:// | ||
- | Installer: | + | It's usually used to develop support for (presently) unsupported Hardware Models. |
+ | // | ||
- | 3 interfaces | + | 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. |
- | ssh | + | |
+ | ^ 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 | ||
+ | * Over a Serial connection: This is useful for remote installations where a serial | ||
+ | * 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 | ||
+ | </ | ||
+ | |||
+ | They will be executed in order. | ||
+ | |||
+ | ==== Examining some post install scripts ==== | ||
+ | |||
+ | === Post install scripts: Hardware Model Helper scripts === | ||
+ | |||
+ | Hardware Model configuration helper script: ''/ | ||
+ | |||
+ | This script executes everything found within: ''/ | ||
+ | |||
+ | < | ||
+ | for platformscr in hwm-configure/ | ||
+ | hwm-configure/ | ||
+ | hwm-configure/ | ||
+ | hwm-configure/ | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | # Script......: | ||
+ | # Called from : / | ||
+ | </ | ||
+ | |||
+ | Fixes up the extlinux.conf for RPis to enable FDT within the RPi native BL. | ||
+ | Dependency: hwm-configure/ | ||
+ | As this creates the u-boot extlinux.conf config. | ||
+ | |||
+ | This will run in the correct order due to the file naming scheme. | ||
+ | |||
+ | |||
+ | === 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. | ||
+ | |||
+ | It will run afterwards due to the ordering provided by the file naming scheme | ||
+ | within ''/ | ||
- | * SSH - set rootpw |