Questions tagged [preseed]

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

Filter by
Sorted by
Tagged with
21 votes
4 answers
22k views

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 ...
netvope's user avatar
  • 2,143
9 votes
3 answers
7k views

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 ...
Tim Stoop's user avatar
  • 598
8 votes
3 answers
17k views

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 ...
Isaac's user avatar
  • 1,215
7 votes
4 answers
7k views

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 ...
MikeyB's user avatar
  • 39.7k
7 votes
2 answers
4k views

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....
manga's user avatar
  • 141
7 votes
1 answer
14k views

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 &...
proxyd43's user avatar
  • 152
6 votes
1 answer
5k views

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 ...
Jav's user avatar
  • 313
6 votes
3 answers
2k views

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 ...
c33s's user avatar
  • 1,535
6 votes
1 answer
3k views

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 <myhostname>.) As the debconf (7) man-page states, dpkg-reconfigure ...
user avatar
6 votes
1 answer
2k views

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 \ --...
simplystuart's user avatar
5 votes
2 answers
8k views

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/...
Gerald Schneider's user avatar
5 votes
2 answers
4k views

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 ...
Nathan Neulinger's user avatar
5 votes
1 answer
2k views

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 ...
eXe's user avatar
  • 215
5 votes
1 answer
2k views

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's user avatar
  • 571
5 votes
2 answers
6k views

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 ...
Sascha's user avatar
  • 341
5 votes
8 answers
5k views

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 ...
Denny Crane's user avatar
  • 1,643
5 votes
1 answer
667 views

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( ...
Frank's user avatar
  • 51
4 votes
2 answers
2k views

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 ...
andyortlieb's user avatar
  • 1,102
4 votes
3 answers
5k views

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 ...
voider's user avatar
  • 43
4 votes
2 answers
4k views

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, ...
andyortlieb's user avatar
  • 1,102
4 votes
2 answers
2k views

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 ...
Jav's user avatar
  • 313
4 votes
2 answers
6k views

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 ...
Swav's user avatar
  • 189
4 votes
4 answers
3k views

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 ...
Harihara Vinayakaram's user avatar
3 votes
1 answer
2k views

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 ...
Arseni Mourzenko's user avatar
3 votes
3 answers
9k views

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-...
Pradeep Gupta's user avatar
3 votes
1 answer
4k views

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 ...
daks's user avatar
  • 673
3 votes
1 answer
2k views

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

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 ...
mikepurvis's user avatar
  • 1,067
3 votes
1 answer
1k views

Showing message to the user during a Debian unattended preseeded installation

During the late_command step of an unattended installation, I'm running a shell script : d-i preseed/late_command string in-target /bin/sh -c './execute-script.sh' When the late_command step is ...
Bil5's user avatar
  • 153
3 votes
1 answer
1k views

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 ...
LuckyLuc's user avatar
  • 151
3 votes
2 answers
4k views

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{ } \...
wnkz's user avatar
  • 41
3 votes
1 answer
4k views

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 ...
Vinícius Ferrão's user avatar
2 votes
1 answer
15k views

Preseeding debian install - EFI

The EFI partition is formatted in ext4 during the setup of debian. I am trying to preseed the install of debian jessie and I can't get it working since the UEFI partition is formatted in ext4 (got ...
Antho's user avatar
  • 21
2 votes
4 answers
6k views

preseeding debian netinstall does not get preseed file via http

I am trying to do a preconfigured netinstall of debian 6, using preseeding. I have setup a tftp server, which serves kernel and initrd, however the parameters specifying the preseed file seam not to ...
Isaac's user avatar
  • 1,215
2 votes
2 answers
4k views

Ubuntu installer over PXE doesn't see network adapters => can't download preseed

I'm booting one virtualbox VM from another virtualbox VM (with cobbler) over PXE. Both machines have 2 adapters: 1) external network and 2) host-only network. The "client" VM successfully boots into ...
jkff's user avatar
  • 293
2 votes
1 answer
6k views

When seeding a Windows DFS replication copy, do you need to copy security?

I may need to rebuild a 1TB Windows 2008 DFS replication folder between our UK and USA sites. It's good practise to seed the other copy before starting replication so that the bulk of the data doesn't ...
Rob Nicholson's user avatar
2 votes
1 answer
4k views

Ubuntu Preseed not using local mirror

I have a full ubuntu mirror located on the server http://leelah.home.ianwilson.org/ubuntu/ In my preseed.cfg file, I have the following d-i config for selecting my country mirror: d-i mirror/...
Ian Wilson's user avatar
2 votes
2 answers
1k views

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 ...
Qix - MONICA WAS MISTREATED's user avatar
2 votes
1 answer
1k views

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:...
Rachel Hutchison's user avatar
2 votes
1 answer
5k views

Ubuntu preseed static IP configuration (virt-install)

I want to create Ubuntu 14.04 VM with virt-install and preseed configuration. I have provided: d-i netcfg/enable boolean true d-i netcfg/choose_interface select auto d-i netcfg/disable_dhcp boolean ...
Vladimir Kovalchuk's user avatar
2 votes
1 answer
385 views

Securely deploying secrets to boxes during provisioning

During a fully automated deployment on physical hardware (using pxeboot / preseed / kickstart to install and configure a minimal system for bootstrapping) we need to deploy certain secrets - such as ...
user avatar
2 votes
1 answer
1k views

Preseed RAID10 does not seem to work

I have this config (excerpt) for my preseed d-i partman-auto/method string raid d-i partman-auto/disk string /dev/sda /dev/sdb /dev/sdc /dev/sdd d-i partman-auto/expert_recipe string \ multiraid:...
Doridian's user avatar
  • 331
2 votes
1 answer
5k views

Install package to use with early_command in Ubuntu preseed file

I'm trying to make api calls during an ubuntu install using curl, but it always returns the error code 127 which means the command does not exist, this is what it looks like: d-i preseed/...
Ruben Quinones's user avatar
2 votes
2 answers
2k views

preseeding locales in debian

I am trying to use debconf to preseed the values for the locales package in Debian squeeze, so that I can reconfigure it non-interactively to, e.g., generate all locales. I extract the right selection ...
bronto's user avatar
  • 121
2 votes
2 answers
530 views

How do you install Ubuntu Server with a custom kernel?

I'm installing Ubuntu Server in a machine that has certain RAID controller not supported by the default kernel. A patch for the kernel has to be downloaded and compiled as a module for this to work. ...
Andor's user avatar
  • 601
2 votes
1 answer
1k views

Debian preseed prompts disk select dispite it being seeded

In our environment we are automating deployment of Debian VMs to run workloads. Everything in our preseed file works except for the selection of the disk. This still gets prompted. Our preseed ...
kazaamjt's user avatar
  • 145
2 votes
1 answer
2k views

Debian 8.3.0 - PXE installer asking for CDROM?

I'm sure I'm missing something easy, but I can't think of what it is. I used Cobbler to import Debian 8.3.0, but when I attempt to install it on a machine attached to the network, the installer asks ...
Locane's user avatar
  • 429
2 votes
1 answer
768 views

Run preseed commands as specific user / switching users

Beside the usual setup where I create a normal user foo, I want to run a few d-i preseed/late_command commands as that foo user. My initial thought was to simply call those commands with sudo, e.g: ...
pdu's user avatar
  • 177
2 votes
2 answers
3k views

Ubuntu 10.10 / Debian preseed keyboard origin seed

Using a preseed file for Ubuntu 10.10 alternate, I am unable to skip pass the "Origin of keyboard" question. Any ideas why? My preseed file is as below Reference link here #### Contents of the ...
vener's user avatar
  • 133
2 votes
1 answer
2k views

How can I add a kernel argument to a debian preseed file?

I've been using Debian preseed files for a while now doing netinstalls of Debian and Ubuntu. Ubuntu 20.04 has a weird video problem even on the text terminal. After install, sometimes you can't see ...
Billy left SE for Codidact's user avatar
2 votes
0 answers
445 views

Debian d-i preseed partman tmpfs

I am trying to create automatic provisioning of my servers using pxeboot and netinstall. Everything works ok (RAID, LVM, ...), but I would need to create tmpfs for some directories. I would like to ...
Yarik Dot's user avatar
  • 1,583