Questions tagged [preseed]
Questions relating to preseeding (which provides a way to automatically answer questions asked during the installation process).
41
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
...
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 ...
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 ...
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 ...
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> ...
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
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
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 ...
3
votes
1
answer
3k
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 ...
3
votes
2
answers
5k
views
unattended Bionic server install - set language
I am trying to automate the installation of Ubuntu Server 18.04 Bionic using a custom ISO. No existing solutions I can find seem to work. All I want to accomplish at this point is to automatically ...
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 ...
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
19k
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 ...
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
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-...
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 ...
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
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
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
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
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 ...
3
votes
1
answer
273
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 ...
3
votes
1
answer
3k
views
Possible to use variables in a preseed file?
I've created an automated ubuntu image using packer using the preseed.cfg file and I realized that we use multiple templates and each one requires the same preseed but a few different values for ...
3
votes
1
answer
1k
views
set installer background / not able to run early_command in custom preseed file
I have a custom preseed file for a Precise Live CD (which is well loaded on boot, I checked syslog for that).
My initial problem is that when booting in install mode (default behavior for a Live CD),...
3
votes
1
answer
6k
views
How to install software using preseed.cfg Ubuntu 18.04.4?
I am creating an unattended installation using preseed for Ubuntu Desktop 18.04.4, and I want to install openssh-server (openssh-sftp-server for desktop) making it actually possible to ssh after ...
3
votes
2
answers
7k
views
Is it possible to create unattended installation for Ubuntu Desktop 18.04?
I will try to keep this question short and concise:
I have recently discovered the use of preseed and kickstart for unattended installation for numerous Linux distros. This seems to be the right way ...
3
votes
1
answer
4k
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:...
2
votes
1
answer
2k
views
Ubuntu does not follow the preseed file for network settings
I am trying to automate Ubuntu installations using Cobbler and preseed.
I referred to this officical sample seed file for Ubuntu: https://help.ubuntu.com/12.04/installation-guide/example-preseed.txt
...
2
votes
0
answers
2k
views
Unable to install, "no root file system is defined" [duplicate]
Possible Duplicate:
“No root file system defined” error while installing ubuntu
I am trying to feed the pressed to ubiquity while installing Xubuntu 11.10 .
Following is what I used ...
2
votes
1
answer
4k
views
20.04 live server automated install hangs on "finish: subiquity/Refresh: SUCCESS: completed", not able to login
I try to install 20.04 live server image on bare metal BIOS based device. I'm following this guide. I managed to set up dnsmasq, TFTP and HTTP servers, but after running user-data script booting hangs ...
2
votes
1
answer
2k
views
Ubuntu preseed exits after package manager
I'm trying to do an unattended install of Ubuntu 17.04. I have a preseed file that I'm incorporating into the cd-rom and this seems to be working fine up to a point. However, after the package ...
1
vote
0
answers
578
views
What is the difference between apt-install and in-target apt-get install?
The ubuntu help on preseeding links to an example file which contains this:
# This command is run just before the install finishes, but when there is
# still a usable /target directory. You can ...
1
vote
1
answer
5k
views
Preseed autoinstall does not work on 20.04
Trying to autoinstall a desktop using a preseed file.
Got this for an anwser :
root@ubuntu:/var/log# cat casper.log
Begin: Running /scripts/casper-premount ... done.
done.
mount: mounting /cow on /...
1
vote
1
answer
1k
views
Preseed file being ignored during installation
I've followed this document pretty well (Guide to particulars in customizing Ubuntu Installer / specifically: https://askubuntu.com/a/29632/36927), however it seems to ignore the preseed.cfg file I ...
1
vote
1
answer
4k
views
Ubuntu preseed partman gets partition type and size wrong
I want to write a partman recipe in my Ubuntu 12.04 server installer preseed file to partiton my disk.
I want it to make the following partitions:
BIOS boot area for supporting GPT type partition ...
1
vote
1
answer
2k
views
ubuntu installation using preseed
I'm trying to do the unattended ubuntu installation using preseed.cfg. I am following the instruction as in http://searchitchannel.techtarget.com/feature/Performing-an-automated-Ubuntu-install-using-...
1
vote
1
answer
6k
views
Install openssh-server package from preseed file
So I've managed to create a custom ISO using a preseed file that isntalls the OS automatically, all works fine BUT the isntallation of the openssh-server package...I'm not what else to do.
On my ...
1
vote
1
answer
2k
views
Trusty partman preseed is ignoring partition sizes
Been going round and round on this, but no matter what I do, my partition sizes are incorrect. Using the below recipe, I get an 8 TB / partition when I should be getting 100GB. Did something change? ...
1
vote
1
answer
1k
views
Can't preseed Ubuntu Desktop installation
I've downloaded Ubuntu Desktop Live media and was unable to preseed installation changing boot args to:
boot=casper initrd=/casper/initrd.gz net.ifnames=0 auto-install/enable=true debconf/priority=...
0
votes
1
answer
737
views
Bootable recovery partition or DVD
Does anyone have a recent resource on creating a recovery partition or a recovery DVD? I have Ubuntu 16.04 with xfce4 installed and running just fine.
Three choices:
1) A bootable recovery ...
0
votes
1
answer
2k
views
How to specify default Ubuntu 16.04 installation language in isolinux/lang?
I previously used this command to set english as the default language for my unattended Ubuntu installation in 14.04 and it worked perfectly:
echo en >> isolinux/lang
For Ubuntu 16.04 this ...