Arch Linux Installation (Part 2) – Preparing hard disk

I have decided to break this Arch Linux Installation journal into parts as it is getting longer….

I used to skip hard disk partitioning in the past, because I had no idea what to partition, I would go by using the default setting whereby everything will be mounted to ‘/’. As I used Linux and did Linux distribution hopping more, things started to make more sense to me….

Here’s my hard disk partition arrangement:

1. All using EXT4 journaling file system.

2. / root is 6GB.

3. /boot is 200MB.

4. /usr is 10GB.

5. /var is 3GB.

6. /var/log is 256MB.

7. /home is the remaining space.

8. 512MB is for swap.

9. /tmp is 1GB.

Preparing hard drive.

Press OK and proceed.

Manually partition the hard drive.

This step can be very easy by choosing option 1, however if I chose to proceed with my hdd partition arrangement plan and chose option 2; manually partition hard drives.

Choose this drive.

I only have one hard drive hence this is the obvious choice.

Start cfdisk.

This cfdisk screen used to freak me out in the past because partitioning was cryptic to me, however after working with Linux and reading several forums I am now confident to know what I will be doing.

All partition arranged!

The partitions were as above, press Write to write the partition table to MBR.

Configuring mount point and other configurations.

The next is manually configure the file systems and mount points.

Choose /dev the static way to write to /etc/fstab.

Most of the people and Linux distribution use UUID, UUID is more dynamic, the ID is the same even the /dev/sdXY notation changes. However I chose to use static way by using /dev/sdXY directly, this is clearer and since I only have one hard drive, during bootup this will always be mounted first and /dev/sdXY should not be changing…

Choose filesystem, label and mount point.

The hard disk was partitioned but no file system and mount point is chosen.

filesystem, mount point and label configured.

This table is the end result of the configuration. I have chosen ext4 file system and defined the mount point as planned. I prefer to label the partition to be the same as the mount point as it is clearer to me of which is which, it is especially useful and easier for me to do rsync backup as well.

Messing the hdd :p

Now the wizard is processing the choices I had made.

Partition completed.



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s