16install

Ubuntu 10.10 manual disk partitioning guide

UbuntuThe installation program on Ubuntu desktop is pretty basic. It lacks the other features, like support for LVM, RAID, and full disk encryption, that the Ubuntu text installer edition has. By default, it creates just one partition onto which it installs everything. If you want to install Ubuntu on a disk with separate partitions for the major file systems, you will have to partition the disk manually.

This tutorial presents a step by step guide on how to partition a hard disk manually for installing Ubuntu 10.10. Note: This tutorial covers installation on a computer with a single disk and no other operating system already installed.

The image below is the first during the installation process where disk partitioning is about to begin. Like virtually all graphical installation programs, the Ubuntu installer is capable of detecting the presence of another OS on the disk. If there is, it is also capable of installing itself alongside the other OS – if you opt to. For this tutorial, the option to select is “Specify partitions manually (Advanced)”. That option offers the freedom to partition the disk anyway you want. Click on the Forward button to continue.

partitions

Select manual option

The hard drive on the computer used for this tutorial is about 640 GB in size, but I am going to use just a fraction for this installation. The rest will be used to installation another OS in a dual-boot configuration. I could have installed the other OS first and then Ubuntu last, but it does not matter. It works either way. Note: If the other OS is Windows (any version), always install it first, then install Ubuntu last.

Related Post:  5 reasons to use a VPN

To begin creating partitions, select the free space and click on the Add… button.

10install

Select free space to start creating partitions

In a default installation of Ubuntu, the installer creates just one primary and one logical partition. The primary partition is for /, the root file system, while the logical partition is used for swap. In this tutorial, we are going to create three primary partitions (one less than the maximum of four allowed by the traditional disk partitioning system), and one logical partition.

The first primary partition will be for /boot, which is the file system where boot-related files are kept. The space requirement of this partition is minimal.About 500 MB is recommended. For file system type (Use as), the default is Ext4 journaling file system. The Mount Point should, of course, be /boot. OK.

11install

Create the /boot partition

With the first partition out of the way, repeat the process to create the next partition, which will be used for /. Note that by default, the installer will try to create any partition after the first one created above as a logical partition. So be sure to select Primary. Sticking with the default, that is, Logical will not break anything, but it just does not make much sense. The size assigned is 20 GB, and the mount point is, of course, /.

Related Post:  End-to-end Machine Learning with TensorFlow on Google Cloud Platform

Keep in mind that a default installation of Ubuntu 10.10 takes up less than 3 GB of disk space, so 20 GB is more than enough for /. If you intend to create separate partitions for the other major file systems, like /usr, /tmp and /var, you may reduce the size allocated to this partition. OK.

12install

Create the / partition

The next partition, which will be the last primary partition, will be for swap space. If I have the disk space to spare, I normally allocate about 4 GB to 5 GB to the swap partition. For Use as, select swap area. OK.

13install

Create the swap partition

Please share:

24 Responses

Add a Comment

Your email address will not be published. Required fields are marked *