How to format my HDD when installing Ubuntu?

How do I format the hard drive on my machine before installing?


Solution 1:

When you get to the Installation Type screen, choose Erase and install Ubuntu. And if you're comfortable, you can go into Something else, and you can manage partitions the way you want.

enter image description here

Click on delete to delete the existing partition first, and then click on New partition table.

enter image description here

After that highlight the created partition and click on add. Create a partition with the shown mount point

enter image description here

but leave some space for a swap area

enter image description here

Solution 2:

When you are installing Ubuntu, at the partitioning step, choose Use entire harddisk, and Ubuntu will format the entire harddisk for you, also creating a swap partition.