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
1 answer
547 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 ...
0 votes
0 answers
62 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 ...
1 vote
1 answer
112 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-...
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 ...
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 :: ...
0 votes
0 answers
19 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 ...
1 vote
0 answers
212 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 ...
1 vote
1 answer
713 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] ...
1 vote
0 answers
358 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 ...
1 vote
0 answers
402 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 ...
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 ...
1 vote
2 answers
4k 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 ...
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 ...
0 votes
1 answer
409 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 ...
1 vote
0 answers
255 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 ...
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 ...
0 votes
1 answer
715 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 ...
1 vote
0 answers
452 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 ...
2 votes
3 answers
1k views

How can I install a system with apt-get without ncurses configuration screens?

I wrote a BASH script for doing an unattendend install on an ARM based Debian system. One of the packages being installed is samba. I added apt-get -y install samba into my setup routine, but apt-...
1 vote
1 answer
623 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 :: ...
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 ...
1 vote
2 answers
448 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 ...
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 &...
0 votes
1 answer
463 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 ...
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 ...
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 ...
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:...
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 ...
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 ...
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-...
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 ...
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 ...
0 votes
1 answer
571 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 ...
0 votes
1 answer
407 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....
-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: ...
0 votes
0 answers
361 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) ...
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/...
1 vote
2 answers
296 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 ...
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 \ --...
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....
0 votes
1 answer
785 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....
1 vote
0 answers
391 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 ...
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 ...
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 ...
1 vote
1 answer
178 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 ?
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 ...
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 ...
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 ...
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, ...
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 ...