[Bug 1845571] Re: ubiquity offers installation media as an install target

Dimitri John Ledkov launchpad at surgut.co.uk
Wed Oct 9 23:27:56 UTC 2019


Reading a bit more code....

ubiquity has partman/check.d/partition_too_small which does read
/cdrom/casper/filesystem.size (which is 5GiB) and should actually
prevent from successfully contining to install on the installation
media.

Also there is d-i/source/partman-auto/lib/auto-shared.sh
get_auto_disks() which should be skipping /cdrom , ie.

                # Skip devices containing the installation medium
                [ -e "$dev/installation_medium" ] && continue

                # Skip installer disk
                $(mount | grep -qF "$device on /cdrom ") && continue

So we need to check that those pieces are working correctly and that
devices smaller than 5GiB are never offered for installation *both* when
they are and are *not* installation media.

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

Title:
  ubiquity offers installation media as an install target

Status in partman-auto package in Ubuntu:
  Triaged
Status in partman-auto source package in Eoan:
  Triaged

Bug description:
  I guess this is actually a bug in some partman component, but well. In
  both the desktop and ubuntu studio installers for eoan beta, I was
  offered the installation media as a target disk. This seems unlikely
  to be correct.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/partman-auto/+bug/1845571/+subscriptions



More information about the foundations-bugs mailing list