Questions tagged [subiquity]

Subiquity is an installer framework for Ubuntu, providing the Ubuntu Server text UI installer, and Ubuntu Core first boot configuration. It also functions as the backend for other Ubuntu install cases such as the flutter-based Desktop installer and as part of WSL configuration.

Filter by
Sorted by
Tagged with
1 vote
2 answers
612 views

Ubuntu 20.04 Autoinstall, Cloud-Init and Subiquity

I'm PXE booting the ISO and using the new Subiquity installer. I've got a working autoinstall setup/config with a working user-data file. What's not working is that I have an ansible: section that ...
1 vote
2 answers
3k views

My Ubuntu 20.04 auto install is failing - how can I open a shell?

I have an autoinstall on a custom 20.04 ISO I'm building using Cubic. Subiquity is the Curtin log below and providing a path but I can't work out how to break into a shell. This happened after cloud-...
0 votes
0 answers
109 views

Does the 6.2 kernel support subiquity auto install for ubuntu 22.04?

I currently have a working auto installer for Ubuntu 22.04 Server that uses nocloud and will auto setup with a user-data and meta-data folder. This is using the 5.15 kernel which comes with the Ubuntu ...
0 votes
1 answer
359 views

Ubuntu autoinstall with Encryption not working

I'm trying to install Ubuntu server 22.04 with auto-install mostly following this article. I can successfully get the cloud-init and use my user-data for the installation but I can't seem to get the ...
0 votes
2 answers
759 views

Where is syslinux package for 20.10?

I'm working with subiquity, Ubuntu Base, and PXE stuff. And for one of the steps I use syslinux. On 20.04.1 Live Server install, i just do early command apt-get install -y syslinux Which works. But ...
1 vote
0 answers
70 views

Ubuntu 23.04 flutter installer fails with custom partitioning

The new Ubuntu installer consistently fails to complete installation when using custom partitioning. It only works when selecting Erase Disk and using the default settings. How do I fix this? I'm ...
0 votes
0 answers
70 views

The difference in network configuration files between USB install and PXE autoinstall

when i use pxe with autoinstall install ubuntu server 22.04 or 23.04,the network configuration automatically generated like this # This is the network config written by 'subiquity' network: ...
0 votes
1 answer
919 views

Autoinstall issue 22.04.2 server packer

Weird issue when using autoinstall its fires up cloud-init and starts doing something but gets to subiquity/meta/status_get and its falls over. So heres what i'm using ubuntu 20.04 moved to 22.04 ...
0 votes
0 answers
246 views

anyone tried installing ubuntu-desktop via ipxe/22.04 live iso subiquity method?

Just recently, running a network ipxe install of Ubuntu 22.04 results in an error 100 when trying to install the ubuntu-desktop package. I can try and switch to xubuntu-desktop and while that allows ...
0 votes
0 answers
52 views

Subiquity - Dual Boot Storage Setup

Is it possible to install Ubuntu 22 via Subiquity alongside a Windows install on 1 disk? And if so, how is the user-data file configured? In pre-seed, I could use the following: d-i partman-auto/...
0 votes
0 answers
47 views

Dell R7525 Subiquity install fails

We have a Dell R7525 with NVIDIA GPU and NVMe drive. When we autoinstall ubuntu-20.04.5-live-server, the install completes. However when the server reboots after the install it just hangs on a black ...
0 votes
0 answers
103 views

installation ubuntu subiquity wo snaps and wo firefox ? with ubuntu-desktop

For the last 4 days, our Ubuntu installations via subiquity have been interrupted due to a package that absolutely wants to go online: This package: ubuntu-desktop (ubuntu-desktop-minimal) The ...
0 votes
0 answers
75 views

Subiquity Random crashing on Dell Precision 3660

We've been developing an cloud_init/autoinstall for Dell Precision 3660, the majority of the work, because it was quicker was developed and written in house using virtual machines on VMware vSphere 7....
1 vote
3 answers
9k views

Server 22.04.1 subiquity autoinstall - system-install command fails after changing NIC name using netplan

Issue: I'm trying to use packer to create an Ubuntu Server 22.04 image and I'm running into issues when it comes to renaming the NIC using a valid netplan config and then also installing one package. ...
0 votes
1 answer
836 views

Dynamic Hostnames from DHCP in Autoinstall

In the user_data autoinstall I have being served via tftp, the hostname field is required. I'm using statically mapped dhcp entries to match machine to hostname, ip, etc. How can I get the ...
0 votes
1 answer
801 views

Ubuntu 20.04 Subiquity Install - Point to Local Apt Repo on Iso

I am working on fully automating an installation of Ubuntu 20.04.4 server using the subiquity autoinstall method. I have a successful configuration that installs unattended, and pulls in the ubuntu-...
0 votes
2 answers
3k views

Autoinstall local repository

I have my own ISO based on Ubuntu 22.04 that I generated myself. Here is my Autoinstall - #cloud-config autoinstall: version: 1 identity: hostname: foo-ubuntu password: "ToReplace&...
0 votes
1 answer
2k views

Server Autoinstall and Partitions

I'm learning about the cloud-config-ish autoinstall tool subiquity and I keep running into a problem where the autoinstall works, but it won't follow my configuration for the storage: section. Here's ...
1 vote
1 answer
1k views

Installing 20.04.3 server (subiquity) without GRUB

I’d like to install ubuntu-server 20.04.3 LTS but I already have a boot manager and don’t want to overwrite it. I know ubiquity can be run with the --no-bootloader option, and there are hints ...
1 vote
1 answer
1k views

Interact with user from subiquity late-command?

I am working on moving from the old Debian-style installer to the newer Ubuntu server autoinstall system which uses subiquity. One thing we do with our current system is run a late_command script ...
2 votes
0 answers
2k views

How can I properly debug a faulty 22.04 LTS Server autoinstall done with the new subiquity frame?

edit2: Over the 2 weeks with subiquity and cloud-init, I pieced together a new shell script with example user-data file and an altered grub.cfg as the one by covertsh did not work for me any longer ...
1 vote
1 answer
864 views

How would I autoinstall 22.04 from USB?

What the best way using Subquitity/Seed/Cloudinit to auto install an Ubuntu Desktop 22.04 image? Our staff use Ubuntu and rather than keeping one fat image lying about which is time consuming to ...
0 votes
0 answers
176 views

Setting timezone Interactively in installation via subiquity

Is there a way to select timezone interactively in installation via subiquity? I'm aware of 'interactive-sections' under which we can set options to select locale and keyboard layouts during setup. ...
10 votes
2 answers
11k views

Disable auto update at end of autoinstall/cloud-init

I have a working cloud-init that is deployed using packer. Once the VM is booted and the autoinstall is completed, Ubuntu does the auto update thing. This seems to take forever to complete and is an ...
7 votes
1 answer
9k views

Curtin error on autoinstall Ubuntu 20.04.1

It fails when I try to use a local focal mirror or if I set a proxy. Here is the install log snippet: 2020-12-01 13:47:16,916 DEBUG root:39 start: subiquity/InstallProgress/install/curtin_install/cmd-...
1 vote
0 answers
1k views

An error occurred during installation in Ubuntu Server 22.04

I have an old laptop and I'm trying to install Ubuntu Server 22.04 on it. I want to host some game servers and potentially other things. I got through everything with no real road bumps except when ...
1 vote
0 answers
488 views

Subiquity install network assignment

I'm using Packer and trying to set the Subiquity network information at the boot prompt. This snippet works with the 20.04.4 ISO, but not with the 22.04 beta ISO. 22.04 gets me networking from the ...
0 votes
0 answers
520 views

how to add drivers for e1000e in ubuntu server installer

I currently deploy my systems with ubuntu server 20.04 and add packages based on this script https://gist.github.com/creatldd1/eec887f3f8a0bf48e0e9dec1598b8614rev My new hardware includes an intel ...
0 votes
1 answer
475 views

How to prevent subiquity from modifying the boot device order?

When performing an autoinstall via network, the install target device is set to be the primary boot device (which is arguably reasonable in most cases). Is it possible to prevent changes to the boot ...
0 votes
1 answer
603 views

Subiquity installer via ipxe not properly loading autoinstall file?

I'm trying to move our company to use the new Subiquity installer. We currently run an ipxe setup that calls the old Debian installer, which I have converted to kick off subiquity instead. The issue ...
0 votes
1 answer
585 views

Ubuntu autoinstall late-commands issue with special chars

I need to run few commands after installation is complete. But installer is failing when I use this command: curl -X POST -k -H "Content-Type: plain/text, Accept: plain/text" -d <somedata&...
0 votes
0 answers
3k views

Ubuntu 20.04.3 Autoinstall with embedded user-data crashing (I got workaround)

I am trying to create modified Ubuntu 20.04.3 ISO image with embedded autoinstall-user-data. But the installer keep crashing. The user-data YAML was saved from manual installed Ubuntu server (from /...
0 votes
2 answers
4k views

Installing server with cloud-init script?

I just installed a (physical, bare metal) server with the new 21.10 server install image (in order to test and prepare for 22.04) on a usb pendrive. Worked, but I did not see an option to tell the ...
-1 votes
1 answer
206 views

Ubuntu Server 20.04 Crashes when using premade MBR partitons

I'm attempting to install Ubuntu on 150GB MBR disk with 3 partitions /boot 1GiB swap 8GiB / 140.9GiB The moment the installer starts the format it crashes. Does anyone know what might be the ...
1 vote
1 answer
2k views

How do I get to Subiquity logs from the command line?

I'm trying to do an automated install of Ubuntu 20.04.2 via PXE boot on a remote machine where my only access is through a virtual terminal. Subiquity is crashing somewhere in /subiquity/Install/...
25 votes
2 answers
57k views

Automated 20.04 Server Installation using PXE and live server image

How to do an fully automated Ubuntu 20.04 Server install using PXE and the live server image? Reason With the 20.04 release, it seems clear Ubuntu is further pushing the live server installer (...
2 votes
1 answer
2k views

20.04 autoinstall ejecting iso after first reboot

I am working on upgrading an offline/disconnected installation of Ubuntu that used to be 18.04 with D-I to 20.04 with autoinstall/cloud-init. I have most everything working out so far, but one of the ...
0 votes
1 answer
290 views

subiquity mount second media in early commands

I am recreating the squashfs image (Ubuntu Focal) and putting the autoinstall answers inside the /etc/cloud/cloud.cfg.d/90_autoinstall.cfg file of the squashed filesystem. I've got everything working ...
1 vote
1 answer
246 views

where is subiquity's snap gone?

I was playing with snap subiquity and installed it with following command : snap download --channel edge subiquity Then I did a snap list $snap list Name Version ...
4 votes
1 answer
1k views

Ubuntu 20.04 installer downloads ISO more than once

I have been working through the example posted by Andrew Lowther at Automated 20.04 Server Installation using PXE and live server image . For example using a linux cmdline similar to: linux /vmlinuz ...
5 votes
1 answer
301 views

Where do Subiquity's (Ubuntu Server's) disk ids come from, in the disk partitioning stage?

In the manual partitioning stage of Subiquity (Ubuntu Server installer), there is a list of the disks, in the form of ids. However, those are slightly different from the /dev/disk/by-id entries. For ...
2 votes
1 answer
2k views

add packages to subiquity based installation

I build a installation for servers and desktops by adding ubuntu-minimal-desktop It works so far, but only when connected to wired-network So I would like to add the wpasupplicant and the ubuntu-...
2 votes
1 answer
3k views

Ubuntu Server 20.04.2 LTS: Failed Install on bare-metal dual-AMD server (install failed crashed with CalledProcessError)

I am a newer Ubuntu user embarking on my first bare-metal server build with Ubuntu Server (20.04.2 LTS). I'm encountering a failed installation with an odd error that I cannot seem to decipher (...
1 vote
0 answers
239 views

Using netbootxyz for PXE server

Has anyone used netbootxyz autoinstalltion method with the new installer? More specifically what is required to have a base installation with that methodology. I am currently using the legacy ...
0 votes
0 answers
867 views

Ubuntu 20.04.2 Live ISO autoinstall

I am trying to do an autoinstall using the live server iso (20.04.2 server LTS) and after getting through the boot loader it just hangs at the welcome screen and wants me to interactively choose my ...
0 votes
1 answer
434 views

How to use custom Origin values in for internal repositories in Ubuntu 20.04 autoinstall?

OK, just working my way through integrating with autoinstall / cloud-init and finding all the incorrect ways that don't work. :-) Looking at the following documents: https://ubuntu.com/server/docs/...
1 vote
1 answer
4k views

Ubuntu 20.04 autoinstall: print late-commands output

I have an autoinstall config: #cloud-config autoinstall: version: 1 late-commands: - curtin in-target --interactive --target=/target -- echo "Hello! This is output from late-commands"...
5 votes
1 answer
412 views

Is it possible to convert the system installed from ubuntu-20.10-live-server-amd64.iso to the mini.iso-like system?

I have just installed "minimal" system from the ubuntu-20.10-live-server-amd64.iso ISO. I'm doing this way because there is no mini.iso for 20.10. I see that this system is very big (4.6 Gb!)...
6 votes
1 answer
12k views

Running commands after an auto-install

I am installing Ubuntu 20.04 server via UEFI HTTP booting, subiquity and a NoCloud data source. The actual install works and I get the base OS running. I also need to configure some things after ...
2 votes
0 answers
1k views

Installation failed, /target/run - mount point does not exist

I'm trying to install Ubuntu server on an old Dell Inspiron 7348 laptop. I created a new ext4 root partition next to the Windows partitions (I want to keep Windows there), but the installer is always ...