2022-04-23 17:34:45 +02:00
2022-04-23 17:34:45 +02:00
2022-04-21 22:28:01 +02:00
2022-04-23 17:34:45 +02:00
2022-04-21 22:28:01 +02:00

UDIB

UDIB is the unattended debian installation (image) builder. As the name would suggest, it is a tool which builds a debian installation image which, if used to boot from, installs the latest stable release of Debian Linux to the machine without any user interaction required whatsoever. Configuration of the installed system is done by editing preseed files.

Prerequisites

Target machine

Any target machine on which you wish to install Debian using images built using UDIB must fulfil the following requirements:

  • Architecture: An x64-amd CPU
  • Network access: an ethernet connection with internet access (wifi does not work)

Build machine

UDIB has the following dependencies, installed on and in the $PATH of the machine on which you build your image:

  • python3 (3.10.4 known to work)
  • xorriso (1.5.4 known to work)

  • gpg (2.2.32 known to work)
  • GNU cpio

    • preinstalled on most distributions

Internet access is required so that UDIB can download the Debian installation image.

How it works

UDIB does the following:

  1. download the latest debian stable installation ISO
  2. verify integrity and authenticity of the obtained ISO
  3. extract the ISO
  4. inject the preseed configuration into the ISO's initrd
  5. repack the modified ISO

Preseeding

The Debian project provides a well-written and detailed official guide on how preseeding works, and how to implement it. The Debian wiki offers a quick overview of preseeding as well.

Example preseeding configurations are provided as well. The basic example is what UDIB is based on, but much more detailed preseeding is also possible, as seen in the full example.

ISO repacking

The Debian wiki provides both a basic guide and a detailed guide on repacking debian installation images with the preseed file (and other files) contained within.

Description
UDIB est l'outil de construction d'installation Debian non assistée.
Readme 2.6 MiB
Languages
Shell 63.7%
Python 36.3%