Linux Mint 18.1 Cinnamon

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
Related Post:  How to install Razor-qt on Linux Mint 12 KDE

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.

Related Post:  How to customize Cinnamon 1.6

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.

Share:

Share on facebook
Facebook
Share on twitter
Twitter
Share on pinterest
Pinterest
Share on linkedin
LinkedIn

Hola! Did you notice that LinuxBSDos.com no longer runs network ads?  Yep, no more ads from the usual suspects that track you across the Internet.  But since  I still need to pay to keep the site running, feel free to make a small donation by PayPal.

Subscribe for updates. Trust me, no spam!

Mailchimp Signup Form

Sponsored links

1. Attend Algorithm Conference, a top AI and ML event for 2020.
2. Reasons to use control panel for your server.
3. DHgate Computers Electronics, Cell Phones & more.

3 Responses

  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.

Leave a Reply

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

Get the latest

On social media
Via my newsletter
Mailchimp Signup Form

Partner links

1. Attend Algorithm Conference, a top AI and ML event for 2021.
2. Reasons to use control panel for your server.
3. DHgate Computers Electronics, Cell Phones & more.
Hacking, pentesting distributions

Linux Distributions for Hacking

Experts use these Linux distributions for hacking, digital forensics, and pentesting.

Categories
Archives

The authors of these books are confirmed to speak during

Algorithm Conference

T-minus AI

Author was the first chairperson of AI for the U.S. Air Force.

The case for killer robots

Author is the Director of the Center for Natural and Artificial Intelligence.

Why greatness cannot be planned

Author works on AI safety as a Senior Research Scientist at Uber AI Labs.

Anastasia Marchenkova

An invitation from Anastasia Marchenkova

Hya, after stints as a quantum researcher at Georgia Tech Quantum Optics & Quantum Telecom Lab, and the University of Maryland Joint Quantum Institute, I’m now working on superconducting qubit quantum processors at Bleximo. I’ll be speaking during Algorithm Conference in Austin, Texas, July 16 – 18, 2020. Meet me there and let’s chat about progress and hype in quantum computing.