[Bug 1451902] [NEW] Non-working partitioning scheme selected when a small hard drive is coupled with relatively large RAM

Jani Uusitalo jani at mummila.net
Tue May 5 15:58:02 UTC 2015


Public bug reported:

Note: I'm attaching a video below demonstrating the issue. In it I'm
reproducing the problem with the amd64 ISO of 15.04.

Steps to reproduce:
1. Have a (virtual) machine with a clean 10 GB hard disk and 8 GB of RAM.
2. Start the installer, select "Erase disk and install Ubuntu", click "Install now".

What happens:
A "Do you want to return to the partitioner?" window pops up, saying "Some of the partitions you created are too small. Please make the following partitions at least this large:

/ 3.5 GB

If you do not go back to the partitioner and increase the size of these
partitions, the installation may fail."

Selecting Continue then goes on to an installation which fails due to
lack of space as promised. This is because the installer has partitioned
the disk with a 8+ GB swap partition, and only what remains of the 10 GB
after that allocated to /.

What I expect to happen:
I know this is a tricky corner case, but I think there are better ways to deal with it than exhibited by the installer above. Here are some alternative suggestions I came up with:

1) change the way the disk space requirement is calculated for the
"Preparing to install" view: make it require at least the minimum "/"
size + expected swap size, thus notifying the user beforehand if the
requirement is not met. (As you see in the video, currently it has the
green checkmark even when the installer is about to fail predictably.)

2) have the installer select a partitioning scheme where "/" is the
minimum required and allocate whatever remains for swap; warn the user
that swap will be too small to do hibernation.

3) at the very least, have the "Do you want to return to the
partitioner?" window describe the situation better. It was the biggest
source of confusion for me because the wording implied I had partitioned
the disk (which I hadn't done) and prompting me to "return to the
partitioner" where I hadn't been to.

** Affects: debian-installer (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "15.04 installer demonstrating the issue of non-working automatic partitioning"
   https://bugs.launchpad.net/bugs/1451902/+attachment/4391503/+files/out.ogv

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

Title:
  Non-working partitioning scheme selected when a small hard drive is
  coupled with relatively large RAM

Status in debian-installer package in Ubuntu:
  New

Bug description:
  Note: I'm attaching a video below demonstrating the issue. In it I'm
  reproducing the problem with the amd64 ISO of 15.04.

  Steps to reproduce:
  1. Have a (virtual) machine with a clean 10 GB hard disk and 8 GB of RAM.
  2. Start the installer, select "Erase disk and install Ubuntu", click "Install now".

  What happens:
  A "Do you want to return to the partitioner?" window pops up, saying "Some of the partitions you created are too small. Please make the following partitions at least this large:

  / 3.5 GB

  If you do not go back to the partitioner and increase the size of
  these partitions, the installation may fail."

  Selecting Continue then goes on to an installation which fails due to
  lack of space as promised. This is because the installer has
  partitioned the disk with a 8+ GB swap partition, and only what
  remains of the 10 GB after that allocated to /.

  What I expect to happen:
  I know this is a tricky corner case, but I think there are better ways to deal with it than exhibited by the installer above. Here are some alternative suggestions I came up with:

  1) change the way the disk space requirement is calculated for the
  "Preparing to install" view: make it require at least the minimum "/"
  size + expected swap size, thus notifying the user beforehand if the
  requirement is not met. (As you see in the video, currently it has the
  green checkmark even when the installer is about to fail predictably.)

  2) have the installer select a partitioning scheme where "/" is the
  minimum required and allocate whatever remains for swap; warn the user
  that swap will be too small to do hibernation.

  3) at the very least, have the "Do you want to return to the
  partitioner?" window describe the situation better. It was the biggest
  source of confusion for me because the wording implied I had
  partitioned the disk (which I hadn't done) and prompting me to "return
  to the partitioner" where I hadn't been to.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1451902/+subscriptions



More information about the foundations-bugs mailing list