The "guided" installation option computes new size wrongly when it's going to shrink a NTFS partition

Bug #163541 reported by Ricardo Pérez López
2
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: ubiquity

Steps to reproduce:

1. Prepare a VirtualBox virtual machine with a 7,78 GB virtual hard disk.
2. Insert the Ubuntu 7.10 Desktop CD in the virtual machine and start it.
3. When you are in the Live CD desktop, create a 7,78 GB NTFS partition (all the disk) using GParted.
4. Click on Install to install Ubuntu on the hard disk.
5. In the partition setup step, you can see the first option "Guided", which shrink the NTFS partition at 50% (by default).

Expected behavior:

The new partition size is 3,9 GB (which is 50% of 7,78 GB).

Actual behavior:

The new partition size is 2,79 GB (which is ~ 36% of 7,78 GB).

Tags: partman
Revision history for this message
TerryG (tgalati4) wrote :

Triaged to Incomplete. Perhaps a swap partition was created so the actual install partition is smaller than expected?

Changed in ubiquity:
status: New → Incomplete
Revision history for this message
Colin Watson (cjwatson) wrote :

No, what it actually means is half of the remaining space available after accounting for the fact that you've got to get an Ubuntu installation in there too. The current fudge factor for this is about 2.21GB; (7.78-2.21)/2 is 2.785.

This should all be a lot clearer in Hardy, now that Evan has turned the auto-resize UI into a slider.

Changed in ubiquity:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.