Ubiquity miscalculates maximum partition size

Bug #1254283 reported by Seppe Stas
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

When trying to combine 2 partitions during the installation of Ubuntu Gnome, I got the following message:
"Can't have a partition outside the disk!''
Image: https://pbs.twimg.com/media/BZw5plkCMAEoSD8.png:large

This message was stuck in a loop, so I couldn't continue or close the installation.
I combined the partitions by removing one of them, and incresing the size of the other partition to the max size. The second time I tried this, I calculated the maximum size of the new partition, and noticed this was 1MB smaller than the size ubiquity pruposed.

This bug is probably caused by a rounding error.

Ubuntu release: 13.10
Ubiquity: 2.15.26

Revision history for this message
Seppe Stas (seppestas) wrote :
tags: added: ubiquity-2.15.26
tags: added: saucy
Revision history for this message
N1ck 7h0m4d4k15 (nicktux) wrote :

Hello ,

check out this (resolved) problem
http://ubuntuforums.org/showthread.php?t=1038943

seems similar to yours. If this is the case, then please update the status of the bug to "invalid".

Best Regards
  NikTh

Changed in ubiquity (Ubuntu):
status: New → Incomplete
Changed in ubiquity (Ubuntu):
status: Incomplete → New
Revision history for this message
Seppe Stas (seppestas) wrote :

Nik.Th.: It looks like both this bug and the problem have related causes. However, the bug in Ubiquity is that it handles the problem wrong. I would rather not get stuck in an endless loop of popup error messages while installing Ubuntu.

Of course my problem could be fixed by editing the other partition sizes so that the new partition can be created without spare sectors. However, I believe Ubiquity tries to give the user a simplified interface to manage the partition. This interfaces abstracts the user from sectors and other fun stuff people play with in a 'real' partition manager. The abstraction is lost in a rather painful way when the problem occurs, which isn't very nice and should therefore be prevented imo.

The sollution should be pretty simple: just round the estimated maximum size down.

Revision history for this message
Simon Quigley (tsimonq2) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner. There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test it on a currently supported Ubuntu version. If you test it and it is still an issue, kindly upload the updated logs by running only once:
apport-collect https://api.launchpad.net/1.0/bugs/1254283

and any other logs that are relevant for this particular issue.

Changed in ubiquity (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for ubiquity (Ubuntu) because there has been no activity for 60 days.]

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

Other bug subscribers

Bug attachments

Remote bug watches

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