As of May 31, 2023, we have updated our Code of Conduct.

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
1 vote
0 answers
110 views

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 ...
Zulakis's user avatar
  • 4,133
1 vote
2 answers
885 views

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 ...
Definity's user avatar
  • 127
0 votes
0 answers
135 views

Debian Preseed: Malformed IP address

I am trying to deploy a Debian 11.6 host using preseed. This is my config: # This preseed file was rendered from the Foreman provisioning template "Preseed default". # for s293.example.org ...
SPQRInc's user avatar
  • 151
0 votes
1 answer
185 views

Debian preseed - US language - DK keymap

I can't get the debian preseed.cfg to work (I am using debian 11.5) I am trying to setup the fully automated install with US language but Danish keyboard layout. This is where I am now - which ...
Anders's user avatar
  • 142
1 vote
0 answers
187 views

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 ...
jimmy zahgbib's user avatar
0 votes
0 answers
270 views

Debian 11 preseed gpt+swraid+lvm missing partition

I'm trying to get complete unattended installation of Debian bullseye. I need 3 mirrored gpt partitions: 1M for grub code 1G for /boot rest for lvm containing swap and rootfs The problem is that ...
hacker2321's user avatar
0 votes
1 answer
158 views

Ignore the warning less of swap partition while preseed loading

I have the automatisation debian preseed script. Here is partition rules with sharps for swap in my preseed file: !d-i partman-auto/expert_recipe string \ boot-crypto :: ...
Budro's user avatar
  • 1
0 votes
1 answer
412 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 ...
user3056541's user avatar
1 vote
2 answers
328 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
7 votes
1 answer
10k 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
  • 132
0 votes
1 answer
258 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 ...
Bil5's user avatar
  • 143
2 votes
1 answer
671 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
  • 143
1 vote
2 answers
296 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 ...
Bil5's user avatar
  • 143
1 vote
0 answers
401 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] ...
Bil5's user avatar
  • 143
1 vote
1 answer
1k 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
1 vote
1 answer
874 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
0 votes
1 answer
457 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 ...
mampidfs's user avatar
0 votes
0 answers
326 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) ...
Kjellson's user avatar
0 votes
1 answer
298 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....
dxt2's user avatar
  • 3
4 votes
3 answers
4k 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
5 votes
2 answers
7k 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
1 vote
2 answers
268 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 ...
Server Fault's user avatar
  • 3,644
1 vote
0 answers
360 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 ...
zozo6015's user avatar
  • 131
0 votes
1 answer
711 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....
notaverygoodprogrammer's user avatar
0 votes
1 answer
1k 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 ...
Federico's 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 ...
Piduna's user avatar
  • 531
0 votes
1 answer
3k 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 :: ...
Piduna's user avatar
  • 531
2 votes
1 answer
884 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
5 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
0 votes
1 answer
1k 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 ...
Vijay47's user avatar
  • 101
1 vote
1 answer
165 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 ?
jmary's 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 ...
Konstantin Hadzhiev's 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: ...
Karthik Nayak'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
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
  • 235
1 vote
0 answers
813 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 ...
tink's user avatar
  • 1,035
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 ...
Vladimir Kovalchuk's 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 ...
Locane's user avatar
  • 419
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
  • 588
2 votes
1 answer
345 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 ...
Smudge's user avatar
  • 24.3k
2 votes
1 answer
13k 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
0 votes
1 answer
1k 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 ...
Scott Mattan's user avatar
5 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
  • 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 ...
Jav's user avatar
  • 293
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,593
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
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 ...
balin's user avatar
  • 123
2 votes
0 answers
403 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
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 ...
Nathan Neulinger's 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 ...
drhagen's user avatar
  • 201