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

learn more… | top users | synonyms

1
vote
0answers
161 views

How can I preseed commands to run after the preseed reboot?

During an automated preseed installation, how can I run a script just once after the final reboot? My use case is provisioning a machine with salt, as called by a foreman. Foreman gives me a ...
2
votes
1answer
1k 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 ...
0
votes
1answer
629 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 ...
2
votes
1answer
493 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
501 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 ...
1
vote
1answer
250 views

How the installer can find my preseed.cfg file?

Am following the Ubuntu help(Automating the installation using preseeding) and created the preseed.cfg file. Am trying to install "Ubuntu 12.04 LTS" using USB so kept the preseed.cfg file in top ...
1
vote
1answer
245 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 ...
1
vote
0answers
313 views

Why won't the Ubuntu 12.04 installer use my preseed file?

Here is my preseed file: 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 partman-lvm/device_remove_lvm_span boolean true ...
0
votes
1answer
1k 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
1answer
101 views

Why am I getting “apt-setup/security_host ubuntu doesn't exist” while instaling from pressed?

I am trying to install the 12.04 desktop using preseed file, same file I use for 12.04 server installation. It works fine for the server but on desktop I am getting: apt-setup/security_host ubuntu ...
1
vote
1answer
123 views

Is it possible to avoid the question at softwarechoice during installation?

I remastered your Lubuntu-Alternate-Iso, added own packages an a new preseed-file which works fine and is exactly what i was searching for. There is one problem left, where i found no help using ...
2
votes
2answers
2k 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 ...
2
votes
1answer
117 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 ...
0
votes
2answers
553 views

preseed with LVM and crypto fails with “An error occured while creating the keyfile.”

I am trying to set up a preseed installation that will automate most of the installation of a desktop computer with Ubuntu 13.04. Disk partitioning with LVM works fine, but I need to encrypt the ...
1
vote
1answer
979 views

Ubuntu Preseed set Norwegian Keyboard?

It's been a couple of days now that I am trying to make a fully automated unattended installation. I managed to make it work with Ubuntu/Cobbler and a preseed file, but I cannot set the correct ...
2
votes
0answers
2k 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 ...
1
vote
0answers
188 views

root file system not found in prseed partition

I am using following partition recipe for my partition on ubuntu 12.04 precise. d-i partman-auto/disk string /dev/sda d-i partman-auto/method string lvm d-i partman-lvm/device_remove_lvm boolean true ...
0
votes
1answer
155 views

installation under vmware gets into installation loop

I'm instlling Ubuntu 12.04 LTS on VMware servers. I use preseed to automate the installation. The problem I have is that once the CD-ROM image is attached to the virtual machine, and the BIOS is ...
2
votes
1answer
670 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 ...
1
vote
0answers
249 views

Is it possible to use the conditional arguments in a preseed?

I am trying to create a preseed.cfg that is usable for a CD based installation and a network based installation. I figured the easiest way to do this would be to use a bash conditional "if". As part ...
3
votes
1answer
463 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 ...
4
votes
1answer
169 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 ...
1
vote
1answer
443 views

Doing an unattended PXE installation from a local NFS volume?

I'm trying to configure unattended Ubuntu Desktop (12.10) installations booting from PXE. I've got it working, but since I had to use the initrd.gz and kernel from the mini iso, it appears only to be ...
2
votes
0answers
438 views

How to modify Ubuntu Precise .iso preseed?

I'm trying to modify the installation sequence of Ubuntu Precise. I need add a repository package inside the iso. I make my own apt repository mirror and add my own packages with reprepro ...
3
votes
1answer
70 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
0answers
296 views

How can I preseed package installation without a network connection?

I am working to create an unattended offline installation of the Ubuntu Server 12.04. I have everything preseeded so far, but I still can't figure out how to install other packages without requiring ...
3
votes
2answers
1k 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 ...
0
votes
1answer
864 views

How to enable lubuntu-12.10-alternate-amd64.iso to PXE network install the graphical desktop?

I have successfully used lubuntu-12.10-alternate-amd64.iso to PXE network install a server. But so far, I have not been able to get the desktop login installed regardless what I put in in the preseed ...
1
vote
0answers
540 views

How to preseed 12.10 desktop when the ubuntu-desktop package is missing?

I have been trying to use a preseed file to do PXE booting of a 12.10 desktop. Upon the first boot, I was greeted by a terminal with login prompt. Surprised, I checked the /var/log/installer/syslog ...
2
votes
0answers
207 views

Preseed create two empty partitions (“do not use”) with partman

I have a question about preseeding. I need to create a simple partition table like this: / 10 G EXT3 primary swap 8 G SWAP primary 100G "Do not use" primary (to be ...
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 ...
2
votes
1answer
179 views

Detect processor during preseed post-install script

Is it possible to detect the processor, such as by uname -p, from within a preseed post-install script? uname -p returns unknown, and in-target uname -p returns nothing. I ask because I need to fetch ...
1
vote
2answers
929 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 ...
1
vote
1answer
582 views

Preseeding: Can't access cdrom?

At work we often need to install Ubuntu Server and several extra packages while offline. To make this faster, I'm creating a custom Ubuntu Server install via preseeding (following this documentation: ...
4
votes
1answer
2k 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? ...
0
votes
1answer
373 views

Can an apt proxy affect the use of dpkg?

I have been doing Ubuntu deployment using a preseed.cfg. After becoming comfortable with the packages being installed it was time to reduce download time and internet traffic by creating a mirror. I ...
2
votes
1answer
519 views

PXE Linux kernel line for Preseed

I want to setup a Preseed for my Edubuntu 12.04 on my PXE Server, running PXE Linux but I can't seem to figure out how to add the Preseed. LABEL Install edUbutnu Junior 12.04 x86 MENU LABEL ...
1
vote
2answers
843 views

Automated installation using preseeding from url failed (from within VirtualBox)

I'm trying to do automated installation using preseeding from url, but it failed. Basically, I'm following Ubuntu Server Quick Install, No Questions Asked! ...
0
votes
1answer
2k views

preseed-file with apt-proxy/approx

i'm using approx as a apt proxy in our network. It's still working. Now I try to install 12.04 using a preseed file. This ist the section for the mirror: d-i mirror/country string manual d-i ...
1
vote
1answer
476 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 ...
1
vote
2answers
1k views

Which debconf preseed option to auto reboot after installation?

Another pressed config to find here .. auto reboot after installation
2
votes
2answers
3k 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
1answer
541 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
2k 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 ...
1
vote
3answers
3k 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 ...
4
votes
2answers
2k 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
1answer
1k 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
0answers
699 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 ...
2
votes
1answer
1k 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 ...
5
votes
1answer
2k 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 ...