[Bug 782507] Re: Installation creates a new swap partition

Launchpad Bug Tracker 782507 at bugs.launchpad.net
Fri Mar 23 20:22:29 UTC 2012


*** This bug is a duplicate of bug 311299 ***
    https://bugs.launchpad.net/bugs/311299

Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: partman-auto-crypto (Ubuntu Oneiric)
       Status: New => Confirmed

-- 
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/782507

Title:
  Installation creates a new swap partition

Status in “partman-auto” package in Ubuntu:
  Triaged
Status in “partman-auto-crypto” package in Ubuntu:
  Confirmed
Status in “partman-auto” source package in Oneiric:
  Triaged
Status in “partman-auto-crypto” source package in Oneiric:
  Confirmed
Status in “partman-auto” source package in Precise:
  Triaged
Status in “partman-auto-crypto” source package in Precise:
  Confirmed

Bug description:
  I installed Ubuntu 11.04 a few days ago. Then, yesterday I reinstalled
  the same version (11.04). In the installer window, I chose the option
  to automatically delete the old version and reinstall. Today, I had to
  reinstall the same version (11.04) again, and just like yesterday, I
  chose the option of AUTOMATICALLY DELETING existing version and
  reinstalling 11.04.

  Just a few hours ago, however, I noticed in Gparted that I have three
  (3) swap partitions. The option in the installer to automatically
  delete existing version and install the new version apparently deletes
  only the ext4 partition, and then uses that freed space to create an
  ext4 partition (smaller than the original) & a swap partition. It
  ignores the fact that a swap partition already exists.

  Expected Results:
  The installer option "delete current version and install  this version" should not create a new swap partition if the previous Ubuntu installation alredy had a swap partition. The option should act just as expected. It should keep the partition configuration exactly the same. The ext4 partiiton should have the same exact size as the ext4 parition in the previous installation; and the swap partiiton  (if any) from the previous installation should remain unchanged and be used as the swap partition for the new installation. 
    A new swap partition should be created if and only if the previous installation did not have a swap partition.

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




More information about the foundations-bugs mailing list