Linux Mint 10, aka Julia, is the latest stable release of Linux Mint, a desktop-oriented distribution based on Ubuntu. Just like earlier releases of Linux Mint, Linux Mint 10 is installed on a partitioning scheme with just one root file system, no separate /boot and /home partitions.
While this may seem convenient, it is not the recommended method of partitioning a disk for the installation of a Linux distribution, even a desktop-oriented distribution. This tutorial presents a step by step guide on how to create the recommended number of partitions for installing Linux Mint 10 on a computer with a single hard disk.
The image below shows the partitions on a new installation of Linux Mint 10. This is on a computer with a hard drive of about 640 GB. Notice that there is no /boot partition. The system is installed on a single file system, with a 12 GB swap space.
This image shows the partitions we are going to create. There will be a separate partition for /boot, /home, / and, of course, swap. And the swap space will be nowhere near the 12 GB allocated to it in a default installation.
Note: This tutorial involves manual partitioning of a single disk for installing Linux Mint 10. A future article will cover manual partitioning for a dual-boot configuration.
To reduce the number of images used, only the steps relevant to disk partitioning have been included in this tutorial. We, therefore, begin at the step in the installation process where disk partitioning starts. Depending on the state of the hard drive on your computer, you will see the window shown below. The option to check at this step is “Specify partitions manually (advanced).” Forward.
If there are existing partitions on the hard drive, they will have to be deleted. Also, if there is an existing OS on the hard drive and you do not wish to dual-boot, it will also have to be deleted. When you have freed up enough space to use for the installation, select it as shown below and click on the Add button.
Before proceeding, decide how many partitions you need to create, and how much disk space you need to allocate to each. For guidance, the Mint 10 installer create just two partitions by default. The root partition and swap space. And the default installation takes up less than 3 GB of disk space, if you install from the CD image. Installation from the DVD image takes up about 4.5 GB of disk space. For this tutorial, I am going to create four partitions. One each for /boot, root, /home and swap space. For a purely desktop system, those are the recommended partitions.
So let us continue by creating the first partition, which will be for /boot. Because it is the first partition, the installer will set it as a primary partition. Ext4 is the default file system for all Linux partitions, and the mount point is, of course, /boot. Recommended size is 500 MB. If you are short on space, you can allocate a much lower amount. Click OK if you are satisfied with your choices.
Note: Though ext4 is the default file system type on most Linux distributions, it has been suggested that /boot does not need a journaling file system. Ext3 and ext4 are journaling file systems. Many are of the opinion that ext2, a non-journaling file system, will do just fine.
With the first partition created, select the remaining free space and click Add. Note that you will have to repeat this step to create the remaining partitions.