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

Debian net install to preseed hostname and domain name

Basically the opposite of Debian preseed: How to force prompt for hostname and domain? With the new Debian bullseye release, the net install is asking me for hostname and domain name. How to preseed ...
0
votes
1answer
72 views

How do you load a third-party module in debian-installer?

I'm trying to install Debian Bullseye on a new Lenovo laptop (T14s Gen1). The laptop has a Realtek 8852AE wifi chip, for which currently no driver has been added to the kernel. There is a Github ...
0
votes
0answers
34 views

Stuck on creating preseed file for debian

This is terrible... I can't find any about this, I've spend 3 days on it, reading all docs and don't understand what is going on :( As written here ... generating file based on installation answers is ...
1
vote
1answer
53 views

Schedule reboot in the background during debian preseeding

I want to schedule a 30-minute reboot timer inside a Debian preseed so that in case of download problems etc. the installation does not hang (requiring someone on-site to reboot the machine manually). ...
0
votes
0answers
27 views

Set interface-name to net0 instead of ens18 during unattended installation

I am struggling with a problem I can not solve at the moment. Using PXE-boot to run an automated installation of Debian 10, the installer is setting the interface's name to ens18, which follows https:/...
0
votes
1answer
47 views

Replace awk in this command

I am struggling with a preseed-script for Debian and figured out that awk is not available in the installation process. A little context The preseed-script fails at the following line and returns ...
1
vote
1answer
446 views

Debian preseed does not create encrypted disk with LUKS LVM properly

I'm trying to create a LUKS LVM disk partition autmatically using preseed on Debian 10 (Buster). I have only a single disk /dev/sda with the size of 80GB and it has system memory of 4GB Here is my ...
2
votes
1answer
464 views

How to mount /dev/sdb to /cdrom on Debian installation startup

I'm trying to install Debian 10 using this official ISO file: http://cdimage.debian.org/cdimage/release/current/amd64/iso-cd/debian-10.9.0-amd64-netinst.iso I modified this ISO file to automated with ...
0
votes
0answers
21 views

selecting disks for system Debian installation

I'm installing Debian/buster using a preseed file. #### Partitioning d-i partman-auto-lvm/new_vg_name string sys d-i partman-auto-lvm/guided_size string max d-i partman-lvm/device_remove_lvm boolean ...
0
votes
0answers
13 views

Use Preseed to chose boot system

I'm installing Debian/buster using a preseed file. There is a dnsmasq with a configured dhcp and tftp server and a preseed file for automatic installation. The automatic installation of the server via ...
0
votes
1answer
102 views

How to replace Shuf with rand (from C++) with a seed of time in order to make my script more random [closed]

I have this script that extracts 200 random characters from a set: tail -n+2 file.fasta | tr -d '\n' > newfile n=$(stat -c "%s" newfile) r=$(shuf -i1-"$((n-200+1))" -n1) newfile ...
1
vote
1answer
328 views

Ubuntu preseed file: setting up multiple user accounts?

As mentioned in this link: https://help.ubuntu.com/lts/installation-guide/s390x/apbs04.html, it is possible to create a "...password for a first regular user's account" during an unattended ...
1
vote
1answer
140 views

Not able to understand the way the debconf variables are initialized in the preseed configuration

Recently I inherited a lab but unfortunately the person who had setup has left the organization. I am finding trouble in understanding the pxe installation flow at the point where the debconf ...
1
vote
1answer
80 views

Disable services with preseed

I need to disable apache service with preseed file. Is there any options to run systemctl disable command with preseed?
0
votes
0answers
267 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
1answer
289 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
93 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
196 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 ...
1
vote
1answer
278 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
1answer
241 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
2k 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
323 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
177 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 ...
1
vote
1answer
301 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 ...
3
votes
2answers
1k 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. ...
3
votes
4answers
1k 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
795 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
2answers
437 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 ...
3
votes
1answer
3k 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
969 views

Cannot 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/...
2
votes
1answer
293 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 ...
2
votes
0answers
381 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
2k 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
795 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, ...
6
votes
1answer
3k views

Preseed directive to skip another CD/DVD scanning

Please see the image below, is there a 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
778 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
3k 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
863 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
315 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
2k 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
397 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
929 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
537 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
612 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
908 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
687 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
258 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/...
6
votes
3answers
10k 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
2k 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
2k 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 ...