Author Topic: Change the Minimum Disk Size Requirement for a Peppermint 3 Ubuntu 12.04 Install  (Read 7806 times)

0 Members and 1 Guest are viewing this topic.

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 479
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • Awards
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 :)

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:
Code: [Select]
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 :)



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

--
« Last Edit: February 08, 2014, 05:23:11 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal