Ubuntu comes with "disk utility" installed by default
and this is your primary means of partitioning and formating drives.
You can find it in
accessories or by typing disk utility in the dash.
Drives are displayed
at the left of the screen, internal HDD first, then DVD's and removable
media at the bottom.
How to Partition a Disk using Disk Utility
Click on the device or drive you want to
work on and unmount it.
Select format drive, use master boot record and click format.
When the operation completes the drive will display as free / unallocated space.
You should now see an option to create a partition, you should click it.
A new window should pop up, you can use the slider and controls at the top to select the partition size.
Below that you can choose your preferred file system, and name the device.
Clicking create at the bottom will create the partition as specified.
When the operation completes the drive will show the partition and remaining free / unallocated space.
Now you need to select the free space, and then click create a partition again.
Follow the steps above until your drive is partitioned as you want and no free space remains.
Partitioning for a Linux Installation
If you are partitioning a disk for installing Linux, you should have at least 2 partitions.
An Ext4 format partition which will be the /root partition where Ubuntu is installed and a Swap partition.
It is also recommended to create a third partition, also EXT4 format, to use as a /home partition for your files.
Having a seperate /home partition will mean you can reinstall Ubuntu without losing your files and settings.
If you choose to use three partitions, here is a guide to the sizes they should be.
A full install of Ubuntu uses about 4GB of space so your /root partition should be more than this.
10GB minimum, 20GB recommended, 30GB should be more than enough.
We recommend that the size of the swap partition should equal your RAM up to 2GB, but does not need to be larger than 2GB.
Your /home partition should be as big as it can be, as all of your files and documents will be stored there.