Questions tagged [preseed]

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

323 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
  • 1
  • 9
  • 12
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,250
  • 3
  • 16
  • 36
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,074
  • 6
  • 22
  • 35
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
  • 70,934
  • 124
  • 466
  • 653
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
  • 263
  • 2
  • 10
13
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…
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
  • 2
  • 3
  • 7
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
  • 201
  • 2
  • 7
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
  • 1
  • 1
  • 3
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
  • 271
  • 1
  • 2
  • 5
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
  • 309
  • 2
  • 13
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,440
  • 16
  • 57
  • 76
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
  • 2
  • 6
  • 11
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
  • 1
  • 1
  • 6
7
votes
1 answer

Can't automate user creation with preseeding

I'm creating KVM guest with following virt-install options and preseed.cfg, and always user creation dialog "[!!] Set up users and passwords" is shown. How do I automate that section with preseeding? Of course, I checked my preseed.cfg was right…
yoshi
  • 71
  • 1
  • 3
1
2 3
21 22