Linux Mint 6 Installation with Custom Disk Partitioning

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:  A "Grey Hat" Guide for Security Researchers

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:  Eyes in the Sky: The Rise of Gorgon Stare and How It Will Watch Us All

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 run network ads?  Yep, no more ads from the usual suspects that track and annoy 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 or your favorite cryptocurrency.

  • Bitcoin
  • Ethereum
  • Xrp
  • Bitcoin cash
  • Bitcoin sv
  • Litecoin
  • Binance coin
  • Cardano
  • Ethereum classic
Scan to Donate Bitcoin to bc1qzvlte2m224zkayhdc7fdfjkp2rsgt0l5a496ua

Donate Bitcoin to this address

Scan the QR code or copy the address below into your wallet to send some Bitcoin

Scan to Donate Ethereum to 0x0F4362DFF77F3Ba0Dc637F5f3Eba35D09a2fA60C

Donate Ethereum to this address

Scan the QR code or copy the address below into your wallet to send some Ethereum

Scan to Donate Xrp to r4ggjvL36njsMCYTkJ3S7cTHscPsMsSGQv

Donate Xrp to this address

Scan the QR code or copy the address below into your wallet to send some Xrp

Scan to Donate Bitcoin cash to qrs0dedzp9t55af3nfwypydghp29r0xguy9s20fz2k

Donate Bitcoin cash to this address

Scan the QR code or copy the address below into your wallet to send some Bitcoin cash

Scan to Donate Bitcoin sv to 15K9TLyVDBtLuG9cYvXCX9SSkq9C9oUKHK

Donate Bitcoin sv to this address

Scan the QR code or copy the address below into your wallet to send some Bitcoin sv

Scan to Donate Litecoin to LetJ9QQMb7u2LMZ9Tu6rtHwcBcQFW98fbG

Donate Litecoin to this address

Scan the QR code or copy the address below into your wallet to send some Litecoin

Scan to Donate Binance coin to bnb1ga8trq08ssqepd90v6225nzfgy448pu5pw8gxp

Donate Binance coin to this address

Scan the QR code or copy the address below into your wallet to send some Binance coin

Scan to Donate Cardano to addr1qx2354yw49etstfljpdhwja3ajjlt487lg95vu9ngy2q6vu4rf2ga2tjhqknlyzmwa9mrm997h20a7stgectxsg5p5esq5l7d9

Donate Cardano to this address

Scan the QR code or copy the address below into your wallet to send some Cardano

Scan to Donate Ethereum classic to 0xcD6CC972a2297FcafACDcfE042C55C69516a9264

Donate Ethereum classic to this address

Scan the QR code or copy the address below into your wallet to send some Ethereum classic

Subscribe for updates. Trust me, no spam!

Sponsored links

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

Upcoming events

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

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.
4. Axo Finans.
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.