Ubuntu – How to create ubuntu installation preseed file

preseedsystem-installation

I am manually installing Ubuntu on the laptop from USB drive (ISO image). I would like to record my answers to the installation questions(language, keyboard layout, disk partitioning etc) and create pressed file (which feeds d-i answers to questions normally asked by debconf) to be used in the future to automate installation on identical/similar laptops/netbooks.

Best Answer

I've found this:

http://debian-handbook.info/browse/stable/sect.automated-installation.html

Which gives me:

sudo apt-get install debconf-utils
sudo debconf-get-selections --installer

the later will dump the answered question in preseed's format, still a lot of garbage in the output. But the answer seems here.

execute it without root level to see the path of answer file, for me:

/var/log/installer/cdebconf/questions.dat

Some link(s) I've found, not enough reputation to post more ;)

At the bottom of this page you will find most of the main links to become a preseed master.

Related Question