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

Pardus 2009 firewall, NTP, and openSSH server configuration Pardus is a Linux, desktop-oriented distro that was just reviewed here. This post is to help you configure some very important aspects of the operatin...
Install Jitsi 1.0 in Debian, Linux Mint and Ubuntu Jitsi is a multi-protocol, multi-platform voice and video instant messenger client. It is mostly implemented in Java, and is Free/Open Source software...
Mandriva Linux 2009 Firewall The Linux operating system has its own built-in, enterprise-grade firewall. However, not all Linux distributions ship with a graphical client fro conf...
How to install OpenSSH on Windows 10 After upgrading to Windows 10, the next logical thing to do is install OpenSSH on it. Makes it easier to copy files from it to my Linux boxes when I'm...
Regarding Fedora 19 kernel upgrades and VirtualBox kernel modules My main desktop computer is powered by Fedora 19 on which I run at least a dozen guest operating systems using VirtualBox. VirtualBox is my favori...
How to create a guest user account on Ubuntu 10.04 When installing Ubuntu, you are required to create one user account. That account is the "root" account, used to perform all administrative functions ...

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 *

*