- slide 1 of 16
Note: This set of "how to" instructions was written for Kubuntu. Procedures described might work differently on your distribution.
- slide 2 of 16
What Software to Use?
I haven't found any partitioning software for Linux that is better than GParted. I've tried others but they are not as easy to use.
- slide 3 of 16
You bought a new 160GB hard drive and you want to start using it. You put it in your box (synonym for your computer), but Kubuntu doesn't recognize the drive. So, now it must be partitioned. You want to divide it up into three partitions, but how?
- slide 4 of 16
How To Install?
You will find GParted in most of the repositories of Linux distributions out there. Just in case you can't, here's the link to the GParted website. You will also find more detailed information about GParted there.
- slide 5 of 16
Now the How To
Start GParted (start->system->Partition Editor). You will have to put in your password because GParted needs root access to the drives.
For the purpose of these intructions, I've hooked up a 160GB hard drive via USB. The concept for partitioning is the same whether the hard drive is internal or external.
- slide 9 of 16
Resize the partition. There is 149.05GB to divide, so make the first two partitions 49GB each. The remaining amount will be used for the third partition.
Why doesn't it read 160GB anymore?
It is related to the conversion from binary to decimal values. Hard drive manufactures use the decimal values. Operating systems use binary values. In decimal value, 1 GB = 1,000,000,000 bytes. In binary value 1GB = 1,073,741,824 bytes.
- slide 16 of 16
Adding the Partition to Fstab
In part 2 of this series, I'll explain how to add the partition to the fstab file. If you're unfamiliar with the fstab file, don't worry. I'll explain all about that, too.
How to Partition a Hard Drive in Linux?
This multi-part article will explain and demystify Linux hard drive Partitioning and Mounting. If you are a beginner in the Linux world and just bought a new hard drive then this article is a must read.