Mint, Tutorials/Tips

Linux Mint 6 Installation with Custom Disk Partitioning

With the partition table created, now we can start creating partitions. The objective in this tutorial is to create separate partitions for the following:

  • /, the root file system
  • /usr
  • /home
  • /var
  • /tmp
  • swap

Some would go a step further and create separate partitions for /usr/local and /opt. Third-party and extra applications that are not part of the default installation are typically installed in /opt. I usually create separate partitions for /opt and /usr/local.

Linux only allows you to create four primary partitions, so the way to proceed with this custom partitioning scheme is to create one primary partition (/dev/sda1) for /, and then create an extended partition (/dev/sda2). An extended partition gives you the ability to create upto sixteen logical partitions, numbered from /dev/sda5, under it. Note that the a in /dev/sda refers to the first or primary hard disk. We would be referring to /dev/sdb if dealing with a secondary hard disk.

With free space selected, click on New partition to create the first partition

The first partition we are going to create is a primary partition for /. A size of 5000 MB I think is way too much for /, but this won’t break anything. Since this is a non-LVM setup, be generous, especially if you have lots of storage space to spare. for fiel system type (“use as” field),Linux Mint gives us the following choice of journaling file systems:

  • Ext3
  • Reiserfs
  • JFS
  • XFS

Ext3 is the default, so we will stick with it. For a desktop installation like Mint’s, you will not notice any difference in performance, so you may choose anyone you feel comfortable with.

Note that with the Linux Mint installer, you cannot configure encrypted partitions.

With the first partition created, select free space and then New partition to create the next partition.

Let make the next partition the swap partition. This, of course, is going to be a logical partition. By default, Linux and BSD distros allocate 1000 MB to 1500 MB to swap. If you are installing on an old PC with low memory, be kind to your self and give it about 2000 MB. Click Ok when you are done.

Notice that the primary partition is /dev/sda1, and the swap partition is /dev/sda5. The installer does not show the extended partition – /dev/sda2, but rest assured that it is there. An extended partition must be created before logical partitions can be created under it.

Select the free space and click on New partition to create the next logical partition.

Let’s assign this logical partition to the /usr file system directory. Usually, 5000 MB should be enough, 7000 MB will do too, especially if you have lots of storage space to spare. Again, for file system type, we stick with Ext3, the default. Click Ok, and repeat this step for the other logical partitions for /home, /var, and /tmp. The suggested sizes for /tmp and /var are 500 MB, and 1000 MB respectively. If you are not creating separate partitions for /usr/local and /opt, assign the remaining space to /home.

When you are done creating paritions, your partition table should look like the one shown in the screenshot below. Click on the Forward button to continue with the rest of the installation.

Related Posts

How to deploy Piwik Web Analytics on OpenShift Online Piwik Web Analytics is a Free Software traffic analytics application for Web publishers. If you have the resources to run your own, it is a good repla...
How to dual-boot Kali Linux 1.0.9 and Windows 7/8 on a PC with UEFI firmware Editor: For a more recent version of this article, using the latest edition of Kali Linux and Windows 10, see Dual-boot Kali Linux Rolling 2016.2, Win...
Building a Fedora-Based VoIP Server There are not a whole lot of active Linux or BSD-based Telephony/IP-PBX distros, but the few we have are quite good and easy to setup and configure. O...
Configurable Menu: Install the best menu for Linux Mint 17/17.1 Cinnamon Configurable Menu is one of the best applet's I've found in Linux Mint Cinnamon. I've been using it for about three weeks on Linux Mint 17 installed o...
2 cool features to expect in KDE 4.9 The first beta of what will become KDE 4.9 was released yesterday, just four day past due date. After the usual round of testing and more pre-stable r...
Sabayon 5.3 installation guide One of the best features introduced in Sabayon 5.3, the latest upgrade to the Gentoo-based, multi-purpose Linux distribution is the installer. The old...

We Recommend These Vendors and Free Offers

Launch an SSD VPS in Europe, USA, Asia & Australia on Vultr's KVM-based Cloud platform starting at $5:00/month (15 GB SSD, 768 MB of RAM).

Deploy an SSD Cloud server in 55 seconds on DigitalOcean. Built for developers and starting at $5:00/month (20 GB SSD, 512 MB of RAM).

Want to become an expert ethical hacker and penetration tester? Request your free video training course of Online Penetration Testing and Ethical Hacking

Whether you're new to Linux or are a Linux guru, you can learn a lot more about the Linux kernel by requesting your free ebook of Linux Kernel In A Nutshell.


3 Comments

  1. Thank you mate, used this excellent easy to follow guide for Mint 7 and have now just used this to install Linux Mint 9 on my daughters pc.

  2. i just want to thank you,……

  3. Pingback: Trying out Mint 6.0 - « My Linux Box Log

Leave a Comment

Your email address will not be published. Required fields are marked *

*