Skip to content

Script and configuration for fully automated debian install

License

Notifications You must be signed in to change notification settings

ssdxj/debian11-preseed

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Script and configuration for fully automated debian install

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%