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


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

  • I'm pretty sure that this simply removes the partition tables and doesn't actually format the disk, at least in Ubuntu 19. You need to separately carry out a disk format first, which could take a lot longer than the entire 'erase disk and Install' installation.
    – EML
    Oct 13 '19 at 14:23

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.

  • How do I get to this screen? Apr 13 '20 at 8:56
  • This screen is from the not graphiqual installer. You can found almost same terms and options in graphical one. Oct 13 '21 at 20:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.