[Bug 1872941] Re: [Ubuntu 20.04] virt-install fails to detect path after images folder name has changed

lerxst shobhitsaxena at yahoo.com
Sun Apr 19 01:55:09 UTC 2020


If the legacy d-i netboot images are not going to be published/supported 20.04.1 onwards, do we have an equivalent replacement that's able to perform the same function?

The mini.iso allows me to boot my 384 Mb ram VPS without a cd-rom drive
into the installation environment by just loading the kernel/initrd from
grub and complete a minimal setup by downloading only the necessary
components from the internet. It also allows me to keep my existing disk
layout (LVM volumes hosted in an encrypted luks partition) and install
over it.

Are we expecting the new netboot/subiquity setup to be able to do this
by the 20.04.1 release? Or are we just going to drop the legacy
installer that works well to address these use cases in favor of
something that must download and load a 1 Gb ISO image in RAM to work?
What about the ability to install over existing LVM volumes within an
encrypted partition? Is that planned to be incorporated before d-i is
dropped completely?

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to debian-installer in Ubuntu.
https://bugs.launchpad.net/bugs/1872941

Title:
  [Ubuntu 20.04] virt-install fails to detect path after images folder
  name has changed

Status in Ubuntu CD Images:
  Opinion
Status in Ubuntu on IBM z Systems:
  Won't Fix
Status in debian-installer package in Ubuntu:
  Won't Fix
Status in virt-manager package in Ubuntu:
  Fix Released

Bug description:
  
  For 20.04.0 d-i is changing from /images/ to /legacy-images/ in it's directory structure.

  For 20.04.1+ it will not exist at all.

  For all Ubuntu releases virt-install should learn how to use cloud-
  images from https://cloud-images.ubuntu.com/ which are preinstalled
  cloud-init enabled qcow2 images, with unpacked kernels. Allowing to
  change kernel cmdline parameters and boot in-place. Which is the best
  & default Ubuntu experience on VMs.

  ---

  Installer version: Latest
  https://ports.ubuntu.com/ubuntu-ports/dists/focal/main/installer-s390x

  Description/Reproduction:
  Start virt-install with the following options:

  virt-install \
  --name ubuntu20-guest1 \
  --memory 4096 \
  --vcpus 4 \
  --disk "size=4" \
  --location http://ports.ubuntu.com/ubuntu-ports/dists/focal/main/installer-s390x \
  --network "network=default"

  Error:
  ERROR    Error validating install location: Could not find an installable distribution at 'http://ports.ubuntu.com/ubuntu-ports/dists/focal/main/installer-s390x'

  The location must be the root directory of an install tree.
  See virt-install man page for various distro examples.

  Looking at previous releases I would guess it expects an "images"
  directory instead of the new "legacy-images" directory. I'm aware of
  the workaround to specify kernel/initramfs directly but that shouldn't
  be a solution.

  == Comment: #2 - Andre Wild1 <Andre.Wild1 at ibm.com> - 2020-04-15 03:51:21 ==
  (In reply to comment #0)
  > Installer version: Latest
  > https://ports.ubuntu.com/ubuntu-ports/dists/focal/main/installer-s390x
  >

  Sorry I've copied the wrong link. This is the link I've used successfully in the past:
  http://ports.ubuntu.com/ubuntu-ports/dists/focal/main/installer-s390x

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-cdimage/+bug/1872941/+subscriptions



More information about the foundations-bugs mailing list