Questions tagged [preseed]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
10 views

Set up auto install of Ubuntu Server 18.04, also possibly 16.04

I am a relative newbie to the Linux, but have used Ubuntu desktop for a while. This is my first post to the community. I am dealing with the Server now, specifically 16.04 LTS (Xenial) and 18.04 LTS (...
0
votes
1answer
39 views

Can preseed automatically install Debian system with separate boot disk [closed]

I would like to automatically install a Debian system with multiple disks. There is /dev/sda for /boot, /dev/sdb for several LVs (for /, /home, etc.), and /dev/sdc for PostgreSQL's /pddata. I ...
0
votes
0answers
18 views

How to run commands as sudo in preseed/late_command

I'm working on a custom preseeded installation of Ubuntu 18.04.5 Server, and I need to run a script once after the installation is finished. From what I can tell, using the preseed option preseed/...
0
votes
1answer
23 views

How to use classes in a preseed file

Following up with Possible to use variables in a preseed file?, and https://help.ubuntu.com/lts/installation-guide/s390x/apbs02.html, which says: In addition to specifying the url, you can also ...
0
votes
1answer
32 views

PXE Installing Ubuntu 20.04 by way of preseed.cfg doesn't start

I'm trying to PXE boot my Ubuntu 20.04 desktop by way of a preseed.cfg file. I have PXE boot menu working just fine, I can boot to and install a normal Ubuntu 20.04 box this way. The problem is the ...
0
votes
0answers
27 views

Ubuntu 20.10 Unattended install anyone?

Ubuntu has now discontinued the Debian installer support. Now what? I can't find any meaningful documentation for cloud-config (what is supposed to be used instead of preseed). There is no tool to ...
0
votes
1answer
64 views

Problem with 20.04 Preseed install from PXE

I decided to write here because I have a problem that I can't solve despite my research on the net. For my company, I installed a PXE server under Debian that I configured to install Ubuntu in an ...
0
votes
0answers
31 views

Install ubuntu to luks encrypted partition using preseed

I have made luks encrypted partition as suggested in How can I install Ubuntu encrypted with LUKS with dual-boot? . Now I am trying to install ubuntu using preseed file. Encrypted partition is in /dev/...
1
vote
1answer
70 views

Ubuntu Server 18.04 preseed

I want to create a preseed file that will automatically choose the disc (/dev/nvme0n1 or /dev/sda1) and create the partitions without approval. So far, it is detected the disk, but I need to select &...
2
votes
0answers
48 views

Unattended ubiquity seed url can only be found via ip but not via DNS name

I am able to install my linux ubuntu / mint in an unattended way with preseeding via a grub command line like linux /casper/vmlinuz toram ip=dhcp -- automatic-ubiquity url=http://192.168.178.38:8080/...
0
votes
0answers
33 views

Workflow for installing on multiple different PCs in OEM mode

We are currently building a team to refurbish and distribute old PCs and Laptops. Because we are doing this in our spare time and handing out the systems for free, we are trying to find an efficient ...
1
vote
0answers
109 views

curtin script: set size as remaining space on disk

I am using maas 2.9 on ubuntu 20.04 server os to install ubuntu 20.04 images. Issue 1: how to create last partition with remaining space? To create a custom storage configuration, I have added the ...
1
vote
0answers
107 views

HELP : failed Ubuntu 20.04 LTS Desktop install not loading ks.cfg file

I search for an Ubuntu 20.04 LTS DESKTOP automatic installation ? i boot on a USB KEY with ubuntu 20.04 lts desktop iso on this , i wan't install on a ssd pc with a automatic script (not the live ...
1
vote
0answers
60 views

Is it possible to create custom ISO with Cubic and use autoinstall?

I would like to prepare custom Ubuntu 20.04 image. The idea is that system after automatic installation will include some custom network configuration, Docker and some Docker containers running. My ...
0
votes
0answers
39 views

How to find list of available packages for preseed pkgsel/include list?

When setting up a preseed file for a particular Ubuntu release, how can one find out what are legal values to use in a pkgsel/include list? I have a long list of packages to install for this ...
0
votes
0answers
134 views

Preseed doesn't work during virt-install in Ubuntu-20.04.1-legacy-server-amd64.iso

This works correctly when installing from ubuntu-20.04.1-legacy-server-amd64.iso in our VMWare environment: d-i pkgsel/include string openssh-server build-essential cloud-guest-utils snapd curl net-...
0
votes
1answer
863 views

Using Automated Server Install with Hyper-V and ISO Image

I want to completely automate creating a VM in Windows Hyper-V, starting from the Ubuntu Server v20.04 Server ISO image. I can create a PowerShell script to define and start the VM, and when I open a ...
8
votes
2answers
4k 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 ...
0
votes
1answer
650 views

autoinstall options ignored on Ubuntu 20.04

Have been using preseed to install systems for awhile and wanted to learn about autoinstall/cloud-init. I was working through the example here: https://ubuntu.com/server/docs/install/autoinstall-...
1
vote
1answer
497 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 ...
0
votes
0answers
180 views

“No root file system is defined” using preseed

I encounter a problem when installing an Ubuntu with my preseed, it gives me the error "No root file system is defined". Does anyone know what this is due to? d-i partman-basicfilesystems/...
0
votes
0answers
79 views

ubuntu desktop 20.04 preseeding issue

I'm unable to encrypt file system through unattending pre-seeding file in ubuntu desktop 20.04 "d-i partman-auto/method crypto" is no longer working, causing "no root file system is ...
2
votes
1answer
518 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:...
0
votes
0answers
42 views

Custom install on wrong disk

I'm trying to install a custom Ubuntu iso on my computer, but it keeps installing it on the USB key where I have the ISO, even though I specified "/dev/sda". Does anyone know what it's from?
1
vote
1answer
369 views

Preseeding in 20.04

Can Ubuntu 20.04 still be preseeded the d-i style? As far as I understand it's not supported anymore. But is it still doable? Edit: this is about the server installer.
0
votes
1answer
207 views

preseed txt.cfg

i'm gonna need your help : I'm making an iso of ubuntu custom, everything works perfectly at one detail: I can't launch the installation without opening the menu at startup. I modified the txt.cfg ...
0
votes
1answer
64 views

preseed uninstall

I'm having a problem with my preseed file for Ubuntu 20.04. I'm trying to remove Rhythmbox, Thunderbird, Libreoffice and Remmina which are installed by default (I first checked on an install the ...
0
votes
0answers
323 views

Ubuntu 20.4 auto install - password salt not being stored in /etc/shadow

I'm auto installing ubuntu according to this I use the following salted hash of root for a password: identity: hostname: ubuntu-00 password: "$6$FhcddHFVZ7ABA4Gi$...
2
votes
1answer
952 views

how to generate crypted password for auto install

The instructions for auto install of ubuntu 20.4 talks about an encrypted password $crypted_pass. version: 1 identity: hostname: hostname username: username password: $crypted_pass how ...
2
votes
1answer
1k views

Unattended Installation Ubuntu 20.04 Server via VirtualBox

I was making today scripts for automated VirtualBox installation via VBoxManage. The main goal is to install a VirtualMachine without any prompting. So I made the some scripts for the Desktop Ubuntu ...
0
votes
1answer
1k views

How to include preseed file while PXE install of 20.04 server?

I try to install 20.04 server with preseeding on BIOS based device via PXE. I created pxelinux.cfg/default: DEFAULT menu.c32 ...
2
votes
1answer
976 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 ...
0
votes
0answers
234 views

ubuntu 18 install using ks.cfg over http

I have downloaded ubuntu 18.04 Server install image (iso), and created ks.cfg file with all the settings for the server - like ip, subnet, gw, hostname ,etc.. I need help to edit the iso image file to ...
1
vote
0answers
257 views

No HTTPS option in preseed during Ubuntu installation

I'm currently in the process of Configuring several Ubuntu versions with a preseed file and i want to use HTTPS to a local mirror server. Neither Ubuntu or Debian has any examples with https in their ...
0
votes
0answers
78 views

Advice for troubleshooting a preseed file for Ubuntu 20.04?

I am trying to automate an ubuntu installation for which, need to copy certain files from usb drive to target folder. "ubiquity ubiquity/success_command string \ cp -a /cdrom/Postinstall /target/...
0
votes
1answer
248 views

I'm confused by the “d-i”'s meaning in the preconfiguration file of `debconf-set-selections`

I'm using Ubuntu 18.04 and I'm automating the installation of a Debian package via apt install. This package requires me to review a license agreement and choose to accept or deny it, and I learned I ...
0
votes
0answers
76 views

ntp configuration not work in preseed install ubuntu 16.04

ntp configuration not work in preseed install ubuntu 16.04 not work about ntp config in preseed file config 1 d-i clock-setup/ntp boolean true d-i clock-setup/ntp-server string 192.168.1.60 config ...
0
votes
1answer
28 views

how to cp syslog to other places when install OS using preseed before reboot ubuntu16.04

how to cp syslog to other places when install OS using preseed before reboot ubuntu16.04 I am trying to install an server version ubuntu 16.04 with preseed the whole proceed is quick and it takes ...
2
votes
2answers
1k views

Ask only for hostname in an Automated Server Install

I'm trying to install 20.04 with an auto install config file like this one: user-data file: version: 1 identity: hostname: hostname username: username password: $crypted_pass But I want ...
0
votes
2answers
114 views

how to setup default runlevel to 3 after preseed install ubuntu 16.04

how to setup default runlevel to 3 after preseed install ubuntu 16.04 I install an os ubuntu 16.04 with preseed.cfg on boot get stuck boot stuck on /dev/sda1 clean it seems the same question even ...
0
votes
1answer
234 views

fail to auto install ubuntu 16.04 with preseed.cfg,http not work

fail to install ubuntu 16.04 with preseed.cfg http protocol seems not work in preseed file version: ubuntu 16.04 server including server and client when I set http protocol in the file preseed.cfg ...
0
votes
1answer
2k 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 /...
0
votes
1answer
594 views

Is auto installation through preseed files still present in ubuntu 20.04?

Is auto installation through preseed files still present in Ubuntu 20.04 ?
1
vote
0answers
59 views

Preseed Disk partition - Use existing partition with out create new partition - Patman ubuntu ISO

I have working on the Ubuntu upgrade from 14 to 18.04 ISO. So in my system already having two partitions: /dev/sda1 Ext4 / /dev/sda5 swap I want to be use existing partition (sda1) to install the ...
13
votes
2answers
12k 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 ...
2
votes
1answer
495 views

Preseed config (using cubic) is ignored during installation

I want to create ubuntu (desktop version) iso, which contains preinstalled apps and install with full disc encryption with LVM. The first part was successfully solved using Cubic, but the "forced" ...
0
votes
0answers
448 views

Unattended ubuntu installation with Packer : error while selecting the language

I was trying to use packer to setup a VM with ubuntu1804. VM is a virtualbox vagrant machine. I followed the pressed file and other scripts from here: https://github.com/geerlingguy/packer-boxes/tree/...
0
votes
1answer
186 views

How to access a file on the boot medium from the live installer preseed/early_command?

I'm currently trying to set up a preseed file for my ubuntu desktop 18.04. An easy way to see that it is working would be to change the background image of the ubuntu live installer. So, inspired by ...
0
votes
1answer
62 views

Ubuntu Desktop 18.04 requires a user

Is it possible to skip user creation for Ubuntu Desktop? I know this is possible for Ubuntu Server using following: d-i passwd/make-user boolean false I've tried the method above for Ubuntu ...
2
votes
1answer
531 views

When to use pkgsel/include over a preseed/late_command apt-install?

The example file for preseeding bionic as linked to here contains both # Individual additional packages to install #d-i pkgsel/include string openssh-server build-essential ``` and # This command ...

1
2 3 4 5 6