[Bug 1999489] Re: Ubuntu 22.04.1 installation "forgets" to remove swap partition (of 16.04)

Hermann Freudenmann 1999489 at bugs.launchpad.net
Tue Dec 13 15:23:36 UTC 2022


"As I understand it, you used a 'Replace partition' type of install,
which won't make changes to other partitions. As a swap partition could
be used by other OSes (non-Ubuntu's or other Ubuntu installs) your
request for removal could break those other OSes, which I'd see as a bad
move."

In my case, there was only 1 operating system (16.04) and 1 hard drive (with one root and one swap partition).
Most users would expect the Ubuntu installer to replace the entire hard drive. So the behaviour is surprising to say the least.

After installing 22.04, there was an EFI, the root and swap partitions -
so the partitions were definitely changed.

If there are other Linux operating systems, you're right (to keep the
swap partition).

The real problem in this case is: the installer says "I'll do it for
you", but you don't know exactly what it will do.

It would be very helpful if the installer would show in detail which partitions it will change or create (with all details: type of partition table, size of partitions, file system, mount point, ...).
The display of the partitions "before" and "after" the installation (one above the other) would be very helpful - especially if it was also graphical (as it is already excellently solved for manual partitioning).
Currently, only a text message is displayed that lists partitions to be changed or created - without the necessary details.

Translated with www.DeepL.com/Translator (free version)

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

Title:
  Ubuntu 22.04.1 installation "forgets" to remove swap partition (of
  16.04)

Status in ubiquity package in Ubuntu:
  New

Bug description:
  I installed Ubuntu 22.04.1 on a disk that contained 16.04.
  During the installation I selected "Overwrite 16.04" (it was named similarly).
  The installation worked fine except for one thing:

  The swap partition of 16.04 was not deleted, even though Ubuntu 22.04
  uses a swap file and not a swap partition. So the swap partition
  wastes disk space.

  The problem description probably applies to all Ubuntu versions (or
  Linux distributions?) that include a swap partition (hint: does an LTS
  upgrade from 16.04 to 18.04 keep the swap partition from 16.04?).

  
  Translated with www.DeepL.com/Translator (free version)
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu82.2
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  DistroRelease: Ubuntu 22.04
  InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed maybe-ubiquity quiet splash ---
  InstallationDate: Installed on 2022-03-26 (262 days ago)
  InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Alpha amd64 (20220325)
  Package: ubiquity (not installed)
  ProcVersionSignature: Ubuntu 5.15.0-56.62-generic 5.15.64
  Tags:  wayland-session jammy ubiquity-22.04.8
  Uname: Linux 5.15.0-56-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: vboxsf
  _MarkForUpload: True

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1999489/+subscriptions




More information about the foundations-bugs mailing list