Change the Minimum Disk Size Requirement for a Peppermint 3 Ubuntu 12.04 Install

The Minimum Disk Size requirement for a Peppermint Three or an Ubuntu 12.04 installation is preset to 4.4GB … meaning if you have something like an EeePC 701 4G that only has a 4GB SSD, you’re stuck … In reality an installation (at least of PeppermintOS Three) takes up MUCH less room than that … so here’s a workaround that changes the “Minimum Disk Size” from 4.4GB to 3.1GB.

A default Peppermint install is way smaller than 4.3gb … it’s Ubuntu’s ubiguity installer that’s preset to require 4.3gb … so there’s no harm in changing it for Peppermint :slight_smile:

It’s been covered elsewhere before (for other versions of Ubuntu, and its derivatives), but Ubuntu have changed the location of the file you need to edit in 12.04 and its derivatives … theoretically this should work for ANY Linux distribution that’s based on Ubuntu 12.04 and uses the Ubiquity installer (Mint 13, etc.)


OK, now the instructions

Boot to the LiveCD/LiveUSB, and select “Try <distro_name>” to boot in Live mode … once at the desktop, hit Ctrl+Alt+T to open a terminal, and run:

sudo gedit /usr/lib/ubiquity/ubiquity/misc.py

Line 796 (Line 853 for Peppermint 4 / Ubuntu 13.04) very near the bottom will read:-

min_disk_size = size * 2 # fudge factor.

Change that to read:-

min_disk_size = size * 1.4 # fudge factor.

SAVE the file.

Now run the installer from the “Install <distro_name>” icon on the desktop.

Ubiquity will now only require a 3.1GB drive :slight_smile:


Just FYI …

Old location of file to edit, for distros based on Ubuntu <= 11.10:-
/usr/lib/ubiquity/plugins/ubi-prepare.py

New location of file to edit, for distros based on Ubuntu 12.04:-
/usr/lib/ubiquity/ubiquity/misc.py