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
5
votes
2 answers

Ubuntu Kickstart installation using LVM waits for input

I have a PXE Boot Setup for installing CentOS 5 and Ubuntu 10.04 via Kickstart. I use LVM and installing CentOS without any user interaction works but Ubuntu always asks to "confirm to write changes to disk and configure LVM" during partitioning. If…
Sascha
  • 341
  • 3
  • 10
4
votes
3 answers

How debian's preseed install work?

I am trying to create an automated installer for my debian server, so if the hardware breaks, my employees can reinstall it without selecting languages, adding users and most importantly without having to call the IT dept. I read all the…
voider
  • 43
  • 1
  • 4
4
votes
1 answer

What do the 3 numbers mean in manual partitioning of HDD in Ubuntu preseed?

I see in official documentation this: #d-i partman-auto/expert_recipe string \ # boot-root :: \ # 40 50 100 ext3 \ # …
Piduna
  • 541
  • 4
  • 12
  • 25
4
votes
2 answers

Hard drive is not detected at early stage of unattended installation

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). This preseed file contains multiple rules, including the configuration of partman-auto…
Jav
  • 293
  • 3
  • 13
4
votes
2 answers

Preseeding Ubuntu partman recipe using LVM and RAID

I'm trying to preseed Ubuntu 12.04 server installation and created a recipe that would create RAID 1 on 2 drives and then partition that using LVM. Unfortunately partman complains when creating LVM volumes saying there no partitions in recipe that…
Swav
  • 189
  • 1
  • 7
4
votes
2 answers

Ensure USB disk is never sda, even when booting from it

Some Background... I think this should be a general linux kernel (or kernel module) related question, though I'm facing the issue while preseeding debian for an automated installation. Every time I boot the installer from a usb disk, the usb disk…
andyortlieb
  • 1,092
  • 1
  • 12
  • 25
4
votes
4 answers

PXE boot and DHCP server configuration Failing Auto Installation

I have a ISC DHCP Server installed on Ubuntu 9.10 . I have managed to successfully boot a PXE client , obtain a DHCP address and load the initrd.gz file. But I am facing a vague problem when the debian installer starts up and tries to get a DHCP…
3
votes
1 answer

Can I prevent Debian from hitting DHCP server twice during installation?

I have a DHCP server used to do unattended installations of Debian: boot from PXE, and then install the operating system with a preseed. The DHCP server (Debian's isc-dhcp-server package) is configured to do an operation (do an HTTP POST) when…
Arseni Mourzenko
  • 2,275
  • 5
  • 28
  • 41
3
votes
1 answer

Ubuntu 14.04 Installation with Preseeded RAID 1 Partitioning

I have been having a painful time trying to automate an Ubuntu 14.04 Server Installation with RAID 1 partitioning. I'm testing this on top of VirtualBox with two Virtual Disk Images (dynamically allocated to increase in size up to 1TB) and a custom…
LuckyLuc
  • 151
  • 7
3
votes
2 answers

Debian Preseed use whole device for LVM Physical Volume

I have the following recipe for a preseed install (truncated for readability): d-i partman-auto/expert_recipe string \ boot-root :: \ 1 1 1 free \ $iflabel{ gpt } \ $reusemethod{ } \ method{ biosgrub } \ . \ 512 512…
wnkz
  • 41
  • 1
  • 4
3
votes
3 answers

How To Include Additional Software In preseed.cfg For Ubuntu Server 13.10

I am doing fully automated installation of Ubuntu Server (Saucy) 13.10 and also wants to include custom additional softwares,The Format of preseed.cfg is: d-i debian-installer/locale string en_US d-i debian-installer/language string en d-i…
Pradeep Gupta
  • 387
  • 2
  • 5
  • 18
3
votes
1 answer

How to preseed options before network in Debian/Ubuntu PXE installation?

I'm trying to fully automate an Ubuntu installation over the network, but the preseed file is loaded only after the network adapter detection. Even with those options in the preseed file the installer always asks for this options: # Select…
Vinícius Ferrão
  • 5,520
  • 11
  • 55
  • 95
3
votes
1 answer

Installing Debian with PXE and preseed and dynamic IP address, but configure it finally with static IP address

I had setup an infrastructure for automatic installation of Debian based machines. It uses PXE booting with DHCP and TFTP servers, and preseed to automate the OS installation. What I want is: use DHCP for PXE boot use DHCP for Debian installer: it…
daks
  • 673
  • 7
  • 25
3
votes
1 answer

How do I preseed a simple RAID5 setup on Ubuntu Server?

I have three 2TB drives in the machine; I want a RAID5 of ~4TB capacity, and 100GB or so of swap space. No LVM, no encryption, no fanciness. This is easy to do using the interactive installer, but I'm hoping to basically preseed this whole setup. I…
mikepurvis
  • 1,067
  • 2
  • 9
  • 18
3
votes
2 answers

Specifying preseed for debian installer inside the initrd as a kernel argument

I'm setting up an installer using both PXE and USB, and it works well, however I need to add a few different options to the boot menu to use different preseed files. This is for different situations, like whether or not to set up software raid, and…
andyortlieb
  • 1,092
  • 1
  • 12
  • 25