Mint, Tutorials/Tips

Disk partitioning guide for Linux Mint Debian

Linux Mint
Linux Mint Debian is the latest version of Linux Mint. Unlike other versions of Mint, it is not based on Ubuntu, but rather on Debian Testing, and comes with a brand new installer. Also, unlike the Ubuntu-based versions, the installer does not have an automatic disk partitioning feature – it requires manual disk partitioning with GParted.

This tutorial provides a detailed guide on how to partition a single disk for installing Linux Mint Debian, and begins at the step where the disk is detected. The three step prior to this, representing the language selection, timezone settings, and keyboard layout selection have been omitted.

All images used here were taken from an installation in a virtual environment, and is intended to mimic installation on a computer with a single disk with no other operating system on it.

The image below represents the first step in the disk partitioning process. The light-green empty space where the cursor is represents the disk space. There are no existing partition on the disk. To create partitions, click on the Edit partitions button.

mintdebi
Select the disk to partition

The disk partitioning tool is GParted. Since this disk is a new disk, it has not been initialized, that is, it has no partition table or disk label. You will recognize an uninitialized disk by the presence of a warning or alert symbol as shown in the image below. You will have to initialize the disk before you can create partitions. To do so, click on Device > Create Partition Table…

If the disk you are trying to install to already has existing partitions, this step will not be necessary.

mintdebi1
QParted

You will get this friendly warning. Click Apply.

mintdebi2
Initialize disk (create a partition table)

With the disk initialized, time to create partitions. Notice that the alert sign has disappeared. Click on the New icon to create the first partition, or double-click on the free space and select New. For this tutorial, I am going to create four partitions for the following file system directories:

  • /boot
  • swap space
  • /, the root file system
  • /home
mintdebi3
Initialized disk ready for partitioning

The first partition to create will be used for /boot. Note that at this step, you are only creating partitions. The mount points will be assigned after you exit GParted. So it is important to know what you are going to use the partition for since that will help you determine the amount of disk space to allocate to it. For the partition that will be used for /boot, 500 MB is recommended, and as the first partition, we are going to create it as a primary partition. The Label field is just to help you remember what this partition is for. You may leave it empty. Click Add when you are done.

mintdebi4
Create partition for /boot

With the first partition created, select the unallocated space and click to create the next one. Note: This step will have to be repeated for all other partitions you want to create.

mintdebi5
Select free space

This partition will be used for swap space. A size of 2 GB will do. For File system, make sure to select linux-swap. You may choose to create it as a primary or extended partition. Add.

mintdebi6
Create swap space

Related Posts

Your choice: Cinnamon or MATE I get a lot of queries regarding the difference(s) between the MATE and Cinnamon desktop environments. And of course such queries tend to come from th...
Tahoe Least-Authority File System for secure, distributed data storage Looking for a solution to give you an edge in the ongoing struggle between you and the authorities over the privacy of your data? Then you should take...
Configure LVM in Foresight Linux Foresight is a Linux distribution built around the Conary package management system, with Gnome as the default desktop environment. Like most Linux di...
How to install PC-BSD on an encrypted ZFS file system As a desktop distribution built atop FreeBSD, PC-BSD makes available to the desktop user all the cool technologies inside FreeBSD. One of those cool t...
How to customize Cinnamon on Fedora 16 and Linux Mint 12 Cinnamon is a fork of GNOME 3 Shell by the developers of Linux Mint. If this is news to you, you might want to read "What does Cinnamon bring to the d...
Ubuntu 8.10 Tidbits The desktop version of Ubuntu 8.10, which was released just yesterday, comes with a few nice features. Aside from those few new features, there are a ...

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.


12 Comments

  1. I’ve got mint13 on the disk. What do I do?

    • That’d be working backwards. You tell us what you want to do and what issues, if any, you are having, and we’ll do our best to find a solution for you.

  2. I created /boot ext4 500mb
    Linux swap 2g
    root ext3 512mb

  3. Thank you very much!
    Did all that & it’s installing now.
    I have absolutely no idea what to do before.. new to linux.
    Thankyou.

  4. THANK YOU! I’m new to linux and have been fighting with trying to get it installed on my home entertainment computer. I do think this will solve my problem!

  5. Nice article. Is there a way to print it?

  6. Pingback: Disk partitioning guide for Linux Mint Debian | Linux.se – Nyheter, forum och support

  7. Fine guide. Well written. Nicely done. However, for a simple desktop linux install, there does not seem to me to be much benefit to having a separate /boot partition. Simpler to recommend three partitions: /, swap, and /home.

  8. Pingback: Partitioning with ‘Debian Mint’ « 0ddn1x: tricks with *nix

Leave a Comment

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

*