Ubuntu desktop manual partition guide

This is a screenshots album of Ubuntu desktop manual partition guide for a beginner. The manual partition guide for Ubuntu server screenshots can be found in Ubuntu server manual partition help tutorial.

The example used in this tutorial is 8GB hard disk fully assigned for Ubuntu desktop. It explains how to create hard disk partition manually and does not cover other topics such as Linux partition types, file system used and Linux mount point. We assume that you already planned how your Ubuntu partitions are going to be. If you haven't done that, then please make a proper plan. For a basic knowledge about Linux partitions, Linux mount point and Linux file system, check out Beginner's section and Linux basics tutorials. The
Basic Slackware Linux learning guidelines for beginner
and Linux basic concepts, installation and troubleshooting tutorials are the 'must read' if you are new to Linux operating system.

1

During the Prepare disk space step in Ubuntu desktop installation, you'll have a choice whether to use the guided - use entire disk which is going to automatically assign partitions for you or to create the partition manually. Let's make it clear so you know what option to choose.

If you choose the first option, Guided, Ubuntu will automatically create all the partitions needed to install Ubuntu and assigns required mount points. The benefit is you can skip all the hassles of doing hard disk partitions. Reduce some installation times and great for Linux beginner who just want to try Ubuntu. The draw back is you have to accept whatever partition size that has been assigned to the hard disk.

If you choose to manually partition the hard disk, then, as the name suggests, you need to create all partitions and assign the mount points yourself. The benefit is you can customize all the partitions and plan what to do with hard disk space. For example, if you want Ubuntu to be a Linux multimedia workstation, then you can freely assign larger space to /home partition. This is what every Linux users do and love, to customize the system to your personal needs. The draw back maybe you need to spend some time to create hard disk partition.

Choose the latter if you want to partition the hard disk manually. Don't worry, this is the purpose of this tutorial. You'll be fine.

2

In the example above, the Ubuntu hard disk partition tool remind us about the entire device we chose to partition. This is normal, you didn't do anything wrong (assuming that you did choose the right hard disk space). Click Continue to proceed. Your data in the hard disk won't be deleted yet at this stage. You can choose Go back option if you are not sure that you have picked up the right hard disk.

3

This is a free space that you have in your current hard disk. Click on the free space to create a new partition. You can create a new partition by clicking on the New partition button.

4

A new pane called Create partition pops up. This is where you can define partition type, partition size and mount point of the new partition. Choose the first partition type as primary partition. The first partition should be the swap area. Swap area is an additional space used as a virtual memory to support your RAM in case your memory low. Normally the space of the swap area size is double the size of your RAM.

Click Use as drop down button and choose Swap area. Click OK to proceed.

5

The swap area has been created. The device name or the partition name is /dev/sda1. Click on the free space to create a second partition. Normally, the mount point that should have their own partitions are the /(root) directory, /home directory, /usr/local/ directory and /var directory. We are going to create / partition as the second partition.

6

We are going to create the / partition for the second partition, so choose the primary partition for the partition type. Key in what size you want to assign for the / partition. Remember the / partition is where we keep all the Ubuntu desktop system file. If you have a large hard disk, for example 160GB for Ubuntu desktop, then, the size between 20GB to 30GB assigned for the / partition is a reasonable size.

Choose Linux ext3 for the file system type and choose / as the mount point. Click OK to proceed.

7

The second partition which is the / partition has been created. The device name is /dev/sda2. Now we are going to create the third partition for Ubuntu desktop. The mount point remains are the /home directory, /usr/local/ directory and /var directory. You can choose whatever mount point that you already planned. In this example, we are going to create a partition for the /home directory. Ubuntu desktop uses a normal user account by default, so assign an independence partition for /home directory is a good choice. What I mean is all users' home directory in Linux is created by default in /home directory except for root user (administrator) which has separate directory called /root. By creating a dedicated partition for /home directory, we don't have to worry about data missing each time we upgrade Ubuntu.

If you ask what is the right partition size for /home directory, nobody can give you the exact size. It depends on your hard disk space and the usage of your Ubuntu system. As mention earlier, you would be using a lot of /home directory space with Ubuntu desktop. So give a large possible space for /home directory is recommended.

Click on the free space and then click the New partition button to create the third partition.

8

Choose partition type for the third partition. Remember that we can only create four primary partition. This is the last partition example on how to create partitions for Ubuntu desktop. If you are going to create more than four partition, choose the logical type.

We are going to create /home directory as the third partition mount point. So giving the extra space for the partition is better. I am not going to create a partition for /usr/local or /var directory. For a basic desktop usage, those partitions created just now is enough. So, to continue, choose the ext3 as the file system and choose /home as the mount point. Click OK to proceed.

9

If you are going to create more partitions for Ubuntu desktop, continue as we did before. When you finished, you can see a summary page like this and this is the final step for you to revise the partitions. You can cancel all created partitions by clicking the Undo changes to partitions button to start create a new partition all over again. When you satisfied, then click Forward button to continue Ubuntu desktop installation.

That's all. Good luck and have fun with Ubuntu!

Good job, in 10 huge steps

Good job, in 10 huge steps you did not tell me the single thing that I want to know, how many partitions and how big do they need to be.

Some guy says I need to make a swap partition, a system partition and a partition that I will keep my home folder in.

Post new comment

The content of this field is kept private and will not be shown publicly.
This blog uses the CommentLuv Drupal plugin which will try and parse your sites feed and display a link to your last post, please be patient while it tries to find it for you.

Custom Search