How To Format Hard Drives in Ubuntu 14.04/16.04/18.04
We explain step by step how to format a hard disk in Ubuntu 16.04 in a practical and above all safe way.
Quick Format to a Disk in Ubuntu 16.04
The ideal tool for this type of task is brought by Ubuntu 16 by default in your system, and it is the Disks tool.
Just search on ubuntu “disks” and open the tool.
Select the disk that we will format and just below the unit we click on the pinion icon, and in the displayed list we select the option Format partition:
The following window will be displayed where, in the Type field, we must define the file system with which the unit will be:
The options we have are:
- FAT: This option is useful if we want to use the unit between Windows, Linux and Mac OS operating systems.
- NTFS: This option is useful when the unit works with Windows operating systems
- Ext4: This is the default option for exclusive use in Linux operating systems
- LUKS + Ext4: It is a new file system exclusive to Linux systems that works with encryption to increase its level of security, LUKS (Linux Unified Key Setup)
Finally we define a name for that disk. In this case, as the format is fast, we select the option Do not overwrite existing data.
Click on Format to continue with the process, but first we must enter the administrator password.
Finally we must mount the partition by clicking on the symbol ►
Format a Drive using Gparted
Gparted is a graphical interface application that allows us to have control and management over disk drives in Linux.
For its installation we will open a console of the end and enter the following command:
sudo apt-get install gparted
Open gparted from the launcher or in the terminal with “sudo gparted” command.
For security, Linux will ask us to enter the administrator credentials to run the program since we will work on the system units.
When executing the Gparted application, we will select the unit to be formatted from the icon located at the top right: (/dev/sbd)
Before making any changes to the unit we must unmount it from the system, for this we right click on the unit in the central panel and select the option Unmount
Right-click and choose the option Delete.
With the newly available space we will proceed to create a new partition, for this we click on the unit and choose the New option.
In the displayed window it will be necessary to assign the necessary space and in the file system field define the most appropriate system according to the needs of connectivity:
Once these values have been set, click on the Add option to start the respective process.