Questions tagged [preseed]
Questions relating to preseeding (which provides a way to automatically answer questions asked during the installation process).
323
questions
1
vote
1
answer
165
views
How to get around 'device in use' error when preseeding Ubuntu 22.04 install with encrypted LVM
I am trying to make a custom install ISO for Ubuntu with Cubic and Ubiquity's preseed option. I have been tearing my hair out trying to get it to automatically partition the entire disk as an ...
0
votes
0
answers
82
views
how to customized a ubuntu server 22.04 image and set up as a auto answer installtion image
i am trying to make an image for my machines. There are too many machines that i have to install windows server and ubuntu server on them. So i need to customized a image(install some software and ...
0
votes
1
answer
92
views
Ubuntu Jammy Auto Install
I am using an automated install for Ubuntu Jammy. I want to stop the prompt for installing updates and other software.
0
votes
0
answers
108
views
Partionning with preseed
I used to find my solutions on old post here but today I have to write for help as I don't find any usefull answer anywhere. I'm sure you'll rock and help me with this problem I have for quite a while ...
0
votes
1
answer
325
views
How to perform unattended install of Ubuntu Core from USB flash drive
There is a way to setup Ubuntu Server unattended install by creating a custom ISO file with instructions in preseed and programming this on a USB flash drive to install Ubuntu Server on a industrial ...
0
votes
0
answers
74
views
How to setup secure boot on customized Ubuntu Server ISO?
I have an Ubuntu Server 20.04 but I want it to support secure boot automatically just like how the official Ubuntu Desktop does.
0
votes
0
answers
15
views
How to make a preseed on Ubuntu that installs packages? [duplicate]
I want to make a distro and I want to make a preseed that (as I said) installs packages, tried to search it up but it didnt help me.
0
votes
0
answers
237
views
ubuntu-18.04.6-live-server: nor preseed nor autoinstall?
I have production-ready packer templates for ubuntu versions 16.04, 20.04 and 22.04 LTS.
I tried preseeding (from ubuntu 16.04 template) and autoinstall (from ubuntu 20.04 and 22.04) without success.
...
1
vote
1
answer
623
views
How would I autoinstall 22.04 from USB?
What the best way using Subquitity/Seed/Cloudinit to auto install an Ubuntu Desktop 22.04 image?
Our staff use Ubuntu and rather than keeping one fat image lying about which is time consuming to ...
0
votes
1
answer
635
views
"Updates and other software" in preseed ubuntu 22.04
Colleagues tell me how to answer the question "Updates and other software" in preseed ubuntu 22.04.
My preseed:
# Partitioning
ubiquity partman-auto/method string crypto
ubiquity partman-...
0
votes
0
answers
125
views
How do I add additional snaps to Ubuntu 22.04 Live?
I'm trying to add some snaps to a live USB. I tried the directions given in an answer to another question, but they don't seem to work on the latest LTS. After following those steps and booting the ...
0
votes
1
answer
68
views
non-LVM preseed issue? "no root file system"
I have a working preseed config file using LVM that I'm trying to adapt to the "regular" approach, but all attempts are failing so far with an error that says "No root file system is ...
3
votes
1
answer
226
views
ubuntu jammy ISO not respect preseed file for automation anymore?
I build ubuntu 18.04/20.04 customize ISO and update the ubuntu.seed file with cubic ( https://github.com/PJ-Singh-001/Cubic )
but when I try to do the same procedure with ubuntu jammy , the ISO didn't ...
2
votes
1
answer
1k
views
early_command equivalent in cloud-init
I have an Ubuntu installer based on Ubuntu mini.iso which uses preseed. Now with the support for mini.iso, being stopped by Canonical, I'm trying to create an installer based on cloud-init. However, ...
0
votes
0
answers
238
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 ...
4
votes
2
answers
8k
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 ...
0
votes
0
answers
270
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, ...
0
votes
1
answer
843
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 ...
2
votes
1
answer
2k
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?
0
votes
0
answers
967
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 ...
0
votes
1
answer
2k
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 ...
0
votes
0
answers
272
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 ...
1
vote
1
answer
188
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 ...
0
votes
0
answers
949
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 ...
1
vote
1
answer
112
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 ...
0
votes
3
answers
798
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 ...
0
votes
1
answer
601
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 ...
1
vote
1
answer
661
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 ...
0
votes
0
answers
333
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 ...
0
votes
0
answers
764
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 ...
0
votes
1
answer
549
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
...
0
votes
1
answer
904
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 ...
3
votes
1
answer
5k
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 ...
1
vote
1
answer
1k
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 ...
0
votes
0
answers
111
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 (...
0
votes
1
answer
1k
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 ...
0
votes
1
answer
313
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 ...
0
votes
1
answer
852
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 ...
1
vote
0
answers
409
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 ...
0
votes
1
answer
1k
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 ...
1
vote
0
answers
423
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/...
1
vote
1
answer
349
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 &...
2
votes
0
answers
336
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/...
0
votes
0
answers
86
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 ...
1
vote
0
answers
1k
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 ...
1
vote
0
answers
712
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 ...
2
votes
0
answers
486
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 ...
0
votes
0
answers
275
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 ...
2
votes
1
answer
2k
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 ...
13
votes
2
answers
18k
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 ...