Installation

From SprezzOSWiki

Installation will depend on method of installation and system boot firmware. The installer ISO can be used to boot from optical media, hard drives, or USB devices emulated as either one, on both UEFI and BIOS systems.

Optical media

USB

Installer boot sequence

  • GRUB is booted from a device selected by the BIOS or UEFI firmware
    • If the firmware isn't picking the installer media, the SprezzOS installer will not boot!
    • Depending on what (if anything) does get booted, you can perhaps perform a secondary boot. Bootloader-specific techniques are outside the scope of this document.
  • GRUB loads its modules, based on a configuration which has been compiled into it
  • GRUB displays the boot menu, and some kernel (and possibly initrd) are specified.
    • If GRUB isn't booting the installer kernel/initrd, the SprezzOS installer will not boot!
  • The specified kernel begins to boot.
    • If an initrd was specified, it is unpacked in memory as a temporary filesystem root.
    • The initrd in this case provides its own /sbin/init
  • The SprezzOS installer always uses an initrd.
    • This initrd contains a few unpacked udebs. rootskel contains the installer's /sbin/init.
    • It pivots root and runs busybox init

See Also