← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1351267] Re: partman-auto prefers to give disk to swap, leaving root too small

 

This is no longer an issue post-xenial, since we now default to swap files.
For xenial, a low-touch solution might be to just cap the minimum swap size at 2G, as per this attached patch.

** Patch added: "partman-auto.debdiff"
   https://bugs.launchpad.net/ubuntu/+source/partman-auto/+bug/1351267/+attachment/5057359/+files/partman-auto.debdiff

** Also affects: partman-auto (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Changed in: partman-auto (Ubuntu Xenial)
       Status: New => In Progress

** Changed in: partman-auto (Ubuntu Xenial)
     Assignee: (unassigned) => dann frazier (dannf)

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

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1351267

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

Status in partman-auto package in Ubuntu:
  Triaged
Status in partman-auto source package in Xenial:
  In Progress

Bug description:
  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
  following partitions at least this large:

   / 3.4 GB

   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

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