Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.36 KB

README.md

File metadata and controls

31 lines (23 loc) · 1.36 KB

Debian fully automatic install through ISO remastering

Script and configuration to remaster a debian netinst ISO for 100% unattended install

Usage:

  1. Download a debian "netinst" image (tested with bullseye)
  2. Adapt the preseed.cfg file to your needs. (This one installs just SSH and sudo)
  3. Run:
./make-preseed-iso.sh debian-11.0.0-amd64-netinst.iso

This will create a new ISO image named preseed-debian-11.0.0-amd64-netinst.iso that installs debian on the first available disk without intervention, not even a boot menu prompt.

WARNING: This deletes stuff!

The preseed.cfg that in this repository completely erases the first disk**

** as returned by list-devices disk, excluding usb

Also... open the script and read what it does. I made this for myself because I'm tired of hitting enter 40 times everytime I need to install debian.

The location of the initrd is hardcoded to 'install.amd', this needs to be changed if you are using an iso for other than amd64.

The configuration for the boot menu options is specific to bullseye in the case of a UEFI system because grub uses the position of the entry to specify the default option.

More on how to preseed