【 Format Disk in Linux 】 Step by Step Guide ▷ 2022

Every computer user comes to a time when, for one reason or another, you must format your computer, either to prevent damage, to protect information, or to install a new operating systemamong a variety of other reasons.

In any case, this process is preceded by a preparation that can be summarized in the backup of important dataamong many factors that must be taken into account when formatting your computer to maintain the integrity of your information.

Step by Step We will present you the methods and points to take into consideration when you have to format your so that you can do it safely, like a professional.

What should we take into account before formatting a hard drive in Linux?

what you owe know about formatting a hard drive is that, once done, all data that was not previously backed up will be irretrievably lostso the first step is to back up the most vital data.

Among these data we can take into account the following:

  • Documents: We mean images, videos, audio, spreadsheets, presentations, and any content you’ve created or saved that might be of future relevance.
  • Downloaded Programs: Saving the installation files of any program that we have downloaded from the Internet is usually a great energy and time saver by not having to search for the program online again.
  • Browser Information: make sure to save the bookmarks and favorite pages stored on your computer in case it is an important page, since after formatting it is likely that you will not see it again.
See also  【 Configure Outlook in Thunderbird 】 Step by Step Guide ▷ 2022

One more factor to consider is the volume of all datasince this is what will determine if you can make the necessary backup on a USB stick, or if you need an external hard drive or even a to store large amounts of data. While each choice is based on circumstances, if it is possible for you to choose the cloud storage service, choose itas it is the most secure backup option available so far.

Learn step by step how to format a hard drive in Linux correctly like a professional

The innate versatility of Linux gives you access to a variety of ways to format your hard drivethen now We will explain step by step the two methods for a safe procedure.

Go for it:

From the command console

In order to perform the format using the command terminal, the first step is to make a partition by following these steps:

  • Connect hard drive to format and verify the connection with the command sudo fdisk –l.
  • Create the partition on the hard drive by typing the command sudo fdisk /dev/sdb , the terminal will display a list with the supported parameters.
  • Is the visible listpress “p” this will show you the hard drive identifier and sector space.
  • Press “n” to create the new partition, it will show two types of partitions you can create: primary (p) or extended (e).
  • Select “p” to create a primary partition and assign a number from 1 to 4, depending on how many partitions you want to create. If you want to create a single one, press “1”.
See also  【Import and Export Customizations in Word】Guide ▷ 2022

Once the partition is created, insert the command sudo mkfs.ext4 /dev/sdb. With this, the system will search for available partitions on the drive, as soon as you select the partitions to format and confirm, just press “Y”, then all that remains is to wait for the process to complete.

With an external tool

Formatting the hard drive with a tool with a graphical interface is the easiest option and suitable for those who are not used to working with the command terminal.

The steps to format the hard drive using the GParted tool are as follows:

  • Open Gparted.
  • Select the hard drive.
  • choose the partition to delete. If it is more than one, the process must be carried out as many times as necessary.
  • Once all partitions have been deletedthe graph will show a single space labeled “not assigned”
  • confirm the changes.

Once these steps are completed, the hard disk will be ready to assign the partitions with completely new data.

List of the best tools to format a hard drive on Linux operating system

Even taking into account that formatting via the command terminal is the most recommended option, many users feel more comfortable performing the process through a graphical interface.

These are the best programs you can find to manage and format your hard drive in Linux:

QtParted

This tool, specially designed for Linux, has the ability to resize, manage and delete partitions on system hard drives. It is a management tool that uses a graphical interface and has access to the GNU Parted library, which gives it the inherent ability to resize partitions. NTFS.

See also  【Windows Device Manager】How to Login? ▷ 2022

KDE Partition Manager

It is based on core components of the KDE desktop environment and uses the GNU library for partition editing. This software is used for creating space within the hard drive for operating systems. and disk usage management, as well as to perform so-called “mirror copies” of data from one partition to another. You can download from their website https://apps.kde.org/en/partitionmanager/.

GNOME Disks

It is a graphical interface tool included in the GNOME Disks Utility that can be used for the management, management and diagnosis of hard disk partitions. It uses the UDisk component for managing hard drive space while the GTK library provides its graphical interface. In addition to formatting, it also enables SMART data diagnostics and hard drive performance benchmarking.

GParted

It is a free software disk partition management tool that can be used on x86 and x86-64 architectures available for a variety of operating systems. It can be used to create and delete partitions, resize them, label them, and copy their data to other partitions. Also, it can manipulate file systems like ext2/ext3/ext4, FAT16/FAT32, NTFS among many others.

Loading Facebook Comments ...
Loading Disqus Comments ...