MASTER: Should warn about insufficient disk space (manual partitioning)

Bug #77966 reported by Henrik Nilsen Omma
136
This bug affects 6 people
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: ubiquity

Someone using the manual partition can quite easily set up partitions for / , /usr or /var that are too small. The installer crashes and a bug is reported against the installer (which can now be marked as a duplicate of this one). The space should be checked and the user warned/stopped -- although with manual partitioning this is non-trivial.

The case for automated partitioning is simpler and will be treated as a separate bug.

NOTE: In some rare cases the installer may mount partitions incorrectly and those bugs should NOT be marked duplicates of this one. See the moint points and the partman logs.

Revision history for this message
Henrik Nilsen Omma (henrik) wrote :

Setting to medium -- should be fixed but the automated partitioner case is more pressing

description: updated
Changed in ubiquity:
importance: Undecided → Medium
status: Unconfirmed → Confirmed
Revision history for this message
Neal McBurnett (nealmcb) wrote :

For reference, this is the automatic partitioning case:
  https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/48355

Revision history for this message
David Balažic (xerces8) wrote :

Ubuntu 7.10 desktop CD, manual partition

If the parition(s) are too small, the installer just disappears. Not even an "Oops, I crashed" message,

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

I've hit this issue too on VM installs. If you set your "hard disk" to be too small you will not know until you are partway through the install. It would be nice if somewhere stated that the typical Ubuntu install for just programs needs about 2.2Gbtyes...

Revision history for this message
Evan (ev) wrote :

ubiquity (1.7.2) hardy; urgency=low

  [ Evan Dandrea ]
  * XS-Vcs-Bzr is now Vcs-Bzr.
  * Strip out support for creating multiple users in migration-assistant.
  * Save state in between runs of migration-assistant (LP: #151126).
  * Added partman/check.d/03partition_too_small to warn the user when a
    partition isn't large enough to contain the respective part of /rofs
    (LP: #48355).
  * Modified scripts/install.py to handle ENOSPC.
  * Tore out partition_help. This may be replaced by more detailed help text,
    viewable by pressing a help button.
  * Don't set can_focus on the timezone combo box as it prevents you from
    tabbing back out of it. Thanks Sebastien (LP: #136665).

  [ Colin Watson ]
  * Copy xserver-xorg/config/display/modes to the installed system before
    reconfiguring usplash (LP: #150930).
  * Update for apt-setup 1:0.31ubuntu1.
  * Update d-i/update-control to work with the new Dpkg::Deps module in
    dpkg-dev 1.14.8.
  * Update partman extensions to cope with changes in partman-base 114
    (/lib/partman/definitions.sh -> /lib/partman/lib/base.sh).
  * Automatic update of included source packages: apt-setup 1:0.31ubuntu2,
    base-installer 1.86ubuntu1, debian-installer-utils 1.50ubuntu1,
    partman-auto 73ubuntu1, partman-base 114ubuntu1, partman-basicmethods
    36, partman-efi 14ubuntu1, partman-partitioning 54ubuntu1.

  [ Mario Limonciello ]
  * Correct a small typo in mythbuntu template. (LP: #155194)
  * Don't allow mythbuntu remote configuration pages to progress
    when "Other Remote" is selected. (LP: #157233)
  * Check for files related to mythbuntu autostart rather than assuming
    they don't already exist. (LP: #173378)
  * Don't allow the user to progress on non mythbuntu master backend roles
    unless they test their connection. (LP: #164979)
  * Allow dvb-utils to be selected during installation (LP: #130924)
  * Allow hdhomerun configuration to be installed. (LP: #153065)

 -- Colin Watson <email address hidden> Tue, 18 Dec 2007 13:05:15 +0000

Changed in ubiquity:
status: Confirmed → Fix Released
Revision history for this message
Evan (ev) wrote :

Sitsofe,

If you experienced this bug with ubiquity version 1.7.2 or greater, please feel free to reopen the report.

Thanks!

Revision history for this message
maccus (maccus) wrote :

I don't know what ubiquity version is included with Kubuntu Hardy 08.04. But yesterday I experienced this exact same problem with a clean install of the Kubuntu DVD version on a 5 GB partition. The installer crashed with a "no space left on device" when it was about two-thirds on the way. After that KDE was started, and after a reboot my system had become unbootable, and I had to make use of a rescue disk to start boot to a Mandriva harddisk installation and then had to reinstall GRUB from there. Quite a severe bug I would say...

Revision history for this message
Olivier Jeulin (olivierjln) wrote :

ubuntu 9.04 beta : I've got the same problem.
I used manual partitioning, resized a fat32 partition, this gave me 2.1GB free. I created an ext4 partition for / with this 2.1GB partition. No warning at this step about the size of the partition.

At 87%, the installer disappears, leaving only the progress bar opened (87%).
2 processes are still runing and eating up CPU time (see below the first lines of "top")
  PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
  663 root 20 0 0 0 0 R 34.5 0.0 101:46.54 pdflush
 1462 root 20 0 80948 60m 28m R 33.9 6.9 106:58.70 install.py
 3991 root 20 0 73008 30m 6352 S 19.3 3.5 40:13.49 Xorg
 5545 ubuntu 20 0 146m 70m 21m S 5.4 8.0 1:09.58 firefox
 4082 root 20 0 90380 53m 14m S 4.8 6.1 23:25.11 ubiquity
 4077 ubuntu 20 0 35076 25m 9024 S 1.5 2.9 0:29.58 metacity
 5694 ubuntu 20 0 2444 1172 920 R 0.2 0.1 0:00.34 top
  814 root 15 -5 0 0 0 S 0.1 0.0 0:13.11 kjournald2
 4080 ubuntu 20 0 29140 8788 6712 S 0.1 1.0 0:04.00 gnome-settings-
 4911 ubuntu 20 0 16592 5100 3920 S 0.1 0.6 0:20.45 gnome-screensav
    1 root 20 0 3084 684 564 S 0.0 0.1 0:02.63 init
    2 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kthreadd

Revision history for this message
Olivier Jeulin (olivierjln) wrote :
Revision history for this message
Alan Jacobs Richardson (ajrich) wrote :

I just had the installer crash while upgrading my 11.10 to 12.10. I suspect that this is because it ran out of room in my boot partition. Since I set up these partitions myself (some years ago. When I partitioned the boot partition could hold around 5 versions of the Linux kernel. Today I have space trouble maintaining 2.) I'm matching it to the manual partition case, but note that I did not go into the advanced install options - I chose the upgrade radio button and trusted ubiquity to handle things cleanly.

I fear that I shall find that this hosed my existing install, so that I'll have to figure out recovery before regaining access to my data.

The upgrade path also prompts me to create a new user on the system, which suggests that existing users won't be preserved.

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.