Is there any way to make the installation of Debian unattended, I need to install on multiple machines with similar hardware.

Basically I need to install Debian system without human interaction, with predefined parameters such as users and passwords.

  • 1
    How similar is the hardware? You might be able to use clonezilla and a drbl server. – user2313067 Apr 29 '15 at 17:08
  • I wondered the same thing, apparently has nice features and options. – Francisco Tapia Apr 29 '15 at 17:11

yes you can do that using Debian's "preseeding" system which is based on the deb-conf engine.

read here: https://www.debian.org/releases/wheezy/i386/apbs02.html.en

Basically you create a preseed file that the install system retrieves at boot time reading a series of parameters/variables that correspond to the inputs required by the Debian interactive install system (deb-conf). If the preseed file has a particular variable in it the corresponding interactive parameter request is just skipped taking the value from the pressed file. You can define "all" the install required parameters then you get a Debian fully unattended install.

Debian Preseed Reference.

  • ill do some test but i think this is the right answer. – Francisco Tapia Apr 28 '15 at 16:52

You can go the route of FAI, "Fully Automated Installation" which is specifically designed for multiple repetitive installs. See the website for details.

  • I'll also check it, seem insteresting. – Francisco Tapia Apr 29 '15 at 13:56
  • Why would I learn a new tool for doing what Debian already natively (perfectly) does... – Pat May 5 '15 at 13:17

Google for "Debian preseeding". It usually involves setting up a DHCP/DNS/TFTP/HTTP server combination, serving addresses, names, basic boot files and preseed files. You can skip all but the last with a bootable usb stick with mini iso but with a local preseed file.

  • the point of the community is get a right answer or some references, not only a Google for... – Francisco Tapia Apr 28 '15 at 16:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.