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
6 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 ...
0
votes
1answer
41 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
1answer
16 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
0answers
35 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
194 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
73 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
22 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 partition /dev/sda1 Ext4 / /dev/sda5 swap i want to be use existing partition (sda1) to install the ...
2
votes
1answer
700 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 ...
0
votes
0answers
31 views

preseeding not works as i expected

Thanks for helping me. I'm trying to preseed ubuntu server 18.04.3 LTS. Method is file and install media is CD/DVD. Preseeding process itself works. However, Setting Locale and Keyboard does not ...
1
vote
1answer
40 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
28 views

Ubuntu Desktop 18.04.4 ignoring ubiquity commands

I've managed to create an unattended installation of Ubuntu Desktop 18.04.4 using Packer with a preseed.cfg. The problem: At the end of the preseed.cfg file I run the ubiquity ubiquity/...
0
votes
0answers
17 views

How to install from image on local-drive targeting same local-drive

I'm currently tasked with automating Ubuntu Desktop installs to systems in a lab intended for test automation. We're using Symantec Deployment Solution (Altiris) for system management and imaging to ...
0
votes
0answers
72 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
22 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
48 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
82 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 ...
0
votes
0answers
47 views

What is the difference between apt-install and in-target apt-get install?

The ubuntu help on preseeding links to an example file which contains this: # This command is run just before the install finishes, but when there is # still a usable /target directory. You can ...
1
vote
1answer
425 views

How to install software using preseed.cfg Ubuntu 18.04.4?

I am creating an unattended installation using preseed for Ubuntu Desktop 18.04.4, and I want to install openssh-server (openssh-sftp-server for desktop) making it actually possible to ssh after ...
0
votes
0answers
55 views

Adventures with automating Ubuntu install & VirtualBox

I've been working on an automated install of Ubuntu 18.04.4 LTS desktop under VirtualBox 6.1, using the VBoxManage utility, including the requirement for an encrypted system disk. I've hit a couple ...
0
votes
1answer
36 views

preseed/late_command string help

I've got an unattended installer that is doing everything I need except it is not correctly running the late_command, and no I'm not using ubiquity - this is from a server netboot-install of ubuntu. ...
1
vote
0answers
49 views

Preseeding in Ubuntu installer

I want to run a few commands immediately after installation of Ubuntu.Therefore I thought of using preseeding concept.I extracted my iso and in the preseed folder appended the following line to custom....
0
votes
0answers
428 views

Ubuntu 18.04.4 kickstart installation problem

I'm trying to install Server 18.04.4 (ubuntu-18.04.4-server-amd64.iso) via Kickstart. My cdrom:/ks.cfg looks like this: lang en_US keyboard de mouse timezone Europe/Berlin rootpw --iscrypted [.hash..]...
0
votes
0answers
28 views

I want to make preseeded image on windows

first, I have a pc with windows 10. second, I have no hdd space for virtual (only near 1gb) on windows pc. third, I have a empty machine that has no keyboard, no monitor. forth, I want to install ...
1
vote
1answer
78 views

Changing the repositories after PXE installation

I have set up a PXE server that does a fully automated installation of both Ubuntu 18.04 server and Centos 7.6. My issue is that after installation, the Ubuntu systems have my PXE server IP in their ...
0
votes
2answers
501 views

Is it possible to create unattended installation for Ubuntu Desktop 18.04?

I will try to keep this question short and concise: I have recently discovered the use of preseed and kickstart for unattended installation for numerous Linux distros. This seems to be the right way ...
0
votes
0answers
21 views

How to output success_command commands to retrievable log

I've created a preseed file which has some success_command commands at the end that look something like: ubiquity ubiquity/success_command string \ mkdir -p /target/home/someuser/.ssh;\ ...
0
votes
0answers
42 views

presseed file and bash script

I want to use bash script, as parametr in my pressed file for automation install Ubuntu 18.04 from my local repository. I want get hostname from my script, also I want to install alternatives for dm,...
0
votes
0answers
16 views

Passing custom vars to preseed-file i.e. individual names for hosts and volume groups

) my first question here is about passing custom vars to preseed configuration for the individualization of installed machines on 18.04.3 LTS I want to give a "temporary hostname" to the machines, ...
0
votes
0answers
78 views

Ubuntu 18.04.3 Preseed LVM SWAP Problem

I can not get SWAP Configured properly with percentage ranges (%) I've try all the combinations that I can image, in despite of this none of them have succed. With debian 10 the preseed configurations ...
0
votes
0answers
81 views

Ubuntu 18.04 preseed question - possible to do the following?

I have been expanding my work with using preseed files and our ubuntu gold images. One thing we have been exploring is to see if we could further expand on a few of our templates to include a few ...
0
votes
0answers
262 views

Preseed operations with multiple disks on Ubuntu Server 18.04 LTS

I need to configure these disk partitions set with Debian installer: /dev/sda /dev/sda1 : /boot partition 1024M ext4 bootable /dev/sdb With LVM... pv = /dev/sdb -> vg (vgName = "sys") ...
0
votes
0answers
93 views

Generate netcfg/get_hostname in a preseed file

Is it possible to generate the string for netcfg/get_hostname randomly? I need something like netcfg/get_hostname string static-RANDOMSTRING. In a shell script, I would use /dev/urandom.
0
votes
0answers
42 views

Is it possible to run a bash script from USB before the install starts?

Ubuntu 16.04/18.04 I am trying to setup a preseed file to run a bash script from the USB installation drive. My command is: d-i preseed/early_command string /.sources/scripts/validate_usb.bash Do ...
1
vote
1answer
38 views

Is it possible to fully automate the kvm install of ubuntu-core (ie without any terminal prompts)

When I follow the ubuntu-core install instructions for kvm, and run the step: kvm -smp 2 -m 1500 \ -netdev user,id=mynet0,hostfwd=tcp::8022-:22,hostfwd=tcp::8090-:80 \ -device virtio-net-pci,...
0
votes
1answer
132 views

Remastering issues with Ubuntu 18.04

I am trying to create my own distro using Ubuntu 18.04 - I am using Preseed methods and have created my own preseed file and appended just like below. And created my ISO image. However, installer ...
0
votes
0answers
47 views

Automate installation without modifying the ISO image?

I have a Hyper-V virtual machine that boots from the Ubuntu Server ISO. It's unclear to me how I can now automate the initial setup - e.g. using preseeding - without modifying the ISO image. ...
0
votes
1answer
58 views

Preseed /dev/shm

I'm able to create all partitions besides /dev/shm. I assume it requires a special configuration like swap, but I don't know where to find that information. Here's what I have, but it fails at debian-...
0
votes
0answers
84 views

Raid recipe in seed files

I have the following hardware setup: 3x8 disks combined in a hardware raid, so the system sees /dev/sda /dev/sdb /dev/sdc Each of these logical volumes is 6.4 TB in size. I'm trying to create a ...
0
votes
0answers
167 views

How to install packages with preseed from a local repository?

I created an automated install of ubuntu, which includes a local package repository so packages can be installed offline. I am able to boot and install the packages in my local repository without an ...
0
votes
1answer
524 views

Unable to preseed user creation and partitioning with ubuntu netboot 18.04

Okay, so I am trying to automate the installation of Ubuntu 18.04 LTS using the netboot image for use on our virtual machines (I'm using VirtualBox if that matters). I'm not sure if the virtual ...
0
votes
1answer
239 views

Command Line Install Doesn't Work in 16.04 mini.iso (Not ubuntu server)

I'm currently running into an issue with creating a preseeded Ubuntu 16.04 32-bit install. I'm installing into a VirtualBox VM on an Ubuntu 16.04 desktop. The iso I'm using is here: http://archive....
0
votes
0answers
48 views

How to make pressed to use whole disk for LVM without partitioning

I am trying to use packer for automating templates and stumbled upon an issue with debian preseed. All our ubuntu templates in vsphere are partitioned the following way NAME MAJ:MIN RM SIZE RO ...
2
votes
0answers
123 views

Automating 19.04 Installation

I've been trying to automate my installation of 19.04 using pre-seeding files. I'm booting directly from installation media copied to a USB stick. So far, nothing I've tried has worked. Subiquity ...
0
votes
0answers
38 views

How to bypass pages for keyboard layout page and OEM password setting, during OS install

Below step is reproduce step: 1. I copy preseed example to ubuntu.seed. 2. Boot from USB drive and install OS 3. Almost page can be preseed, but keyboard layout and OEM Password setting still pop up. ...
2
votes
1answer
723 views

How to do apt-get update and upgrade during preseed?

Right now, I'm using a bash script using packer to run apt-get update && apt-get upgrade -y. I'd like to do this in the preseed phase if possible. Is there a way to do this? I thought this d-...
1
vote
1answer
705 views

Possible to use variables in a preseed file?

I've created an automated ubuntu image using packer using the preseed.cfg file and I realized that we use multiple templates and each one requires the same preseed but a few different values for ...
1
vote
0answers
57 views

Unattended Installation Ubuntu through bootable pendrive

I have installed Ubuntu 16.04 through unattended installation. It has been installed successfully, but after installation, it is not loading and a black screen is showing with only the message: /dev/...
1
vote
0answers
76 views

Optimization on preseed debian-installer testing

Alright I am struggling with preseed because the whole process takes so much time for changing preseed then testing it (VM's are too slow and to test on the same machine I have to isolate all other ...
0
votes
0answers
50 views

Pressed late_command driver building and installation

I have successfully build a working 18.04 Desktop preseed which invokes late_command to download and execute a shell script, which downloads another late_command-in-target script, like this in-target ...
0
votes
0answers
173 views

System directories not owned by root after preseed install 18.04.2

I have an issue where there are no files owned by root after an unattended install using preseed on Ubuntu 18.04.2. I discovered this when I could not use sudo. Upon investigation, I found that /usr,...

1
2 3 4 5 6