** Description changed:

- I was trying to install Ubuntu 14.04.1 LTS on an Oracle VirtualBox VM
- with 6.5GB of RAM and 8GB (default for a new Virtual HDD on VirtualBox)
- of disk space.
+ [Impact]
+ 
+  * Impossible to perform guided LVM installation, with an all-in-one
+ configuration out of the box, on high-memory systems. High-memory
+ systems are systems that have RAM on par, or more than, disk space. E.g.
+ 8GB RAM with 8GB disk space, or 1TB RAM with 256GB hard drive.
+ 
+ [Test Case]
+ 
+  * Start d-i installer
+  * Select Use entire disk & setup LVM
+  * Select drive to use, which is on par, or less then total RAM on the system
+  * Select all in one / atomic partition recipe
+  * Install should succeed, with no more than 2GB of swap partition / volume
+ 
+ [Regression Potential]
+ 
+  * SWAP partition or LVM volume is typically calculated as a percentage
+ of RAM - between 100% and 200% of RAM. Yet, this assumes that RAM is
+ significantly less than total disk space, and thus on high-memory
+ systems results in badly setup systems with too small rootfs, and too
+ much swap.
+ 
+ [Other Info]
+  
+  * Original bug report
+ 
+ 
+ I was trying to install Ubuntu 14.04.1 LTS on an Oracle VirtualBox VM with 
6.5GB of RAM and 8GB (default for a new Virtual HDD on VirtualBox) of disk 
space.
  
  I selected the option "Erase disk and install Ubuntu" (and post crash
  "Erase Ubuntu 14.04.1 LTS and reinstall") and let it use the defaults.
  
  The installer gives the error:
  
-  "Some of the partitions you created are too small. Please make the
+  "Some of the partitions you created are too small. Please make the
  following partitions at least this large:
  
-  / 3.4 GB
+  / 3.4 GB
  
-  If you do not go back to the partitioner and increase the size of these
+  If you do not go back to the partitioner and increase the size of these
  partitions, the installation may fail."
  
  The message is very confusing to a new user who did not specify any
  partition sizes themselves.
  
  The installer created a 6GB Swap partition on the 8GB drive. The
  installer then could not install to the root partition and failed
  midway:
  
  "The installer encountered an error copying files to the hard disk:
  
  [Errno 28] No space left on device
  
  This is due to there being insufficient disk space for the install to
  complete on the target partition. Please run the installer again and
  select a larger partition to install into."
  
  ..then a box appears stating that the installer has crashed:
  
  "Installer crashed
  
  We're sorry; the installer crashed. After you close this window, we'll
  allow you to file a bug report using the integrated bug reporting tool.
  This will gather information about your system and your installation
  process. The details will be sent to our bug tracker and a developer
  will attend to the problem as soon as possible."
  
  The box cannot be closed. No bug reporting tool launches. The computer
  requires restarting to become usable again.
  
  Please let me know if you need any more information as this is my first
  bug report.
  
  Thanks for your time,
  Matthew

** Changed in: partman-auto (Ubuntu)
   Importance: Medium => Critical

** Changed in: partman-auto (Ubuntu)
     Assignee: (unassigned) => Dimitri John Ledkov (xnox)

** Changed in: partman-auto (Ubuntu)
    Milestone: None => ubuntu-18.02

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

Title:
  partman-auto prefers to give disk to swap, leaving root too small

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to