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]

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

0
votes
1answer
26 views

How do I set up pxe boot to use preseed

I have a working 18.04 kickstart installation using PXE. I'm trying to set up preseed (because there are issues with ks that I want to get around). That setup is below as well, but it doesn't use my ...
0
votes
0answers
12 views

maas and traditional preseed

Is there any way to include the traditional preseed files in curtin for maas 2.5 ? or to set specific configurations like keyboard layout in curtin ?
0
votes
0answers
43 views

Preseed deletes data on partitions, how can I stop this?

Here is my main preseed file: # Partition Disks d-i partman-auto/disk string /dev/sda d-i partman-auto/method string regular d-i partman-auto/expert_recipe string \ ...
0
votes
0answers
42 views

Black screen at boot after Ubuntu Server 16.04 install from preseed and kickstart

I am currently trying to perform a unattended install of Ubuntu Server 16.04 on an Intel UP² board using preseed and kickstart files. For the moment, I am not really focusing on the unattended side ...
0
votes
0answers
35 views

Ubuntu PXE Installation with preseed fails at step Configuring the Package Manager. no /target directory

I have an Ubuntu 18.04 ISO with some scripts and packages added inside (Installing it from a USB works fine) When running a PXE installation with preseed it fails with this message: An ...
0
votes
0answers
19 views

Continue / ignore debootstrap warnings during pre-seed installations

When performing an automatic / non-interactive installation of Ubuntu the installation is interrupted by a warning and requires user intervention (hit continue twice during) to continue. “Install the ...
0
votes
1answer
49 views

Preseeding Dual boot dual hard drives Ubuntu 18.04.1 LTS

First post here. Just wondering if anyone can help. I'm not Linux expert or anything so this may just be my brain frazzling! Ok, so I'm using the same hardware and same method I have been using with ...
0
votes
0answers
25 views

Adding a file to Bionic ISO

I've attempted to use isomaster to add casper/preseed.cfg But the usb device fails to boot. Using the same USB device, I can boot the target machine with the 18.04 downloaded ISO, just not with the ...
0
votes
0answers
47 views

Preseed Ubuntu Server 14.04 : prevent new user creation

I'm trying to make my custom ubuntu installation and I've got a problem with user creation. I've already created one user by login in chroot before making the Boot.iso and it's working fine, I have my ...
0
votes
0answers
202 views

Ubuntu Kickstart preseeding partman/early_command

I am using Kickstart to preseed an Ubuntu (14/16/18) installer. This is not the standard debian preseeding, so I don't think you can directly use "d-i" configurations. There is very little ...
0
votes
1answer
336 views

partman-auto/expert_recipe with swap calculation during preseed

I can't find any useful information regarding swap calculation for partman and I've also tried partitioning with the below schema with no success, hopefully, you may be able to help me here. I'm ...
0
votes
0answers
194 views

how to remove avahi-daemon service from ubuntu at unattended install?

I need to configure interfaces with no avahi-daemon utility in unattended installation using preseed file. I can remove it post-installation using the command sudo apt-get remove avahi-daemon but I ...
1
vote
0answers
216 views

Live installer not using hostname provided by DHCP server in automated install

I'm running a local network with an Ubuntu server and 20 other machines on it. As I want to install a customized Ubuntu 18.04.1 version on all of them, I already created a modified live image and a ...
0
votes
0answers
201 views

Preseed late_command

I am trying to add a late_command to my preseed file but I always get errors. This is the command I am trying to use: in-target curl -L -o /home/$username/postinstall.sh https://raw....
0
votes
0answers
177 views

Ubuntu 18.04 preseed late_command

Is there a way to avoid of annoying popup window if late_command fails? We do some funky staff executing wget in the loop until it successfully hits API servers (yeah, sometime they're not reliable) ...
1
vote
0answers
70 views

Does the server ISO support installation to a LUKS container?

Walking through a manual installation using the server URL, I do see the option to install on LVM, but I don't see any option to encrypt it. I mean to use d-i partman-auto/method string crypto in a ...
0
votes
0answers
46 views

unable to use DNS in preseed URL with 18.04 server ISO

I'm unable to use a URL that includes a hostname. A URL that includes an IP address works, but any URL with a hostname causes an error, "wget: bad address 'the.host.name'". Since I can use an IP ...
0
votes
0answers
42 views

Does preseed support https?

I'm unable to use https:// in a preseed URL. Is that expected? If so, is providing a checksum the only risk mitigation against content injection and modification attacks?
0
votes
0answers
21 views

Which ISOs support preseed? [duplicate]

The desktop ISO doesn't seem to support preseed. Is it expected that only the Server ISO does?
4
votes
1answer
121 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 ...
1
vote
1answer
1k views

Unattended install of Ubuntu 18.04 minimal desktop (netboot with preseed.cfg)

I try to install the minimal desktop from Ubuntu 18.04 with netboot and preseed.cfg. I have added the following line into preseed.cfg: ubiquity ubiquity/minimal_install boolean true, but it doesn't ...
0
votes
1answer
254 views

Unable to pass variable value to curl command in preseed file

Here's my preseed late_command: d-i preseed/late_command string \ in-target IP=$(ifconfig eno1 | grep "inet\b" | awk '{print $2}'); \ in-target curl -X post --data-urlencode 'playload={"text": "IP ...
1
vote
1answer
218 views

Boot problem with custom preseed in 18.04: /dev/ram does not exist

I'm trying to adapt our preseed installation image from 16.04 to 18.04 These are the lines from the grub txt.cfg: kernel /casper/vmlinuz append preseed/file=/cdrom/preseed/sc-server.seed debian-...
0
votes
2answers
388 views

preseed late_command script: realm could not connect to system bus

I use the following preseed : d-i preseed/late_command string \ in-target wget http://my.server.adress.com/postinst.sh -O /root/postinst.sh; \ in-target /bin/bash /root/postinst.sh And in ...
0
votes
1answer
187 views

18.04 server remastered ISO preseed finish-install “left unconfigured”

I have a remastered install ISO based on ubuntu-18.04-server-amd64.iso with a preseed which is failing the final step in the installer. The late_command script runs successfully, but the installer ...
0
votes
1answer
550 views

Ubuntu 16.04 installation hangs due to intel_rapl

I was trying to make a preseeded ubuntu-16.04-server-amd64 install on my KVM. Though the standard server iso install worked perfectly fine but, after preseeding, the vm hangs on the first boot due to: ...
2
votes
0answers
141 views

How can I make it login automatic in a preseed.cfg

All I want to make my ubuntu 16.04 login automatic after boot up. And I install the ubuntu with a preseed.cfg, I try d-i passwd/auto-login boolean true But it do not work, Do I missing anything? ...
0
votes
2answers
312 views

How do I enable vlans in busybox when installing ubuntu server?

I'm trying to make a very specific iso for unattended installation, for that I need to use both bonding and vlans. I've been trying to make it work on 16.04, but I've also checked 18.04, so it doesn't ...
1
vote
2answers
259 views

Ubuntu auto-install USB doesn't boot [duplicate]

I am currently trying to do a completely unattended Ubuntu install with preseed, following AskUbuntu automated install instructions. Everything works fine on VirtualBox (I am simulating a DVD) but ...
0
votes
0answers
216 views

partman/early_command: debconf-set doesn't work for other packages

I have read documentation about how to make an automatic installer, and I tried to test with Ubuntu-server-17.10-amd64. __d-i partman/early_command string debconf-set partman-auto/disk "$(list-...
1
vote
2answers
2k 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 ...
0
votes
1answer
3k views

What am I missing to automate my 18.04 install?

I am trying to automate my install of Ubuntu 18.04. This is how my current boot paramters look like (forgive me but it's long) boot=casper auto-install/enable=true console-setup/ask_detect=false ...
0
votes
1answer
97 views

Create preseed partitions

I am looking to get A fixed 10GB / partition A fixed 1GB SWAP All the rest of the space in an ext4 partition With the following code, the rest of the space is being put on the swap, can someone ...
0
votes
1answer
582 views

How to configure preseed file to make grub configuration point to correct drive

When I install debian using the preseeded file, I have a live USB stick mounted as sda1 and ssd drive as sdb1. So I install MBR to sdb1. But when USB stick is removed SSD drive becomes sda1. And /boot/...
0
votes
0answers
145 views

Custom ISO Grub settings

I'm following the advice on https://help.ubuntu.com/community/LiveCDCustomization to create custom installer ISOs. I'm trying to make custom images for my company's deveoper workstations, and I'm ...
1
vote
0answers
509 views

preseed.cfg installed in initrd root not being recognized in Ubuntu installation (17.10 amd64 desktop or server)

I have been using a process for preseeding the initrd in a Debian ISO for some time. I just tried the same process for desktop and server variants of Ubuntu 17.10 ISOs, and everything looks fine until ...
0
votes
0answers
38 views

Setup up nat routing during auto install preseed late-command

As part of the script I run as a late-command in pressed (unattended installation disk) I have added the following: set up firewall if [[ $(ufw status | grep 'inactive' = inactive ]]; then ufw ...
0
votes
1answer
128 views

Ubuntu preseed partition table ignored

My Ubuntu install seems to ignore my partition table, I am not really sure why I got some partitions created an other ignored. here is my table: d-i partman-auto/expert_recipe string ...
1
vote
1answer
278 views

Preseeded network install is overwriting USB install drive

Let me provide as much information as I can about what I'm doing: I work in a lab development environment managing over 100 server systems. We frequently need to re-image systems with different ...
0
votes
0answers
100 views

how to make an automatic installation disk with a system image (14.04)

I need to deploy a master PC image to a large number of PCs with the ability to automatically partition disks. I found how to make a LiveCD from an installed and configured system, but there are no ...
1
vote
0answers
241 views

Unattended install of Ubuntu server - grub-install asking for confirmation

I am trying to perform an automated install of customized Ubuntu server 14.04. Everything is working fine, except one annoying grub confirmation message: Preseed file: d-i preseed/early_command ...
1
vote
1answer
647 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 ...
0
votes
1answer
450 views

Avoid “Press Enter” message in the end of Ubuntu instalation using preseed

I'm creating an unatended iso instalation of Xubuntu 17.04. I've followed the solution here and in some other places, but I still have one problem. The installation asks to remove the media and press ...
1
vote
0answers
162 views

Automatic Ubuntu 16.04 installation preserving existing partitions

I have seen quite old questions and answers about this subject but the answers were really complicated. So I am hoping that today, we have an easier way to achieve that behavior. I want to create an ...
0
votes
1answer
107 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
1answer
423 views

Activate root account without password in preseed file

I need to create minimal preseed file that will activate root account without password. I checked the forums but couldn't find anything useful. Disclaimer: I understand risks of root account without ...
1
vote
2answers
2k views

Preseeding Ubuntu 16.04 for a Hyper-V VM fails to install the UEFI boot section

I'm building a Hyper-V (on Win10 and Win2016) Ubuntu base image with Packer. The machine builds fine and I can boot the exported virtual machine without issues. However, if I create a new virtual ...
0
votes
1answer
107 views

Unable to install postgresql-server through preseed

I am trying make unattended ubuntu-server-16.04.3 iso image. I have updated isolinux.cfg and txt.cfg to take the new preseed file. All I need is unattended ubuntu server with postgres server running. ...
0
votes
1answer
1k views

Using preseed, how do I select the HWE kernel?

We have a working fully automated install of 16.04 using preseed. I need to add the HWE kernel. Is there a d-i ??? option to select the HWE kernel? If not, what is the usual approach to use an HWE ...
1
vote
1answer
997 views

Headless Installation: Unable to install busybox-initramfs

I'm trying to set up a method for installing Ubuntu on some boxes. The boxes are x86 machines that boot off of internal MMC storage. I'd like the method to be as automated as possible, as we might ...