Questions tagged [preseed]

Preseeding provides a way to set answers to questions asked during the installation process of a Debian operating system.

Preseeding provides a way to set answers to questions asked during the installation process of a Debian operating system, without having to manually enter the answers while the installation is running. This makes it possible to fully automate most types of installation and even offers some features not available during normal installations.

Preseeding methods:

  1. Adding the preseed file to the installer's initrd.gz

    Installation can be fully automated by adding a preseed file to the installer ISO's initrd.gz. The downside of this method is that net installer has to be generated whenever a preseed file is modified.

  2. Autoloading the preseeding file from a webserver via DHCP

    If you have control over the DHCP server on your network, this method allows fully automated installations.

  3. Loading the preseeding file from a webserver

    Type "auto url=http://webserver/path/preseed.cfg", replacing the URL with the address to your preseed configuration file

97 questions
1
vote
0 answers

Why won't my Ubuntu 12.04 Preseed file work with LVM

Here is my preseed file: d-i partman-auto/disk string /dev/sda d-i partman-auto/method string lvm d-i partman-lvm/device_remove_lvm boolean true d-i partman-lvm/device_remove_lvm_span boolean true d-i partman-auto/purge_lvm_from_device boolean…
Dan
  • 11
  • 1
1
vote
1 answer

Is it possible to use preseed/url with authentication?

We are using a preseed.cfg via preseed/url to automate system deployment/configuration. The preseed files are kept in source control (Subversion). This makes them readily available via HTTP, with the added bonus of being able to limit access. I'd…
Randolph
  • 135
  • 4
1
vote
1 answer

Why does this preseed for gitolite fail?

I'm installing gitolite on a Debian Squeeze box with the following preseed: gitolite gitolite/gituser string git gitolite gitolite/adminkey string ssh-rsa AAAAB3ECT gitolite gitolite/gitdir string …
troutwine
  • 1,452
  • 5
  • 18
  • 33
1
vote
1 answer

Ubuntu preseed install fails: VFS: Cannot open root device "(null)" or unknown-block

I'm attempting to do an Ubuntu 11.10 server install using a preseed file for the first time. I created my preseed file by starting with the example file and just uncommenting/choosing what seemed reasonable. Here's the result, with no comments, for…
Adam Tuttle
  • 213
  • 3
  • 14
1
vote
1 answer

Warnings about partition tables on /dev/md? during preseed installation. (Debian Lenny)

I'm setting up an environment to install many Lenny machines at once and I need to avoid any dialog with the process, corner cases aside. One thing that consistently troubles me is that after my preseeded disk recipe creates Linux RAID-1 devices,…
andyortlieb
  • 1,092
  • 1
  • 12
  • 25
1
vote
1 answer

Debian preseed late_command is not executed

On /var/log/installer/cdebconf/questions.dat i says this: Name: preseed/late_command Template: preseed/late_command Value: wget http://suportrecerca.barcelonamedia.org/Utilitats/preseed/postscript/post.sh \ -O /usr/sbin/post.sh; chmod 777…
Marc Riera
  • 1,637
  • 4
  • 23
  • 38
1
vote
0 answers

Debian Bookworm Preseeding MD5 Checksum error

I have tried everything I can think of and different ways of calculating the MD5 but everytime the install comes back with Checksum does not match. Can anyone help me? This is my txt.cfg. The checksum I've got for the preseed.cfg below it is…
Colin Liew
  • 11
  • 1
1
vote
0 answers

How to run script after partitioning step in a automated debian install (preseed.cfg)?

I am trying to configure an automated Debian 12 installation using the BTRFS filesytem, which should support timeshift for snapshots. So far, I have a complete preseed.cfg, integrated into the Debian 12 netinstall iso, which fully automates the…
youllknow
  • 151
  • 1
  • 5
1
vote
0 answers

debian installer - automated keyboard layout selection for hostname configuration page

I'm trying to automatically install debian using a preseed file. However, there is one piece of information, that should be entered manually, which is the hostname. To ensure that the hostname can be entered without problems, the correct keyboard…
Zulakis
  • 4,153
  • 14
  • 48
  • 76
1
vote
2 answers

What is the difference between Cloud-Init and Autoinstall?

So I have been trying to essentially install Nixos from the official site with a Cloud-Init for Ubuntu Server 22.04. I want to really understand how to install packages that I potentially might have to compile or other ways of installing packages…
Definity
  • 127
  • 6
1
vote
0 answers

Unwanted partition after partman-auto configuration

I have an issue while i'm trying to automate the creation for my debian VM template. I tried to create a specific disk partitioning with lvm, everything goes on correctly. But after boot, I see that I have multiple unwanted partition on my…
1
vote
2 answers

Enabling verbose output during debian preseed installation, namely during software installation

During a Debian pre-seed automated installation onto a VM, the output is particularly... well, quiet. There's no transparency into the progress of things, or to even see the Aptitude output during the software installation process - just basic,…
1
vote
2 answers

Debian unattended (preseed) installation, access to audio card(s)

I'm using the preseeding feature in order to shape a custom Debian 10 x64 system. Everything is happening well, except that during the late_command step, I'm running a shell script to configure and deploy miscellaneous things and I would like to be…
Bil5
  • 153
  • 5
1
vote
1 answer

Debian automated install preseed auto partitioning seemingly ignored

I'm playing with Debian preseed files trying to auto-partitioning a single disk. The final disk state I'm trying to reach is the following : boot Primary Partition 1 ext3 [256MB] primary /boot (/dev/sda1) rootfs …
Bil5
  • 153
  • 5
1
vote
1 answer

How do you use method "keep" in partman-auto?

I have a preseed configuration with specific requirements for disk layout, including partition sizes. partman-auto does not respect the maximum partition size for the last partition on the disk. https://wikitech.wikimedia.org/wiki/PartMan/Auto…