Skip to main content

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
92 views

Debian preseed in initrd not running?

I'm trying to make a headless installer of Debian so I can connect through SSH to install it on a system without peripherals. I have this setup but the preseed does not seem to be executed. I followed ...
Bytequill's user avatar
1 vote
1 answer
161 views

cloud-init queries DHCP

We are running a preseeded Ubuntu installation from disk using ubuntu autoinstall (https://ubuntu.com/server/docs/install/autoinstall) Since upgrading to 20.04.6, we are facing issues when the cloud-...
Fang's user avatar
  • 199
0 votes
1 answer
713 views

How to get Debian RAID 1 preseed to populate EFI partitions on both disks?

Most similar question I found: Ubuntu software raid on efi, how to boot off second drive? My situation is, I have a working preseed file for Debian installation that will configure my NVMe drives to ...
Wildcard's user avatar
  • 182
0 votes
0 answers
21 views

Preseed web/PHP front end

Has anyone come across a front-end (web based PHP preferably) for generating preseed files for automated server installs? Seems like the backend config changes occasionally so I'm sure keeping it up ...
tc0nn's user avatar
  • 1
1 vote
0 answers
236 views

Debian Bookworm Preseeding MD5 Checksum error

I have tried everything I can think of and different ways of calculating the MD5 but everytime the install comes back with Checksum does not match. Can anyone help me? This is my txt.cfg. The checksum ...
Colin Liew's user avatar
1 vote
0 answers
388 views

How to run script after partitioning step in a automated debian install (preseed.cfg)?

I am trying to configure an automated Debian 12 installation using the BTRFS filesytem, which should support timeshift for snapshots. So far, I have a complete preseed.cfg, integrated into the Debian ...
youllknow's user avatar
  • 151
1 vote
0 answers
470 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,335
1 vote
2 answers
6k 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
  • 137
1 vote
0 answers
265 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
  • 161
0 votes
1 answer
434 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
487 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
1 vote
1 answer
718 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
  • 21
0 votes
1 answer
764 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
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
8 votes
1 answer
15k 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
  • 162
0 votes
1 answer
507 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
  • 153
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
1 vote
2 answers
481 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
  • 153
1 vote
1 answer
771 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
  • 153
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
1 answer
2k 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
586 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
365 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
435 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
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
5 votes
2 answers
9k 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
302 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,814
1 vote
0 answers
411 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
  • 141
1 vote
1 answer
805 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
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
1 vote
1 answer
4k 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
  • 571
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
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
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
181 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
  • 215
1 vote
0 answers
817 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,034
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
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
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
  • 628
2 votes
1 answer
397 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
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
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
6 votes
1 answer
6k 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
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
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