Questions tagged [preseed]
Questions relating to preseeding (which provides a way to automatically answer questions asked during the installation process).
324
questions
53
votes
7
answers
72k
views
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
...
16
votes
3
answers
29k
views
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 ...
15
votes
3
answers
14k
views
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 ...
14
votes
2
answers
10k
views
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 ...
13
votes
2
answers
20k
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 ...
13
votes
1
answer
2k
views
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) ...
12
votes
2
answers
11k
views
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 ...
10
votes
6
answers
20k
views
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 ...
10
votes
1
answer
9k
views
"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/...
9
votes
2
answers
17k
views
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"...
9
votes
0
answers
2k
views
How do I configure two NICs in ubuntu-server preseed? [closed]
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.
...
8
votes
2
answers
8k
views
Which debconf preseed option to auto reboot after installation?
Another pressed config to find here .. auto reboot after installation
8
votes
3
answers
11k
views
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-...
7
votes
1
answer
7k
views
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 ...
7
votes
1
answer
18k
views
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 ...
7
votes
1
answer
9k
views
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 ...
6
votes
4
answers
4k
views
How to install squid-deb-proxy-client via preseed/early_command
Using Lucid, installing from the Lucid mini.iso. Both AMD64.
In the following I've tried as \, all of apt-get, apt-install, anna-install, dpkg:
d-i preseed/early_command string <cmd+opt> ...
6
votes
1
answer
4k
views
Unattended Offline Edubuntu 14.04 Install
I am looking for a way to do this offline with Edubuntu 14.04 desktop. It would install much faster and better for large-scale deployments. It seems that contrary to some guides, kickstart is no ...
5
votes
3
answers
4k
views
Setting up USB flash drive for preseed
I've been trying to install ubuntu-server on an old laptop. It has a screen and keyboard but the "u" and "p" keys don't work so I can't type sudo or apt. I thus could not set up ssh using the generic ...
5
votes
2
answers
15k
views
how do I configure preseed to populate the hostname from DHCP and not stop at the `configure the network` section during an unattended installation?
I'm trying to setup an unattended Ubuntu server install using preseed for my Hadoop cluster nodes.
The hostnames are associated with MAC addresses by using a static map on my router. During ...
5
votes
1
answer
6k
views
Long pause in pxe/preseed install
I'm encountering a long pause during unattended (preseeded) install of precise server via pxe. The install eventually works, but appears to just sit there for 20 or 30 minutes after it authenticates ...
5
votes
2
answers
1k
views
Advice for troubleshooting a (url) preseed file?
I'm working on my first preseed file, and to avoid having to re-burn a DVD every time I make a change, I'm hosting it on a webserver and loading it with preseed/url=...
To load the preseed, I'm ...
5
votes
1
answer
2k
views
Is it possible to ask arbitrary questions in the preseed during ubuntu install
I have built an automatic installation system for building nodes from bare metal, it produces a pretty basic install, then installs puppet and contacts the puppetmaster for the rest of the ...
5
votes
2
answers
7k
views
How do I preseed a disk to 50% / and /tmp?
I need to install ubuntu server 10.04 by preseed file and part disk into 50% for / and rest for /tmp. I tried this:
# Partitioning
# use first hard drive SCSI/SATA:
d-i partman-auto/disk string /...
5
votes
1
answer
4k
views
How do I remove the 'Write the Changes to the Disks?' question during preseed?
I am pretty new to Ubuntu and Linux. I have spent a lot of time trying to get an unattended install up and running for my Headless Server.
As it stands I have everything almost there but when ...
5
votes
2
answers
4k
views
How do I preseed Postfix's mailname?
I don't want postfix to ask for its mailname i just want it to use its fqdn name.
This is my preseed file
5
votes
1
answer
9k
views
EFI and working LVM partman-auto/expert_recipe?
I have an LVM based recipe that used to work on non-EFI based systems. How do I recreate the same recipe so that it works in EFI/UEFI mode?
I have the following recipe right now (and I've tried ...
5
votes
1
answer
381
views
How can I configure preseed to use a drive ONLY if it exists?
Some of the machines that I'm provisioning have a separate /dev/sdb to be used for /home, and some only have a single disk.
Is there a way I can set up preseed so that if /dev/sdb exists, it uses 100%...
5
votes
0
answers
4k
views
How to set apt options like "Acquire::http::No-Cache=true" in preseed.cfg [closed]
Something on our company's network is causing some apt updates to fail during an unattended install. We recently discovered that we can fix the apt problem on a previously successful installation ...
4
votes
2
answers
11k
views
How do I preseed/partman/recipe two disks
I'm essentially trying to put /usr/local/ on /dev/sdb, and the normal boot/root/swap on sda. To complicate things, I've had to use GPT since the disk is >6TB. Seems no matter what I try, the SDB drive ...
4
votes
2
answers
5k
views
How do I preseed multiple partitions on one disk; /tmp /data /usr swap?
trying to get preseeding on 12.04 64bit with what should be a basic setup to work:
/dev/sda - the only drive beeing used
/ - rootfs - 100GB
/boot - 1GB
/tmp - 10GB
/data - should take all available ...
4
votes
1
answer
8k
views
How do you preseed an ssh key?
I tried this:
d-i preseed/late_command string mkdir -p /target/root/.ssh
d-i preseed/late_command string cp /cdrom/id_rsa.pub /target/root/.ssh/authorized_keys
d-i preseed/late_command string chmod -...
4
votes
2
answers
10k
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 ...
4
votes
1
answer
5k
views
How do I get prompted for a hostname in a preseed?
I want my automated install to ask me for a hostname.
This is my preseed file and this is my pxe startup conf
LABEL auto64-1110
MENU LABEL ^C Ubuntu 11.10 64-bit auto install met proxy
...
4
votes
2
answers
2k
views
How can I get a PXE install to ask for the hostname
I use a pxe install for a lab of machines, one problem I have is that the hostname is always set to 'ubuntu'. This is wrong, it should instead ask during the install what hostname should be used.
One ...
4
votes
1
answer
6k
views
Preseed Ubuntu 16.04 not working (preseed file not found)
I've been trying to preseed my installation for 2 days now. I'm quite new in this topic, so execuse me if I'm asking noob questions. How do I use boot parameters, how do I know that my preseed file ...
4
votes
1
answer
3k
views
Set the fastest mirror from preseed
So, choosing the best mirror in the /etc/apt/sources.list can be simply done by removing the country prefix before "archive.ubuntu.com" (i.e. "us.").
For a new installation, it should be possible to ...
4
votes
2
answers
4k
views
How to use existing partition in preseeded installation?
I have a machine with 4 partitions:
sda1 - root
sda2 - swap
sda3 - tmp
sda4 - documents
When I run the installation I don't want to repartition the disk. Now I read on http://www.debian.org/...
4
votes
2
answers
4k
views
Preseed late_command not running
I must be missing something obvious. I've taken over the development of a customised Ubuntu installation, which uses the 11.04 Desktop Live ISO with a customised preseed file to make the installation ...
4
votes
1
answer
4k
views
Use Preseed to chose install disks based on size or type
I have a preseed script that creates a raid mirror out of the two first disks (/dev/sda, /dev/sdb)
d-i partman/early_command string \
DISKA=$(list-devices disk|head -n1);\
DISKB=$(list-devices disk|...
4
votes
2
answers
4k
views
customizing the maas curtin (fastpath) preseed install
I've been trying, unsuccessfully, to find documentation/examples on how to customize various things using the fastpath installer.
This document gives a high-level overview.
A more practical example ...
4
votes
1
answer
542
views
How can I accept Microsoft EULA agreement for ttf-mscorefonts-installer in the preseed file?
How can I accept Microsoft EULA agreement for ttf-mscorefonts-installer in a preseeded install - that is, what d/i foo/bar command do I need to add to my preseed file?
4
votes
1
answer
2k
views
How to prompt for input while doing preseed/late_command?
My preseed server install file executes a number of additional tasks with a bash script called with preseed/late_command. I wish to prompt for a password during this process to install LDAP properly....
4
votes
2
answers
1k
views
Preseeding the installer using all already existing Linux partitions and all free space
I need to preseed a dual boot installation of Ubuntu 10.04. I want partman to use all already existing Linux partitions and all free space (like the option when installing Fedora 13).
What would that ...
4
votes
1
answer
561
views
Preseed auto partition disk with no prompting only if disk is empty (no existing partition tables)
Is it possible to setup a Ubuntu preseed for a one drive system, so that if the drive is empty (we can assume empty means it has no MBR or GPT partition tables) it goes right ahead and partitions it ...
4
votes
1
answer
5k
views
How to partman/preseed with GPT
I need to make partitions of a server which has a 3TB HDD. This partitions must be done using preseed file(automatic).
I've been searching but I can't clearly understand how partman works in the ...
4
votes
1
answer
1k
views
Where do I save my preseed file on installation media? Ubuntu 14.04.4 Server 64 bit
I am attempting to preseed a Ubuntu installation but all of the tutorials do not say where to save the preseed file to. They say to save it on the boot media and then pass the boot parameter preseed/...
4
votes
2
answers
6k
views
preseed.cfg file for automatic installation of Ubuntu 16.04 LTS
I already have a preseed.cfg for installation of Ubuntu 14.04 LTS like this :
choose-mirror-bin mirror/http/proxy string
d-i base-installer/kernel/override-image string linux-server
d-i clock-...
4
votes
2
answers
3k
views
Preseeding does not work properly in Ubuntu 14.04
We use the preseed method to automate the installation process since Ubuntu 10.04. In particular, we use the pkgsel/include parameter to preinstall a set of packages. Up to Ubuntu 12.04 everything ...
4
votes
1
answer
5k
views
Unattended Ubuntu installation LVM confirmation
I am working on getting an unattended install iso setup for deploying the current LTS of Ubuntu (12.04.3) and have everything just the way I want it, except it is still asking for me to confirm the ...