Questions relating to preseeding (which provides a way to automatically answer questions asked during the installation process).
Questions tagged [preseed]
321 questions
53
votes
7 answers
How do I create a completely unattended install of Ubuntu Desktop 16.04.1 LTS?
Purpose
I want to install Ubuntu Desktop 16.04.1 LTS completely unattended. Put ISO CD in and walk away.
Issues
Boot parameters incorrect
Questions still being asked and needing mouse clicks
Convoluted answers using kickstart/preseed
Documentation…
Brandon Authier
- 941
16
votes
3 answers
How to preseed ubuntu 20.04 desktop?
After struggling quite some time with figuring out how preseeding on Ubuntu 18.04 Desktop works, I figured it out. I was hoping that I could use the same procedure for 20.04 Desktop. Can I?
The ubuntu wiki page on Automated Server Installs for 20.04…
lucidbrot
- 1,461
- 3
- 21
- 41
15
votes
3 answers
How can I customize the Ubuntu installer?
I would like to know how can I customize the Ubuntu installer NOT customize Ubuntu, I just want to modify the installer.
We have a large environment here with lots of developers and since we don't use Windows, I want to customize the installer to…
aki
- 2,164
14
votes
2 answers
How can I remove packages using preseed?
I'm setting up an automated "no questions asked" preseed system and using Dustin Kirkland's server preseed as an example.
He uses the following line to install three packages as part of the automated install:
d-i pkgsel/include string byobu vim…
Jorge Castro
- 73,717
14
votes
2 answers
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 Installer automated via a preseed…
Marian Rainer-Harbach
- 486
- 1
- 3
- 10
13
votes
1 answer
How do I preseed encrypting just the root partition?
I have 3 partitions: EFI (/boot/efi), boot (/boot) and root (/). I want to encrypt just /. I can do this manually via the installer, but I want to preseed it.
How do I define it? My (non-encrypted) recipe looks something like the below. It is…
deitch
- 273
12
votes
2 answers
Preseed doesn't automatically select network interface on Ubuntu 14.04; automated install needs human input
I'm trying to setup an unattended Ubuntu Server 14.04 installation from PXE.
I initially tried using Kickstart. This worked okay except that the partition manager required user confirmation and so wasn't a fully unattended install (i.e. I'd need to…
Alex Woolford
- 273
10
votes
1 answer
"No root filesystem" error when preseeding
I am trying to perform automatic installation of Ubuntu server (11.10).
My partitioning recipe is here:
d-i partman-auto/disk string /dev/sda
d-i partman-auto/method string lvm
d-i partman-lvm/device_remove_lvm boolean true
d-i…
user42808
- 301
10
votes
6 answers
Debugging preseed/late_command for ubuntu 16.04 server: tee not found vs nonexistent directory
I am trying to run the following preseed file on a ubuntu 16.04 server machine (during a packer build):
d-i preseed/late_command string \
in-target mkdir -v -p -m 0440 "/etc/sudoers.d"; \
in-target echo "%vagrant ALL=(ALL) NOPASSWD: ALL" | tee -a…
MetalArend
- 101
9
votes
2 answers
How to preseed installing grub to a device during installation without prompt?
I am trying to do a fully automated ubuntu preseed installation. I am stuck because I cannot preseed the answer to installing grub on a device other than /dev/sda without having to manually hit "enter" to continue the installation.
It says:
[!]…
Stephen Wood
- 281
9
votes
0 answers
How do I configure two NICs in ubuntu-server preseed?
I have a script that installs Ubuntu server to a new VirtualBox instance via PXE and preseeding. It works great, I can run a complete install and come out with a fresh machine with one network card.
How do I make the preseeded installation…
phs
- 319
8
votes
2 answers
Which debconf preseed option to auto reboot after installation?
Another pressed config to find here .. auto reboot after installation
daisy
- 6,712
8
votes
3 answers
How do I configure a preseed to skip the language support question?
I'm attempting to create a preseed configuration file for automating the install of
Ubuntu Server 10.04-4 LTS x64 via a bootable USB thumb drive and I've hit a major snag in the process. The debian-installer correctly processes the preseed file…
Sniperm4n
- 361
8
votes
1 answer
how to generate crypted password for auto install
The instructions for auto install of ubuntu 20.4 talks about an encrypted password $crypted_pass.
version: 1
identity:
hostname: hostname
username: username
password: $crypted_pass
how do I generate this for any given password? I've…
Giles Bradshaw
- 183
7
votes
1 answer
How to create ubuntu installation preseed file
I am manually installing Ubuntu on the laptop from USB drive (ISO image). I would like to record my answers to the installation questions(language, keyboard layout, disk partitioning etc) and create pressed file (which feeds d-i answers to…
Tadek
- 83