Skip to content
- Download a Debian netinst ISO.
- Load it onto a USB. Use Ventoy, Rufus, or balenaEtcher.
- Configure BIOS settings to UEFI mode (not LEGACY) and Secure Boot ON.
- Boot into the USB. Prefer not to change the boot order, instead do a one-time boot.
- Once the Debian installer boots, select “Advanced options …” then “Graphical automated install” (NOTE: if the graphical installer doesn’t boot, try the regular ”… Automated install” option).
- Under “Location of initial preconfiguration file”, type a URL or local IP of a webserver serving the
preseed.cfg file.
6a. If this repository is public, use: https://github.com/roib20/homelab-as-code/tree/main/debian
6b. Alternatively, open a terminal in the “debian” directory and run a temporary webserver on a local IP: python3 -m http.server 80
- Continue with the installation. Choose a password for the default user (for security reasons, a password is not included in the public
preseed.cfg file).
- Assuming the preseed file is correct and the correct drive exists on the system, the rest of the installation should continue automatically with no further input needed.
- Once the installation completes successfully, Debian will automatically reboot. If the UEFI boot order is correct, the new Debian installation will automatically boot.
- Log in to the system from its DHCP IP using your SSH keys.