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

learn more… | top users | synonyms

14
votes
3answers
5k 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 ...
8
votes
2answers
5k 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 ...
6
votes
1answer
3k 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 ...
5
votes
3answers
1k 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
1answer
3k 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 preseeding? ...
5
votes
3answers
2k 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> ...
5
votes
1answer
982 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
2answers
999 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
1answer
2k 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
1answer
772 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
1answer
839 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 ...
4
votes
2answers
4k 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 ...
4
votes
2answers
801 views

Preseeding the installer?

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
1answer
3k 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 ...
4
votes
1answer
2k 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 ...
4
votes
1answer
181 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 ...
4
votes
2answers
3k 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
4
votes
0answers
136 views

Continue with out a default route? [duplicate]

I am doing a complete unattended install of Ubuntu 12.04. I am doing static network configuration. Here is content for Static network configuration from the preseed file. d-i netcfg/disable_dhcp ...
4
votes
0answers
932 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. So far it is working great, I can run a complete install and come out with a fresh machine with one ...
3
votes
2answers
3k 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 ...
3
votes
2answers
2k 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 ...
3
votes
2answers
2k 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 ...
3
votes
1answer
243 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?
3
votes
2answers
1k views

What is the correct way of setting up an abnt2 keyboard layout in preseed?

I am creating a preseeding file for an automatic ubuntu 11.10 installation and I am having problems setting up the keyboard configuration. I need the keyboard to be configured as abnt2 so I added this ...
3
votes
2answers
2k 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 ...
3
votes
1answer
192 views

How do I stop the installer putting invalid entries in my /etc/hosts file?

I have a number of Hardy hosts that seem to get an invalid hostname placed in their /etc/hosts during the installation process. There's a line in /etc/hosts on a freshly built, unmodified host that ...
3
votes
1answer
1k views

How do I preseed the installer to use a specific locale?

I am doing a preseed (actually only ask the keyboard map and timezone) of Lucid Lynx install and trying to use the same locale that I selected in the boot screen, I.E. if I select french lang I want ...
3
votes
0answers
24 views

Ubuntu preseed file

I am working few days on this and I can't find any reasonable solution. My situation is: I need 2 hard disks on machine(vmware workstation) and one partition (sdb) is for swap and other is for ...
3
votes
1answer
629 views

Ubuntu preseed - disable i386/multiarch

I'm installing servers with pre-seeding but our local mirror only has amd64 packages. Yet, installer tries to fetch sources for i386 packages as well and basically strolls on it for a while during ...
3
votes
1answer
81 views

How do I automate the installation of acroread?

I would like to install acroread via script without interaction. Is there a way to pre-accept the license agreement?
2
votes
2answers
4k views

Which debconf preseed option to install GRUB automatically to MBR?

NOTE: I'm using preseed here , this step should be done automatically from preseed config This is the final step before finishing installation , install grub to MBR: I'm not sure which debconf ...
2
votes
2answers
2k 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 ...
2
votes
2answers
1k views

Preseeding 3.16 hardware enablement kernel requires manual update-initramfs

I'm preseeding a 14.04 Trusty install, on a machine which requires a driver fix from the 3.16 kernel, which is the one which goes with 14.10 Utopic. The easiest way to get this kernel is to install ...
2
votes
1answer
662 views

Disable confirmation for LVM in preseed file?

I'm not sure which debconf option should I use to bypass this disk change confirmation: And does the order of debconf commands matters ?
2
votes
1answer
736 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 ...
2
votes
1answer
543 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
1answer
3k views

How do I modify this preseed snippet to partition my hard drive?

I'm attempting to create my first Ubuntu Server 10.04-4 LTS x64 preseed file and I'm afraid I can't figure out the hard drive partitioning aspect: I have a 2TB hard disk that I need configured as ...
2
votes
1answer
3k views

Full disk encryption with-preseed?

Ubuntu 8.04 and later provide encryption using LUKS and eCryptfs. The question is how to configure preseed to do it automatically? There is an option in preseed to encrypt user's home, but no option ...
2
votes
1answer
149 views

Multiple Preseeds

I just installed and successfully did a test MAAS installation using the generic preseed that comes with MAAS. My organization is looking at MAAS to scale our Ubuntu-based infrastructure, and we were ...
2
votes
2answers
438 views

How to show just a progress bar during a preseeded installation?

Based on the comment on a question on Superuser.com, I started wondering if it's possible to show a progress bar with no text during an installation. That could be used to provide a user-friendly ...
2
votes
0answers
151 views

preseed file and installation script

I am using a preseed file to auto install ubuntu 12.04. I create a normal user account (able to use sudo), I skip the creation of a root account. At the end of the file I have put this (seen it from ...
2
votes
0answers
1k views

How to configure RAID + 2 LVM volumes via preseed?

Internally, we use Ubuntu (14.04 Trusty) on our workstations, and until now we've done all of our builds by hand, including the creation of RAID/LVM/LUKS-encrypted volumes. This doesn't scale, and ...
2
votes
0answers
289 views

Reusing disk partition during ubuntu installation

is there a way to tell partman to re-use current disk layout/lvm layout when using preseeding? either that or bypass partman completely? i'm using a custom preseed file with my own partman recipe. but ...
2
votes
0answers
658 views

Completing a “minimal virtual machine” install with a kickstart file

I have built an unattended setup ISO for Ubuntu 12.04.4 using instructions provided on the community wiki, however, I'm having a hard time with two specific pieces of the install: The installer ...
2
votes
1answer
482 views

How can I set up the Trusty Desktop ISO for preseeding?

With Precise, I used to create a USB stick using the so-called "Alternate" installer DVD with my own preseed.txt, update isolinux/txt.cfg with a new menu item that would pass my preseed file on the ...
2
votes
1answer
883 views

Unattended installation xubuntu

I'm trying to setup an unattended install of Xubuntu 13.10. It currently picks up all the settings but it still requires me to click next on each screen. I understand editing the xubuntu.seed isn't ...
2
votes
1answer
1k 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 ...
2
votes
0answers
658 views

Installing linux-generic-lts-quantal in 12.04.3 via preseed

I'm struggling with getting this working. The problem is, the backported raring kernel breaks OVS. So we need the quantal kernel. I've tried this in my preseed: d-i ...
2
votes
1answer
447 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 ...
2
votes
0answers
3k views

How do I setup a fine grained preseed with tasksel set to manual?

I am trying to preseed a netboot install of Ubuntu 13.04 (Raring Ringtail) x64. Work Setup My preseed configuration works fine as long as tasksel is not set to manual. For example: [...] d-i ...