automatic partitioning does not reuse existing swap / boot partitions

Bug #311299 reported by Charlie Kravetz on 2008-12-25
This bug affects 10 people
Affects Status Importance Assigned to Milestone
partman-auto (Ubuntu)

Bug Description

Binary package hint: debian-installer

When installing Xubuntu Jaunty 9.04 using daily "jaunty-alternate-i386.iso" images, if the selection used during partitioning is "Guided-use entire disk", the partition editor will create a new /swap partition and not see the existing /swap partition on any other disk. I had a /swap defined on sda7; partition editor never saw the partition.

I expect the existing /swap partition to be used any time I am installing (X)Ubuntu.

Release: Xubuntu 9.04 dated 12-23-2008

Charlie Kravetz (charlie-tca) wrote :
Charlie Kravetz (charlie-tca) wrote :
Charlie Kravetz (charlie-tca) wrote :

Yes, this has been the case for a long time, although curiously I can't find any previous bug reports on it. It's unfortunately rather difficult to fix with the current automatic partitioning recipe format, so I'm marking this as wishlist for the time being.

Changed in debian-installer:
importance: Undecided → Wishlist
status: New → Triaged
tags: added: iso-testing
Colin Watson (cjwatson) on 2012-03-07
summary: - automatic partitioning does not reuse existing swap
+ automatic partitioning does not reuse existing swap / boot partitions
Colin Watson (cjwatson) wrote :

The same goes for EFI and BIOS Boot Partitions, and is basically the same issue. Raising to Medium as the underlying infrastructure (in the form of $reusemethod) now exists, so it may actually be vaguely possible to fix this soon.

Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package partman-auto - 93ubuntu20

partman-auto (93ubuntu20) precise; urgency=low

  * Reuse existing swap partitions and EFI System Partitions, if any, rather
    than creating new ones (LP: #311299).
  * Update Ubuntu-specific translations from Launchpad.
 -- Colin Watson <email address hidden> Fri, 09 Mar 2012 15:22:39 +0000

Changed in partman-auto (Ubuntu):
status: Triaged → Fix Released
Erick Brunzell (lbsolost) wrote :

This truly does seem to be fixed which is just awesome. I'm only mentioning it because I got a couple of duplicate notifications so I wanted to give a heads up that it seems to be fixed.

BTW the fix effects both alternate and live images as far as I can see now. I'll check to see if there are any UUID problems soon, just be a bit patient.

Lars Noodén (larsnooden) wrote :

It does seem to be fixed in Precise Beta2.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers