Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
19 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
25 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
23 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
114 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. ...
1
vote
3answers
73 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/...
1
vote
0answers
162 views

While using a debian preseed how to assign hostname manually? [closed]

I made a preseed.cfg for a Debian 9.7 netinstall and add it to the initrd on the ISO. There a two things I want to assign manually during installation, the IP address and the hostname. The IP address ...
2
votes
1answer
84 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
0answers
39 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 ...
2
votes
1answer
495 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
261 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
74 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
85 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
446 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
0answers
247 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, ...
1
vote
1answer
1k 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
316 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
1answer
270 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
166 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
821 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 ...
2
votes
1answer
276 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
530 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
328 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
332 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
460 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
427 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
158 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/...
2
votes
2answers
4k 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
910 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
687 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
61 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
468 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
639 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 ...
2
votes
0answers
759 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
374 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
271 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
536 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
403 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 ...
2
votes
3answers
6k 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 ...
2
votes
0answers
198 views

How to enable output during debian/ubuntu preseeding

I am setting up a preeseded configuration with a somewhat longer running d-i preseed/late_command, in fact downloading and executing an ansible playbook. I am running a simple menu system with ...
3
votes
1answer
150 views

Debian Kickstart Files Failing To Download

I have found that if I try to host my kickstart files on github and pass the raw url to virt-install, such as below, it will fail. http://raw.githubusercontent.com/programster/KVM-Command-Generator/...
3
votes
4answers
3k views

Where can I find an index of preseed options?

I'm interested in a list of all Debian and Ubuntu preseed options, more specifically preseed options for Debian. I have seen the preseed example text for Jessie, but I have no way to list all ...
0
votes
2answers
960 views

d-i netinst hangs after detecting network hardware due to driver issues

I'm trying to install Debian 8.0.0 from a USB using a preseed. I created the USB using UNetbootin and manually placed the preseed file into the uppermost level of the USB drive. Then in the UNetbootin ...
0
votes
1answer
3k views

What is the difference between keyboard-configuration/layout and keyboard-configuration/layoutcode?

I am trying to automate the installation of Ubuntu 14.04 Server. While trying to set the keyboard layout to German, I noticed two different configuration options: keyboard-configuration/layout and ...
2
votes
1answer
1k views

Failed to create/mount swap during automated installation of Debian Jessie using preseed file

I try to create Debian Jessie installer which will be fully automated. I use for this purpose customised pressed file. For testing I use VirtualBox. Everything is all right, except one error at the ...
5
votes
3answers
4k views

Prevent Language selection at ubuntu installation

I would like to make a completely unattended installation of Ubuntu Server 14.04 from an USB drive where I extracted the ubuntu-14.04.2-server.iso In /syslinux/txt.cfg of the USB drive, I added the ...
1
vote
1answer
416 views

Simple-cdd keyring addition

I'm looking to add a personal key for an apt repo to a netinstall disc which would require end users to not have to install it. I'm using simple-cdd to generate the build, so wrapping it into a .deb ...
5
votes
2answers
3k views

Preseed setting wrong partition size

I'm trying to do an install of Debian with the preseed tool. Everything's working great so far, except for the partitions of my disk. Basically what I want is: / of 30GB - ext4 /var/lib about 2TB - ...