Questions tagged [preseed]

Preseeding refers to the practice used to automate the installation of Debian GNU/Linux and many of its derivative distributions in a non-interactive manner. This is done by providing answers to the installer questions in a format file known as a preseed file.

Filter by
Sorted by
Tagged with
0
votes
0answers
16 views

how to preseed snap packages?

I am trying to create a custom ubuntu image, but can only do it from chroot because of cubic limitations. In that custom image, however, I want to include snaps, which require snapd to be running. ...
0
votes
0answers
27 views

How to prevent prompt that asks to restart services when using preseed files

I have set up a custom installation CD based on Debian/Ubuntu. It completely automates the installation apart from asking for the hostname and the system account's password. All was working as ...
0
votes
1answer
42 views

How to skip the need to choose “Install” and hit “enter” in automated (preseeded) Debian install?

When automating the installation of a Debian system with the preseed mechanism, I have to manually choose the "Install" option and hit "enter" to start the installation process from an ISO image on ...
0
votes
1answer
28 views

What Debian preseed parameter(s) avoids warning about EFI installation in connection with already installed system on disk?

I'm working on the automation of installing Debian by using the preseed mechanism. The final install question that keeps popping up warns me about an EFI installation. It says an EFI installation may ...
0
votes
0answers
37 views

How to specify reproducible disk partitions in Debian preseed file when device file ordering (sda, sdb …) may change?

I'm about to automate the installation of Debian by using the preseed mechanism (preseed file added to initrd). The computers to be provisioned have multiple SATA disks. I would like to specify in ...
0
votes
0answers
16 views

Use Encrypted LVM with preseed file in Linux

I am working on a project to create an unattended installation of Debian via a preseed file with encrypted LVM. I am lost as I have no clue on how to implement encrypted LVM via preseed file. I ...
0
votes
0answers
65 views

How to modify a Debian (Buster) installer to include a preseed.cfg?

I took the Debian ISO and created a bootable USB stick with Rufus. After that I modified the stick to include my preseed.cfg: #! /bin/bash initrd="/mnt/install.amd/initrd.gz" rm -rf tmp mkdir tmp ...
3
votes
1answer
214 views

How do I set mirrors in /etc/apt/sources.list with a Debian preseed file?

I'm building a custom ISO image of Debian 10 stable ("buster") using preseeding, and my custom preseed.cfg file works perfectly except for one thing: I'd like it to configure /etc/apt/sources.list ...
1
vote
1answer
82 views

Manipulating preseed options during debian-installer

Currently I am trying to build a more or less dynamic preseed. This means I am creating custom templates/question and depending on the answers I want to set specific "d-i" options. My environment is ...
0
votes
1answer
78 views

Debian 10 preseeded two disk install

I need to make preseed file that installs system on lesser disk and /var -- on larger. I was told that I'd require scripts for this since I don't want to use RAID or LVM. I am unaware, though, about ...
0
votes
0answers
223 views

multiple drives in partman

I use Foreman to deploy new host and in the partition tables I can't find the right recipe to format with multiple drives. Here is my configuration test : 2 drives (/dev/sda and /dev/sdb) actual ...
1
vote
1answer
111 views

Custom built kernel supposedly not usable on amd64 during preseeded installation

I need a more up to date kernel than what even buster ships with (5.1.x to be precise) due to the hardware I'm using. Building that kernel is nor problem whatsoever 8building it with make deb-pkg) and ...
0
votes
0answers
65 views

LVM partitioning on multiple disks using preseed script

I want to write preseed script that makes a logical volume from a volume group consisting of multiple disks, and mounts it to rootFS. I know it's easy to (lvm)partition and mount in case of using ...
3
votes
2answers
567 views

Issues with installing NetworkManager during Debian installation with preseeding

I'm currently in the progress of preseeding a Debian installation with custom setup scripts running after the actual installation to create a simple installer that will create everything that I need. ...
2
votes
3answers
348 views

install grub bootloader dynamically to multiple disks

I am trying to preseed installing grub dynamically with to two disks with an early_command. I am using IPXE. Here is the relevant part: d-i partman/early_command string \ DISKA=$(realpath /dev/disk/...
2
votes
1answer
373 views

boot parameters seems not to work with ipxe and daily image

I am trying to auto install debian buster with ipxe, it seems that the boot parameters don't work in the ipxe menu. I always get the language section. So the preseed isn't loaded. Here is the relevant ...
2
votes
1answer
116 views

Preseeding debian installation still asks for network card

I am using debian installer together with a preseed config-file to automate installation steps. Currently the network-card selection still shows up and I cannot find out why. I have the following ...
1
vote
1answer
1k views

PXE boot debian-installer preseed.cfg - how to get to present only certain questions (eg. hostname)

I'm currently playing around with debian-installer at home (using Devuan Linux) over PXE boot and would like to have the installer ask for a hostname and domain with pre-set default value for the ...
0
votes
1answer
633 views

Cant preseed grub-installer/bootdev

I would like to install ubuntu to smallest hdd in my computer system config via preseed. It works fine but when smaller hdd not /dev/sda(eg /dev/sdb) i have an error "Executing 'grub-install/dev/sda' ...
2
votes
1answer
181 views

keep dvd entry in sources.list during preseeded debian9.5 install

I'm trying to install Debian 9.5 preseeded on an offline VM. The install breaks because it can't install the package grub-pc. Research up to now shows that (presumably at this point during the ...
1
vote
0answers
164 views

Debian-installer using PXE with preseeded config and two network interfaces

I'm trying to setup a kind of installation server. In my setup every machine has two network interfaces: - eno1 which is connected to the internet, there is DHCP server that I do not own and can't ...
1
vote
1answer
901 views

Reconfigure grub in preseed late_command

When I install debian using the preseeded file, I have a live USB stick mounted as sda1 and ssd drive as sdb1. So I install MBR to sdb1. But when USB stick is removed SSD drive becomes sda1. And /boot/...
0
votes
1answer
409 views

Debian preseed swap label

I'm preseeding my Debian installation quite successfully, but I have one problem. I want my swap partition to be labeled, but the installer is ignoring the label { } element. The partion is created, ...
3
votes
1answer
2k views

Preseed directive to skip another CD/DVD scanning

Please see the image below, is there preseed directive to skip this Debian9 installer step? Currently I use the following config relevant to the package manager: ### Apt setup d-i apt-setup/non-free ...
0
votes
1answer
484 views

Creating a preseed.cfg with docker and gitlab-ci-multi-runner installed, why it's always commented out?

I have my preseed almost working like I would like but for some reason, I can't have those two repositories added to the source.list file. It's always commented out that it can't verify them. I know ...
1
vote
0answers
2k views

Creating GPT partitions with preseed

I am installing Ubuntu 16.04 with iPXE and trying to create GPT partitions with preseed as follows: d-i partman-basicfilesystems/choose_label string gpt d-i partman-basicfilesystems/default_label ...
2
votes
2answers
415 views

How to get device serial number when running Debian preseed installation?

I know that you could extract serial number from machine running dmidecode -t system, but how could I do that when running preseed installation of Debian? dmidecode command is not yet available, is it ...
2
votes
1answer
235 views

Looking for answers related to custom images and installers

Okay so I'm attempting to build my own custom live CD and eventually a distro based on Debian, using the live-build tools and squashfs-tools/chroot to modify the image. I'm also playing around with ...
1
vote
2answers
1k views

How to preseed debconf password fields?

I previously asked (and answered) a question on how to preseed debconf on Ubuntu: How do you preseed debconf from a previously installed package? I found that just appending to the config.dat file ...
1
vote
1answer
341 views

How do you preseed debconf from a previously installed package?

I would like to install a package (CouchDB 2.1) without having to manually respond to the prompt. I believe that preseeding debconf is the way this is done. The debconf manual () says this: The ...
2
votes
0answers
721 views

Using preseed (Debian/Ubuntu) to partition both RAID and encryption

I am trying to configure a preseed image using RAID + encryption. I originally wanted to do this without LVM, however it does not seem (at least with encryption) that this is possible. I simply want ...
1
vote
1answer
396 views

debian-installer: unloaded ahci kernel module when using preseed

I use the debian-installer-9-netboot-amd64 package, version 20170615+deb9u1, to automaticly install lot of computers. I use the following preseed: # Langue et mappage clavier d-i debian-...
2
votes
1answer
465 views

Preseed - not enough disk space? [closed]

I'm trying to get a Preseed file working on a 119GB hard drive and it seems there is not enough space. Basically what I want to do: /dev/sda1 ext4 mountpoint /boot size 512MB /dev/sda2 lvm into vg1 ...
1
vote
0answers
636 views

Retrying during preseed

I have written a relatively successful preseed file, with one exception. On certain machines, it will take two tries to detect disks, and on certain machines, it will take two tries to connect to DHCP....
0
votes
2answers
524 views

Preseed existing partitions

Given one disk (e.g. /dev/sda) which is known to already contains some partitions (e.g. /dev/sda1, /dev/sda2, /dev/sda3). Is it possible to run preseed on such disk (meaning: partition the rest of ...
0
votes
1answer
200 views

Preseeding a Debian Jessie doesn't yield a default gateway

I used this in the .seed file: d-i netcfg/choose_interface select eth0 d-i netcfg/get_hostname string fj4.testnet d-i netcfg/disable_autoconfig boolean true d-i netcfg/dhcp_failed note d-i netcfg/...
4
votes
3answers
6k views

Using d-i partman recipe strings?

I want to automatically partition all of my workstations in the same way: First partition is a bootable 1GB ext4 /boot partition Second partition is a 2GB swap partition Third partition is an ext4 / ...
5
votes
1answer
1k views

Debian preseed doesn't create lvm's, but are in the expert recipe

I created a preseed script with help from this blog and I altered it to create some logical volumes on it too. The result of the script is this: d-i debian-installer/locale string en_US.UTF-8 d-...
2
votes
1answer
1k views

Alpine Installation with preseed cfg

I would like to install Alpine using preseed.cfg. However, I cannot find one online. Does alpine support preseed in the first place? If yes, is it possible to edit another preseed and adopt it for ...
1
vote
1answer
84 views

Changing PXE preseed instructions based on desktop vs laptop?

I am making a Debian 8 PXE preseed to roll out to both laptops and desktops. I would like certain commands to be run depending on whether the host is a laptop or a desktop, ie: if laptop then command ...
1
vote
1answer
656 views

What does `console-setup/ask_detect` in a preseed config do?

I can't find anything on ask_detect in any of the man pages for setupcon and almost all my search results are examples of preseed files with it set to false; nothing useful at all. What does it ...
1
vote
1answer
875 views

Preseed Multiple Disks

I have machines in my environment with either 1 or 2 disks/arrays. I would like preseed to use all disk space regardless of how many the box has. The problem is: My current partitioning scheme hangs ...
3
votes
0answers
991 views

Enabling systemd service with preseed

I'm trying to enable serial-getty@ttyS0.service to output getty to serial console as well as tty0. I have tried running systemctl enable serial-getty@ttyS0 but I suspect that systemd might not be ...
2
votes
1answer
474 views

Debian preseed.cfg partman specify_usage for news

I am trying to utilize partman as part of a packer built base image. We need to declare the root system as a 'news' usage to increase the number of inodes. I cannot enable usage flags for the ...
2
votes
1answer
328 views

How to provide password in a secure way to LDAP seed?

I am pxe installing Ubuntu over a network, unattended. I want Ldap installed as well, but I need to provide the ldap db root password in the seed: ldap-auth-config ldap-auth-config/rootbindpw ...
2
votes
1answer
608 views

Debian Installer asks for tasksel confirmation

The preseed.cfg file I included in "debian-8.3.0-amd64-netinst.iso" does its job very well, except when confirming software selection. I removed the old "tasksel tasksel/first multiselect ..." then ...
1
vote
2answers
444 views

Ubuntu 15.10 mini iso preseed not reccognized

I downloaded an Ubuntu mini iso from the Ubuntu website and want to do a fully automated install. I created a preseed file(preseed) I created an image with this file in the iso. When i try to start ...
1
vote
1answer
1k views

Preseed failed with exit 2

Preseed does not seem to work for me. When executing the preseee/lat command it fails with exit 2. At this point after trying it 6 times it would be nice to get some advice. Every time I got an exit ...
3
votes
2answers
2k views

Preseeding debian install - EFI

The EFI partition is formatted in ext4 during the setup of debian whereas it should be vfat. I am trying to preseed the install of debian jessie and I can't get it working since the UEFI partition is ...
5
votes
3answers
8k views

What hash algorithms can I use in preseed's passwd/user-password-crypted entry?

When it comes to passwd/user-password-crypted statement in a preseed file, most examples use an MD5 hash. Example: # Normal user's password, either in clear text #d-i passwd/user-password password ...