Partner links

Manual disk partitioning guide for Linux Mint Debian Edition

lmdeinstall19

Linux Mint Debian Edition, or LMDE, is the edition of Linux Mint based on Debian Testing. The latest release was made available for download on December 24, 2010. The installation program on this edition is similar to the Ubiquity installation program, which is used on the main edition, the one based on Ubuntu. But while the Ubiquity installation program incorporates an automatic disk partitioning phase, the LMDE lacks it. As a result, installation of LMDE requires that the disk be partitioned manually . This tutorial offers a step by step on how to partition a disk for installing LMDE.

Images used in this tutorial were obtained from an installation in a virtual environment with a disk space of about 100 GB. The steps would be the same if you are installing on real hardware with, say, 500 GB of disk space.

Note: This tutorial assumes installation on a pristine hard drive.

You might also be interested in how to install Linux Mint Debian Edition on an encrypted LVM file system.

This is what you will see when you get to the disk partitioning step of the installation process, that is, if there are no existing partitions on the disk. To start creating partitions, click on the Edit partitions button.
lmdeinstall1

That brings to the GParted window. GParted (GNOME Partition Editor) is the disk partitioning tool you will be using to create partitions on LMDE. If the disk has not been initialized, you will need to do that first before you can create partitions. To initialize the disk, select it, then click on Device > Create Partition Table.
lmdeinstall3

With the disk initialized, select it, then click as shown to start creating partitions. For this installation, we are going to create four partitions:

  • A /boot partition. This will be the first partition and it will be a primary partition.
  • Swap space. This partition could be primary or logical. For this tutorial, it will be created as a primary partition.
  • The third partition will be for the root file system, and it will be a logical partition
  • And the last partition will be for /home, also a logical partition.

Creating logical partitions will keep you from hitting the limit of four primary partitions allowed by the system.
lmdeinstall4

This is the partition creation window. You must specify the disk space to allocate to the partition, whether you want it to be primary, extended or logical, and the file system type. The Label field is optional.
lmdeinstall5

This is window with the values for /boot in place. On a new installation of LMDE, /boot takes up about 30 MB of disk space so anything higher than that should do. But most distributions assign about 500 MB to it, so we use that value here. Click Add to exit.
lmdeinstall6

With the /boot partition created, select the free space to create the next partition. This step will have to be repeated for the other partitions, too.
lmdeinstall7

Share:

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

Partner links

Newsletter: Subscribe for updates

Subscribe
Notify of
guest
11 Comments
Inline Feedbacks
View all comments
Glenn
Glenn
3 years ago

partitioning a hard drive was always a head banger so to speak (for me) and i never did try to do it, but i saw i had to do it for LMDE and with your article it was a no brainier, thanks

arbocorp
arbocorp
10 years ago

Wow, I tried to install the newest linuxmint debian version and hit a dead end. I’m used to linux doing everything for me! I’m still in the dark but not as much as I was before. Actually going through the steps gave me a better understanding! Very much appreciated =)

Roland
Roland
11 years ago

Please consider testing on multi-disk systems. If I install on sdb, can I get grub to write to sdb, and not overwrite sda’s grub? My BIOS has a disk boot selector built-in. Thanks.

maillig
maillig
11 years ago

Question of accuracy here…
On September 18th, you advocated a ext4 for the /boot partition, and yet, in this article you now say to use ext 2 for it.

Which is the correct procedure for /boot? ext4 or ext2 ?

Honeypuck
Honeypuck
Reply to  finid
11 years ago

What about using ext3 for your boot-partition? I would argue that as long as the system boots, it does not matter very much, which file system you use. And you’re right that journaling is not necessary for the boot-partition. Speed of the file system and overhead are not much of an issue as the /boot is quite small. A backup of the MBR via dd is useful, especially when there is an update of the init.ramdisk or an upgrade to GRUBW which can break things badly.

Get the latest

On social media

Security distros

Hacker
Linux distros for hacking and pentesting

Crypto mining OS

Bitcoin
Distros for mining bitcoin and other cryptocurrencies

Crypto hardware

MSI GeForce GTX 1070
Installing Nvidia GTX 1070 GPU drivers on Ubuntu

Disk guide

LVM
Beginner's guide to disks & disk partitions in Linux

Bash guide

Bash shell terminal
How to set the PATH variable in Bash
Categories
Archives
11
0
Hya, what do you think? Please comment.x
()
x