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

92 questions
21
votes
4 answers

How to get HTTP preseed to work correctly on Ubuntu 10.04 LTS (Lucid)?

Installation media: ubuntu-10.04-desktop-i386.iso I tried a lot of different boot parameters, but either the installer ignored the preseed configuration, or it boot itself directly as LiveCD. An example of the boot parameters I've tried: auto…
netvope
  • 2,113
  • 5
  • 25
  • 35
9
votes
3 answers

Passing variables to use in the preseed file for a Debian Jessie installation

Is it possible to add a variable via the boot prompt to the Debian installer, so that variable can be used in a preseed file? In particular, I'm trying to solve the following problem: We have a pretty extensive post-install script that is generally…
Tim Stoop
  • 578
  • 5
  • 19
8
votes
3 answers

debian 6 preseeding keeps asking "Write the changes to disks and configure LVM?"

I try to use an expert recipe configuring lvm for debian 6.0.5 netinstall. I don't want to be asked any questions, but it keeps asking me "Write the changes to disks and configure LVM?" Here is part of my preseed.cfg: d-i partman-auto/disk string…
Isaac
  • 1,195
  • 3
  • 25
  • 43
7
votes
4 answers

12.04 preseeded install with RAID and LVM

I am trying to set up a preseed install (Ubuntu 12.04.03 64-bit) with the following partitioning recipe, but it's just not working and I'm not sure why. Please, Obi-Wan, you're my only hope. The -1 in the sizes were originally 1000000000 so I tried…
MikeyB
  • 38,725
  • 10
  • 102
  • 186
7
votes
2 answers

Debian/Ubuntu set preseed mirror variable via early/run command

I need to know how can I add this to preseeding via d-i early/command or d-i preseed/run to set my mirror inside preseed.cfg from /proc/cmdline argument. If I do: d-i preseed/run string ws/ubuntu.sh #!/bin/sh for x in `cat /proc/cmdline`; do …
manga
  • 131
  • 1
  • 5
7
votes
1 answer

Preseeding debian 11 fully unattended (get rid of questions)

I'm trying to preseed debian 11 netinstall fully automated. I read many of the documentation here : Here is my boot line (from a grub.cfg) set default="autoinstall" set timeout=3 menuentry "Debian 11 Fully Automated UEFI LVM LUKS BTRFS Remote…
proxyd43
  • 123
  • 1
  • 11
6
votes
3 answers

How to use/debug Debian preseed with SSL using Startssl Certs

preseeding work perfect for me using: auto url=http://mydomain.com/preseed.cfg but as soon as i use a https connection, it doesn't work any more. auto url=https://mydomain.com/preseed.cfg with wget i can download the preseed file without a…
c33s
  • 1,465
  • 3
  • 20
  • 39
5
votes
2 answers

Preseed automatic partitioning

I'm using the following partman settings for automated installs of VMs for some years now: d-i partman-auto/disk string /dev/sda d-i partman-auto/method string regular d-i partman-lvm/device_remove_lvm boolean true d-i partman-md/device_remove_md…
Gerald Schneider
  • 19,757
  • 8
  • 52
  • 79
5
votes
1 answer

dpkg-reconfigure: dialog frontend sets up postfix successfully; non-interactive frontend fails

(N.B. In this question, a leading # indicates a root prompt, not a comment. Also, I have replaced the actual hostname with .) As the debconf (7) man-page states, dpkg-reconfigure can be invoked with any one of several front-ends,…
user61015
5
votes
1 answer

Preseed Ubuntu / Debian - Partitioning: prevent "Partition 1 does not start on physical sector boundary."

Preseeding of Ubuntu / Debian works correct - system is bootable. But fdisk -l is resulting following: Disk /dev/sda: 50 GiB, 53687091200 bytes, 104857600 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096…
eXe
  • 235
  • 3
  • 13
5
votes
1 answer

Unattended installation with preseed -- give a custom device to partman-auto

I'm doing an unattended installation of Ubuntu-14.04-server with a USB drive and a preseed file on different type of servers (HP Proliant ML110, ML310, ML350). On the ML110 and ML310, the hard drive is in /dev/sda and the USB drive takes…
Jav
  • 293
  • 3
  • 12
5
votes
7 answers

Debian preseed.cfg - Language not set

I'm trying to write a preseed.cfg which should be used for a full automated installation of Debian wheezy. For some reasons the installer is still asking to select a lanugage even if I set this in my preseed.cfg. I got these options from the…
Denny Crane
  • 1,483
  • 2
  • 11
  • 9
5
votes
2 answers

How can I answer the "scan another CD" prompt during Debian install with preseed?

I've got a preseeded install from cdrom working smoothly, except for ONE prompt. It does the scan of the cdrom before installing software, and asks me if I want to insert an additional CD to scan. Is there any way to force this question to be…
Nathan Neulinger
  • 597
  • 1
  • 5
  • 16
5
votes
1 answer

reusing existing RAIDs on preseeded installation

I'm trying to automate the reinstallation process of existing Ubuntu installations. Partition layout: md0( raid1, /dev/sda1#/dev/sdb1 ) - swap (2G) md1( raid1, /dev/sda2#/dev/sdb2 ) - / (20G) md2( raid1, /dev/sda3#/dev/sdb3 ) - PV (remaining…
Frank
  • 51
  • 1
5
votes
1 answer

preseed command string fail with newline character using virt-install initrd-inject

I am creating a new virtual machine using libvirt's virt-install command. The command pulls a local preseed file from the hypervisor using initrd-inject: virt-install \ --autostart \ --name vm1 \ --ram 4096…
simplystuart
  • 153
  • 4
1
2 3 4 5 6 7