Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [preseed]

Questions relating to preseeding (which provides a way to automatically answer questions asked during the installation process).

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

Opening gnome-terminal during preseeded 22.04 desktop installation

I have a preseed configuration file for a 22.04 desktop install, and I'd like to open gnome-terminal during the installation - just before the pertitioning - to display a whiptail message box. It ...
user avatar
0 votes
0 answers
31 views

Preseed - Network not working if preseed/url used

In custom image I use preseed/url. I boot from a flash drive. I boot from USB, and use preseed/url. The official documentation says that it should be enough to create a file with content kill-all-...
user avatar
0 votes
0 answers
18 views

18.04 PXE Preseed - Install OS on smallest disk

I'm trying to create a preseed file to automatically select the smallest hard disk, because I have sda and nvme in my device, because I can't just fill in /dev/sda, which will cause nvme's device to ...
user avatar
2 votes
1 answer
598 views

How to use d-i and preseeding on 22.04 to automate installations

I am trying to set up an automated installation environment for ubuntu 22.04. We have this already working in production for 20.04 and previous LTS releases for many years. We use pxe/isolinux and a ...
user avatar
  • 121
0 votes
0 answers
20 views

Preseeding Kubuntu Desktop 20.04 - Disable ENCFS Warning

i want to install Kubuntu Desktop 20.04 preseeded. The installation works fine and everything runs like i wish except one thing. During the tasksel part 'tasksel tasksel/first multiselect kubuntu-...
user avatar
0 votes
0 answers
18 views

Ubuntu 18.04 auto setup image

I'm trying to work out how to make an ISO image for a Ubuntu 18.04 that I can use to install on a remote server from OVH. Using there BYOI system if I can use an image thats been preseed with the SSH, ...
user avatar
0 votes
0 answers
87 views

Ubuntu preseed failing to automate country selection

I am trying to pxeboot and install Ubuntu 18.04.6 using cobbler and everytime I choose the Ubuntu-18.04.6-hwe I get this (see screenshot) it always drop out to selecting the Country location. pxeboot ...
user avatar
0 votes
0 answers
18 views

install from untouched usb, preseed from network

I was busy setting up a PXE installation the last couple of days, I finished the preseeding today and realized that the whole installation takes like forever this way. Even when using an apt-cache ...
user avatar
  • 111
0 votes
0 answers
191 views

cloud-init vs. kickstart vs. preseed

What is the difference between all those automation features? I found three of them so far: cloud-init kickstart preseeding Is one of these methods outdated maybe?
user avatar
  • 111
0 votes
0 answers
151 views

Does ubuntu-20.04 autoinstall atomatically boot from USB?

I am trying to setup a new system, but I do not have a GPU nor integrated graphics as I plan to just use the machine as a server. I ordered a SATA to usb adapter so I can just install ubuntu using a ...
user avatar
0 votes
0 answers
198 views

autoinstall-generator

A while back Ubuntu left the old preseed format in the dust. Not that I know why but is seems odd to leave something behind without a working replacement or good clear documentation. Best would be to ...
user avatar
  • 158
0 votes
0 answers
56 views

Preseed multiple disk no lvm

I try to preseed the partitioning on my virtual machines, I want to place swap on a separate disk (/dev/sdb). Everything else should be on first disk (/dev/sda). Somehow it will still put everything ...
user avatar
  • 1
0 votes
0 answers
58 views

Preseed ubuntu - multiple passwords to Luks

I would like to add at least two passwords to LUKS during installation system from preseed file. In pressed file I have my first password: d-i partman-auto/method string crypto d-i partman-crypto/...
user avatar
  • 1
-1 votes
0 answers
52 views

Ubuntu 20.04 preseed - Allow interactive drive configuration

I am trying to modify and existing preseed file that a predecessor created to allow the drive configuration utility to be used to create a raid volume for the root directory. Either that or i need to ...
user avatar
0 votes
0 answers
104 views

How to set azerty keyboard in preseed.cfg

I'm trying to install trough PXE, Ubuntu Desktop with a a preseed.cfg. Everything is ok until the configuration of the keyboard. I tried this : d-i debian-installer/language string fr d-i debian-...
user avatar
  • 1
0 votes
0 answers
43 views

Add script to preseed Ubuntu and enable secure boot

I created customize Ubuntu ISO in Cubic with preseed file, but I would like to add script in late command, but it doesn't work. I tried a lot of ways, but I still have a problem. I added script in ...
user avatar
  • 1
0 votes
0 answers
69 views

Deploy Ubuntu 2004 EN but with swiss french keyboard layout

I am deploying Ubuntu Focal fossa via Network boot with a preseed file ubuntu_config.cfg. Inside this file I have this: .. d-i debian-installer/language string en d-i debian-installer/country string ...
user avatar
0 votes
1 answer
53 views

How to skip Server Snaps step on custom ISO installer

I'm building a custom 20.04 Server ISO and I would like to skip server snaps selection step during interactive installation. My understanding is it would be possible to do using preseed or ...
user avatar
0 votes
0 answers
95 views

Any way to preseed hostname and domain name for net install?

This is from my preseed file: # Any hostname and domain names assigned from dhcp take precedence over # values set here. However, setting the values still prevents the questions # from being shown, ...
user avatar
  • 731
0 votes
0 answers
206 views

How to install extra packages when using preseed with 20.04?

Copy of this question since I'm not allowed to comment on it. And, just like in the copied question, I'm trying this on 20.04. How to install extra packages, and I as well would like to install ...
user avatar
  • 1
1 vote
1 answer
68 views

Cubic install is different than original... why?

Making my first steps in automating the installation of Ubuntu. Found the Cubic package being recommended and I'm trying it out at the moment. One thing I noticed on one of the first runs was that ...
user avatar
0 votes
2 answers
147 views

MaaS: Problems with enlisting nodes

I recently started using MaaS 3.0.0 (up from 2.4). I was able to enlist, commission, and deploy nodes up until today when I started getting the following when I tried to enlist some nodes: Can not ...
user avatar
  • 61
0 votes
1 answer
187 views

rsyslog.service not found by Ansible during preseed late_command

I continually find that certain things "just don't work" when run as preseed/late_command in an Ubuntu Bionic preseed file. (The same applies to autoinstall for Ubuntu Focal.) In this ...
user avatar
0 votes
1 answer
269 views

Preseed - Install OS on smallest disk

I'm trying to create a preseed file for my systems with 2 HDD's. I want to install the OS on the smallest disk, but on some systems, this disk is labeled as sdb and others sda. Is there a way to ...
user avatar
  • 33
0 votes
0 answers
248 views

Preseed ubuntu 21.04 help please :(

I am quite "new" with ubuntu and linux in general. I am setting up a preseed to install a 10GB Ubuntu VM. I don't really need more space. Everything works more or less well but, I don't know ...
user avatar
0 votes
0 answers
284 views

preseed/late_command or even ubiquity/success_command not working

I am trying to build a ubuntu 18.04 iso to auto install using the Preseed file. Somehow, neither the preseed/late_command nor the ubiquity/success_command seem to take effect. I am not able to get ...
user avatar
0 votes
1 answer
115 views

Ubuntu 18.04 installer - select seed file based on condition

I have an ISO installation of ubuntu 18.04 which has a txt.cfg file in it. the txt.cfg has 4 options in it, and a preseed file is selected based on the option chosen: label option1 menu option1 ...
user avatar
0 votes
1 answer
424 views

Some xfs mount options in pressed don't work(Ubuntu Server 20.04 LTS)

I tried my preseed file and found that when pxe installing, partman-auto seems to only take effect part of the xfs mount options. my preseed file of partitioning: # Use Regular, and wipe out anything ...
user avatar
1 vote
1 answer
753 views

Specifying preseed/late_command as a shell script in Ubuntu preseed

I am attempting to specify a preseed/late_command as a shell script that enables the systemd tmp.mount unit. Executing of a shell script in late_command fails with error code 127 indicating ...
user avatar
0 votes
1 answer
414 views

How to add partman partitioning recipe file into 'd-i environment' for Ubuntu preseed

The Ubuntu docs on preseeding specify that a separate partitioning recipe can be passed as a value for a preseed file: # Or provide a recipe of your own... # If you have a way to get a recipe file ...
user avatar
0 votes
0 answers
56 views

Set up auto install of Ubuntu Server 18.04, also possibly 16.04

I am a relative newbie to the Linux, but have used Ubuntu desktop for a while. This is my first post to the community. I am dealing with the Server now, specifically 16.04 LTS (Xenial) and 18.04 LTS (...
user avatar
0 votes
1 answer
365 views

Can preseed automatically install Debian system with separate boot disk [closed]

I would like to automatically install a Debian system with multiple disks. There is /dev/sda for /boot, /dev/sdb for several LVs (for /, /home, etc.), and /dev/sdc for PostgreSQL's /pddata. I ...
user avatar
  • 123
0 votes
1 answer
143 views

How to use classes in a preseed file

Following up with Possible to use variables in a preseed file?, and https://help.ubuntu.com/lts/installation-guide/s390x/apbs02.html, which says: In addition to specifying the url, you can also ...
user avatar
  • 731
0 votes
1 answer
375 views

PXE Installing Ubuntu 20.04 by way of preseed.cfg doesn't start

I'm trying to PXE boot my Ubuntu 20.04 desktop by way of a preseed.cfg file. I have PXE boot menu working just fine, I can boot to and install a normal Ubuntu 20.04 box this way. The problem is the ...
user avatar
  • 101
0 votes
0 answers
233 views

Ubuntu 20.10 Unattended install anyone?

Ubuntu has now discontinued the Debian installer support. Now what? I can't find any meaningful documentation for cloud-config (what is supposed to be used instead of preseed). There is no tool to ...
user avatar
  • 158
0 votes
1 answer
856 views

Problem with 20.04 Preseed install from PXE

I decided to write here because I have a problem that I can't solve despite my research on the net. For my company, I installed a PXE server under Debian that I configured to install Ubuntu in an ...
user avatar
  • 31
1 vote
0 answers
199 views

Install ubuntu to luks encrypted partition using preseed

I have made luks encrypted partition as suggested in How can I install Ubuntu encrypted with LUKS with dual-boot? . Now I am trying to install ubuntu using preseed file. Encrypted partition is in /dev/...
user avatar
1 vote
1 answer
138 views

Ubuntu Server 18.04 preseed

I want to create a preseed file that will automatically choose the disc (/dev/nvme0n1 or /dev/sda1) and create the partitions without approval. So far, it is detected the disk, but I need to select &...
user avatar
2 votes
0 answers
164 views

Unattended ubiquity seed url can only be found via ip but not via DNS name

I am able to install my linux ubuntu / mint in an unattended way with preseeding via a grub command line like linux /casper/vmlinuz toram ip=dhcp -- automatic-ubiquity url=http://192.168.178.38:8080/...
user avatar
  • 263
0 votes
0 answers
45 views

Workflow for installing on multiple different PCs in OEM mode

We are currently building a team to refurbish and distribute old PCs and Laptops. Because we are doing this in our spare time and handing out the systems for free, we are trying to find an efficient ...
user avatar
1 vote
0 answers
480 views

curtin script: set size as remaining space on disk

I am using maas 2.9 on ubuntu 20.04 server os to install ubuntu 20.04 images. Issue 1: how to create last partition with remaining space? To create a custom storage configuration, I have added the ...
user avatar
1 vote
0 answers
456 views

HELP : failed Ubuntu 20.04 LTS Desktop install not loading ks.cfg file

I search for an Ubuntu 20.04 LTS DESKTOP automatic installation ? i boot on a USB KEY with ubuntu 20.04 lts desktop iso on this , i wan't install on a ssd pc with a automatic script (not the live ...
user avatar
  • 11
1 vote
0 answers
230 views

Is it possible to create custom ISO with Cubic and use autoinstall?

I would like to prepare custom Ubuntu 20.04 image. The idea is that system after automatic installation will include some custom network configuration, Docker and some Docker containers running. My ...
user avatar
  • 81
0 votes
0 answers
155 views

How to find list of available packages for preseed pkgsel/include list?

When setting up a preseed file for a particular Ubuntu release, how can one find out what are legal values to use in a pkgsel/include list? I have a long list of packages to install for this ...
user avatar
  • 101
1 vote
1 answer
1k views

Using Automated Server Install with Hyper-V and ISO Image

I want to completely automate creating a VM in Windows Hyper-V, starting from the Ubuntu Server v20.04 Server ISO image. I can create a PowerShell script to define and start the VM, and when I open a ...
user avatar
  • 21
12 votes
2 answers
11k views

How can current Ubuntu versions be installed via PXE network boot and an automated installation?

Starting with Ubuntu 20.10 (Groovy Gorilla), Canonical does not provide the netboot.tar.gz package and the mini.iso image anymore. They could previously be used to boot a system via PXE and run Debian ...
user avatar
0 votes
1 answer
1k views

autoinstall options ignored on Ubuntu 20.04

Have been using preseed to install systems for awhile and wanted to learn about autoinstall/cloud-init. I was working through the example here: https://ubuntu.com/server/docs/install/autoinstall-...
user avatar
3 votes
1 answer
2k views

Ubuntu Autoinstall - UEFI

We want to use the new ubuntu autoinstall method Autoinstall. There are some problems getting UEFI boot to work. I've installed Ubuntu Server 20.04 with the normal installer and EFI method and then ...
user avatar
  • 209
0 votes
0 answers
667 views

"No root file system is defined" using preseed

I encounter a problem when installing an Ubuntu with my preseed, it gives me the error "No root file system is defined". Does anyone know what this is due to? d-i partman-basicfilesystems/...
user avatar
3 votes
1 answer
2k views

How do I preseed mixed LVM and regular partitions?

I'm trying to seed an installation to create the following partition scheme: /dev/sda1 - /boot (Regular) /dev/sda2 - SWAP (Regular) /dev/sda3 - / (LVM) For this, I'm using the preseed settings below:...
user avatar

1
2 3 4 5
7