Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

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
0 votes
0 answers
31 views

How would I configure grub to skip the menu or set a timeout?

I was able to successfully configure PXE and pressed to get an entirely automated install running except for 1 issue: The GRUB menu pauses indefinitely until the user selects an option. I've got my ...
user avatar
0 votes
0 answers
48 views

Preseed partitioning

I search to automatize my partitioning on Ubuntu but I fail to have my partition like this diagram below and I don't understand all parameters I need in the preseed documentation. https://help.ubuntu....
user avatar
0 votes
0 answers
51 views

Struggling with turning on the Project Quota in preseed (ext4, debian 11)

I'm trying to turn on the Project Quota on all my ext4 partitions during preseeded Debian 11 installation I've started with recipe like this below, with options/prjquota{ prjquota } oprtion, but this -...
user avatar
0 votes
1 answer
55 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 ...
user avatar
6 votes
1 answer
4k 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 &...
user avatar
  • 103
0 votes
1 answer
106 views

Debian installer won't exit after preseeded installation

I'm doing a preseeded installation that involves displaying debconf INFO messages right inside the debian installer. At the end of the late_command, I'm expecting the system to eject the installation ...
user avatar
  • 133
1 vote
1 answer
307 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 ...
user avatar
  • 133
1 vote
2 answers
136 views

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 ...
user avatar
  • 133
1 vote
0 answers
187 views

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] ...
user avatar
  • 133
0 votes
1 answer
712 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 ...
user avatar
0 votes
1 answer
382 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:...
user avatar
0 votes
1 answer
310 views

Ubuntu Preseed - Netboot installs

I have searched the docs and cannot find any mention of what I am trying to achieve. We have a custom Ubuntu installation that contains scripts, these are called in the preseed config file. We are ...
user avatar
0 votes
0 answers
295 views

Ubuntu 16.04. Netinstall kickstart fails

i'm trying to install a server via pxe with ubuntu 16.04. server. So what does fine is the PXE Boot label install (x86_64 - Ubuntu 16.04) menu label Installer (x86_64 - Ubuntu 16.04) ...
user avatar
0 votes
1 answer
146 views

Debian preseed.cfg formatting

I'm trying to customise a user profile from preseed.cfg and some commands are working and some not. There is much conflicting snippets across the internet so googling actually does more harm than good....
user avatar
  • 3
4 votes
3 answers
3k 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 ...
user avatar
  • 43
5 votes
2 answers
6k 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/...
user avatar
1 vote
2 answers
220 views

Ubuntu 16.04 installer: any way to save setup info for a preseed?

Is there a way to save my setup selections from a regular CDROM install for use as a preseed or kickstart file? I'm experimenting with booting hosts from PXE to standardize Ubuntu installations and ...
user avatar
  • 3,434
1 vote
0 answers
310 views

booting debian image via PXE boot gives No common CD-ROM drive detected

I have created a custom debian image which should be autoinstall itself using preseed. When I load the image via Dell idrac virtual drive everything goes smoothly, however if I am trying to serve the ...
user avatar
  • 131
0 votes
1 answer
641 views

PXE install of Debian Stretch to a host with two network devices

I know this issue has been addressed a lot on the internet, but I never could find an answer that applies to my situation. I'm installing a Debian machine (9.3) using a PXE install, and a preseed file....
user avatar
0 votes
1 answer
946 views

Ubuntu preseed partman-auto with a ssd end a lvm on RAID

I'm trying to preseed an Ubuntu 16.04 on a SuperMicro server which has one 32 GiB SSD and two 1TB disks in RAID1 I configured in BIOS. My goal is to have this partitions: SSD: 2GB /boot 1 or 2GB ...
user avatar
  • 101
4 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 ...
user avatar
  • 501
0 votes
1 answer
2k views

How to make custom partitioning of hdd via preseed?

According to official debian manual (https://www.debian.org/releases/stable/amd64/apbs04.html.en), i saw: #d-i partman-auto/expert_recipe string \ # boot-root :: ...
user avatar
  • 501
2 votes
1 answer
589 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 ...
user avatar
  • 145
4 votes
1 answer
2k 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
0 votes
1 answer
971 views

Automated install using preesed - grub confirmation message issue

I am performing an automated install of a custom ubuntu 14.04 server using a combination of preseed and kickstart methods. Everything is fine except the annoying grub confirmation message as shown ...
user avatar
1 vote
1 answer
135 views

How to ensure that hostname will be set to Virtualbox VM name when using a preseed automated install debian file with PXE boot?

Let's say I create a VM in Virtual Box. My environnement with TFTP boot is ready. The install goes well, except that the machine doesn't have the VM name as hostname ... How to force that ?
user avatar
  • 119
1 vote
0 answers
2k views

Ubuntu 16.04 Server preseed - Partitioning: Use entire disk

I am trying to generate a semi-automated Ubuntu installation. However I am running in some issues with the preseed file with regards to partitioning. What I would like to happen is: skip the menu ...
user avatar
-1 votes
1 answer
2k views

Ubuntu Preseed file for RAID 1 without LVM

I'm trying to use Ubuntu's Preseed file to install ubuntu with RAID 1 with no LVM. Basically I want /dev/sda and /dev/sdb to be in RAID, no home and swap partition is needed. This is what I tried: ...
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 ...
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 ...
user avatar
  • 235
1 vote
0 answers
806 views

Ubuntu 16.04, Dell R320 & preseed install via "The Foreman"

After lots of trial & error I've finally given up on the "SATA RAID" the R320 provides, and resorted to using AHCI mode. Partitioning/Provisioning work fine, but on the next boot the machine ...
user avatar
  • 1,037
2 votes
1 answer
4k 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 ...
user avatar
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 ...
user avatar
  • 399
9 votes
3 answers
6k 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 ...
user avatar
  • 568
2 votes
1 answer
295 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
  • 23.9k
2 votes
1 answer
12k 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 ...
user avatar
  • 21
0 votes
1 answer
978 views

Debian/Installer Preseed Remove Post Install Kernel Options + Multi NIC Preseed Tip

In light of recent automation trends, I would like to be able to fully automate an install of Ubuntu. My my first problem was auto selection of the bootif with multiple NICs break Ubuntu/Debians ...
user avatar
5 votes
1 answer
4k 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 ...
user avatar
  • 293
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 ...
user avatar
  • 293
5 votes
7 answers
4k 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 ...
user avatar
  • 1,473
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 ...
user avatar
  • 151
0 votes
2 answers
3k views

Preeseding a debian stable install with a complex partitioning scheme - missing physical volume

My personal systems run on: An open /boot partition separately random key encrypted /tmp and swap partitions and a password encrypted btrfs lvm volume holding everything else. My latest project is ...
user avatar
  • 123
1 vote
0 answers
347 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 ...
user avatar
  • 1,523
5 votes
2 answers
3k 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 ...
user avatar
1 vote
1 answer
1k views

Unable to NFS mount in Debian preseed target

I am installing Debian 7.5 using a preseed. I am using the linux and initrd.gz supplied by Debain 7.5 for PXE booting. I have gotten the entire system to the point where I can install the OS ...
user avatar
  • 171
2 votes
2 answers
399 views

veewee: build gets stuck during installation of libssl on debian 7.4

I'm new to vagrant and veewee. I'm trying to build a debian 7.4 image but after running the build veewee vbox build 'debian-7.4' the process gets stuck on the installation of libssl because it ...
user avatar
  • 457
5 votes
1 answer
582 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( ...
user avatar
  • 51
3 votes
2 answers
3k 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{ } \...
user avatar
  • 41
3 votes
3 answers
8k 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-...
user avatar
1 vote
0 answers
2k views

How to achieve ubuntu automatic installation with help of USBDRIVE?

I wants to place Ubuntu 13.04 Server edition ISO Image to USB pendrive and then automatic installation by help of this usbdrive. I perform following steps: (1) Format the pendrive, Assuming my ...
user avatar