Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [preseed]

Preseeding provides a way to set answers to questions asked during the installation process of a Debian operating system.

3
votes
2answers
211 views

Preseed automatic partitioning

I'm using the following partman settings for automated installs of VMs for some years now: d-i partman-auto/disk string /dev/sda d-i partman-auto/method string regular d-i partman-lvm/...
1
vote
2answers
50 views

Ubuntu 16.04 installer: any way to save setup info for a preseed?

Is there a way to save my setup selections from a regular CDROM install for use as a preseed or kickstart file? I'm experimenting with booting hosts from PXE to standardize Ubuntu installations and ...
0
votes
0answers
85 views

How to make virt-install do an unattended install with an image that installs unattended on real hardware?

I built an Ubuntu 16.04 installation image. It reliably installs unattended on real computers--no preseed file, no human input. When I try to install this image in a KVM/qemu virtual machine, I must ...
1
vote
0answers
157 views

booting debian image via PXE boot gives No common CD-ROM drive detected

I have created a custom debian image which should be autoinstall itself using preseed. When I load the image via Dell idrac virtual drive everything goes smoothly, however if I am trying to serve the ...
0
votes
1answer
433 views

PXE install of Debian Stretch to a host with two network devices

I know this issue has been addressed a lot on the internet, but I never could find an answer that applies to my situation. I'm installing a Debian machine (9.3) using a PXE install, and a preseed file....
0
votes
0answers
363 views

Ubuntu preseed partman-auto with a ssd end a lvm on RAID

I'm trying to preseed an Ubuntu 16.04 on a SuperMicro server which has one 32 GiB SSD and two 1TB disks in RAID1 I configured in BIOS. My goal is to have this partitions: SSD: 2GB /boot 1 or 2GB ...
2
votes
1answer
229 views

What means 3 numbers in manual partitioning of hdd in preseed for ubuntu?

i see in official documentation this: #d-i partman-auto/expert_recipe string \ # boot-root :: \ # 40 50 100 ext3 ...
0
votes
1answer
587 views

How to make custom partitioning of hdd via preseed?

According to official debian manual (https://www.debian.org/releases/stable/amd64/apbs04.html.en), i saw: #d-i partman-auto/expert_recipe string \ # boot-root :: ...
1
vote
1answer
93 views

Debian preseed prompts disk select dispite it being seeded

In our environment we are automating deployment of Debian VMs to run workloads. Everything in our preseed file works except for the selection of the disk. This still gets prompted. Our preseed ...
3
votes
1answer
602 views

dpkg-reconfigure: dialog frontend sets up postfix successfully; non-interactive frontend fails

(N.B. In this question, a leading # indicates a root prompt, not a comment. Also, I have replaced the actual hostname with <myhostname>.) As the debconf (7) man-page states, dpkg-reconfigure ...
0
votes
1answer
279 views

Automated install using preesed - grub confirmation message issue

I am performing an automated install of a custom ubuntu 14.04 server using a combination of preseed and kickstart methods. Everything is fine except the annoying grub confirmation message as shown ...
1
vote
1answer
80 views

How to ensure that hostname will be set to Virtualbox VM name when using a preseed automated install debian file with PXE boot?

Let's say I create a VM in Virtual Box. My environnement with TFTP boot is ready. The install goes well, except that the machine doesn't have the VM name as hostname ... How to force that ?
1
vote
0answers
902 views

Ubuntu 16.04 Server preseed - Partitioning: Use entire disk

I am trying to generate a semi-automated Ubuntu installation. However I am running in some issues with the preseed file with regards to partitioning. What I would like to happen is: skip the menu ...
0
votes
1answer
639 views

Ubuntu Preseed file for RAID 1 without LVM

I'm trying to use Ubuntu's Preseed file to install ubuntu with RAID 1 with no LVM. Basically I want /dev/sda and /dev/sdb to be in RAID, no home and swap partition is needed. This is what I tried: ...
3
votes
1answer
678 views

Can I prevent Debian from hitting DHCP server twice during installation?

I have a DHCP server used to do unattended installations of Debian: boot from PXE, and then install the operating system with a preseed. The DHCP server (Debian's isc-dhcp-server package) is ...
5
votes
1answer
1k views

Preseed Ubuntu / Debian - Partitioning: prevent “Partition 1 does not start on physical sector boundary.”

Preseeding of Ubuntu / Debian works correct - system is bootable. But fdisk -l is resulting following: Disk /dev/sda: 50 GiB, 53687091200 bytes, 104857600 sectors Units: sectors of 1 * 512 = 512 ...
1
vote
0answers
707 views

Ubuntu 16.04, Dell R320 & preseed install via “The Foreman”

After lots of trial & error I've finally given up on the "SATA RAID" the R320 provides, and resorted to using AHCI mode. Partitioning/Provisioning work fine, but on the next boot the machine ...
0
votes
1answer
2k views

Ubuntu preseed static IP configuration (virt-install)

I want to create Ubuntu 14.04 VM with virt-install and preseed configuration. I have provided: d-i netcfg/enable boolean true d-i netcfg/choose_interface select auto d-i netcfg/disable_dhcp boolean ...
2
votes
1answer
1k views

Debian 8.3.0 - PXE installer asking for CDROM?

I'm sure I'm missing something easy, but I can't think of what it is. I used Cobbler to import Debian 8.3.0, but when I attempt to install it on a machine attached to the network, the installer asks ...
5
votes
3answers
2k views

Passing variables to use in the preseed file for a Debian Jessie installation

Is it possible to add a variable via the boot prompt to the Debian installer, so that variable can be used in a preseed file? In particular, I'm trying to solve the following problem: We have a ...
2
votes
1answer
217 views

Securely deploying secrets to boxes during provisioning

During a fully automated deployment on physical hardware (using pxeboot / preseed / kickstart to install and configure a minimal system for bootstrapping) we need to deploy certain secrets - such as ...
1
vote
1answer
6k views

Preseeding debian install - EFI

The EFI partition is formatted in ext4 during the setup of debian. I am trying to preseed the install of debian jessie and I can't get it working since the UEFI partition is formatted in ext4 (got ...
0
votes
1answer
769 views

Debian/Installer Preseed Remove Post Install Kernel Options + Multi NIC Preseed Tip

In light of recent automation trends, I would like to be able to fully automate an install of Ubuntu. My my first problem was auto selection of the bootif with multiple NICs break Ubuntu/Debians ...
3
votes
1answer
2k views

Unattended installation with preseed — give a custom device to partman-auto

I'm doing an unattended installation of Ubuntu-14.04-server with a USB drive and a preseed file on different type of servers (HP Proliant ML110, ML310, ML350). On the ML110 and ML310, the hard drive ...
3
votes
2answers
1k views

Hard drive is not detected at early stage of unattended installation

I'm doing an unattended installation of Ubuntu-14.04-server with a USB drive and a preseed file on different type of servers (HP Proliant ML110, ML310, ML350). This preseed file contains multiple ...
3
votes
6answers
2k views

Debian preseed.cfg - Language not set

I'm trying to write a preseed.cfg which should be used for a full automated installation of Debian wheezy. For some reasons the installer is still asking to select a lanugage even if I set this in my ...
3
votes
1answer
861 views

Ubuntu 14.04 Installation with Preseeded RAID 1 Partitioning

I have been having a painful time trying to automate an Ubuntu 14.04 Server Installation with RAID 1 partitioning. I'm testing this on top of VirtualBox with two Virtual Disk Images (dynamically ...
0
votes
2answers
2k views

Preeseding a debian stable install with a complex partitioning scheme - missing physical volume

My personal systems run on: An open /boot partition separately random key encrypted /tmp and swap partitions and a password encrypted btrfs lvm volume holding everything else. My latest project is ...
1
vote
0answers
231 views

Debian d-i preseed partman tmpfs

I am trying to create automatic provisioning of my servers using pxeboot and netinstall. Everything works ok (RAID, LVM, ...), but I would need to create tmpfs for some directories. I would like to ...
5
votes
2answers
2k views

How can I answer the “scan another CD” prompt during Debian install with preseed?

I've got a preseeded install from cdrom working smoothly, except for ONE prompt. It does the scan of the cdrom before installing software, and asks me if I want to insert an additional CD to scan. Is ...
1
vote
1answer
938 views

Unable to NFS mount in Debian preseed target

I am installing Debian 7.5 using a preseed. I am using the linux and initrd.gz supplied by Debain 7.5 for PXE booting. I have gotten the entire system to the point where I can install the OS ...
2
votes
2answers
265 views

veewee: build gets stuck during installation of libssl on debian 7.4

I'm new to vagrant and veewee. I'm trying to build a debian 7.4 image but after running the build veewee vbox build 'debian-7.4' the process gets stuck on the installation of libssl because it ...
5
votes
1answer
477 views

reusing existing RAIDs on preseeded installation

I'm trying to automate the reinstallation process of existing Ubuntu installations. Partition layout: md0( raid1, /dev/sda1#/dev/sdb1 ) - swap (2G) md1( raid1, /dev/sda2#/dev/sdb2 ) - / (20G) md2( ...
3
votes
2answers
2k views

Debian Preseed use whole device for LVM Physical Volume

I have the following recipe for a preseed install (truncated for readability): d-i partman-auto/expert_recipe string \ boot-root :: \ 1 1 1 free \ $iflabel{ gpt } \ $reusemethod{ } \...
2
votes
3answers
5k views

How To Include Additional Software In preseed.cfg For Ubuntu Server 13.10

I am doing fully automated installation of Ubuntu Server (Saucy) 13.10 and also wants to include custom additional softwares,The Format of preseed.cfg is: d-i debian-installer/locale string en_US d-...
1
vote
0answers
2k views

How to achieve ubuntu automatic installation with help of USBDRIVE?

I wants to place Ubuntu 13.04 Server edition ISO Image to USB pendrive and then automatic installation by help of this usbdrive. I perform following steps: (1) Format the pendrive, Assuming my ...
2
votes
1answer
2k views

How to preseed options before network in Debian/Ubuntu PXE installation?

I'm trying to fully automate an Ubuntu installation over the network, but the preseed file is loaded only after the network adapter detection. Even with those options in the preseed file the ...
0
votes
1answer
464 views

How do I preseed a pointopoint option in Debian?

How can I preseed a pointopoint connection for the Debian installer? The following option didn't work. d-i netcfg/get_pointopoint string 10.10.10.10 I need it because the default gateway for the ...
4
votes
2answers
3k views

Preseeding Ubuntu partman recipe using LVM and RAID

I'm trying to preseed Ubuntu 12.04 server installation and created a recipe that would create RAID 1 on 2 drives and then partition that using LVM. Unfortunately partman complains when creating LVM ...
0
votes
2answers
1k views

Foreman Unattended Installation

I am currently hard coding a preseed configuration to install foreman on a new machine together with Ubuntu 12.04. The intention is to be able to reproducably create a foreman installation which ...
6
votes
4answers
6k views

12.04 preseeded install with RAID and LVM

I am trying to set up a preseed install (Ubuntu 12.04.03 64-bit) with the following partitioning recipe, but it's just not working and I'm not sure why. Please, Obi-Wan, you're my only hope. The -1 ...
1
vote
0answers
481 views

Why won't my Ubuntu 12.04 Preseed file work with LVM

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 d-...
7
votes
2answers
2k views

Debian/Ubuntu set preseed mirror variable via early/run command

I need to know how can I add this to preseeding via d-i early/command or d-i preseed/run to set my mirror inside preseed.cfg from /proc/cmdline argument. If I do: d-i preseed/run string ws/ubuntu....
1
vote
1answer
717 views

Preseed RAID10 does not seem to work

I have this config (excerpt) for my preseed d-i partman-auto/method string raid d-i partman-auto/disk string /dev/sda /dev/sdb /dev/sdc /dev/sdd d-i partman-auto/expert_recipe string \ multiraid:...
3
votes
1answer
3k views

Installing Debian with PXE and preseed and dynamic IP address, but configure it finally with static IP address

I had setup an infrastructure for automatic installation of Debian based machines. It uses PXE booting with DHCP and TFTP servers, and preseed to automate the OS installation. What I want is: use ...
0
votes
1answer
3k views

Where does the preseed file go for Ubuntu server iso install?

I'm installing a bunch of Ubuntu Server VMs from ISO, and would like to edit the ISO to include a custom preseed. I have all the docs here: https://help.ubuntu.com/lts/installation-guide/i386/preseed-...
0
votes
1answer
553 views

Ubuntu Server Preseed issues (Partitioning)

I'm installing 14 Ubuntu 12.10 amd64 servers in an IBM Bladecenter.. I'm having trouble getting past the partitioner step with the preseed file I made. I think I'm having a problem here boot-root ::...
2
votes
0answers
924 views

Cannot seem to get Ubuntu Kickstart and preseed to cooperate with partitioning

I am trying to set up a minimal installation for some Ubuntu 12.04 workstations where I can pop in a CD-ROM, hit enter a couple times, and have it build me a ready-made system for imaging and ...
3
votes
1answer
985 views

preseed command string fail with newline character using virt-install initrd-inject

I am creating a new virtual machine using libvirt's virt-install command. The command pulls a local preseed file from the hypervisor using initrd-inject: virt-install \ --autostart \ --name vm1 \ --...
1
vote
1answer
3k views

Ubuntu Preseed not using local mirror

I have a full ubuntu mirror located on the server http://leelah.home.ianwilson.org/ubuntu/ In my preseed.cfg file, I have the following d-i config for selecting my country mirror: d-i mirror/...