• About
  • Contact
  • Cookie
  • Disclaimer
  • Privacy Policy
  • Change the purpose of use

Tnhelearning.edu.vn - Various useful general information portal

  • Photo
  • Bio
  • How To
  • Tech

How to Format Hard Drive on Ubuntu

February 15, 2024 by admin Category: How To

You are viewing the article How to Format Hard Drive on Ubuntu  at Tnhelearning.edu.vn you can quickly access the necessary information in the table of contents of the article below.

X

This article is co-authored by a team of editors and trained researchers who confirm the accuracy and completeness of the article.

The wikiHow Content Management team carefully monitors the work of editors to ensure that every article is up to a high standard of quality.

This article has been viewed 27,713 times.

You can format the drive using the Disks utility that comes pre-installed on Ubuntu. If the Disks utility reports an error or the partition is damaged, you can use GParted to format it. In addition, GParted can also resize existing partitions, allowing you to create more partitions from an empty drive.

Table of Contents

  • Steps
    • Perform Quick Format
    • Using GParted

Steps

Perform Quick Format

Image titled Format a Hard Drive Using Ubuntu Step 1

Image titled Format a Hard Drive Using Ubuntu Step 1

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/2/27/Format-a-Hard-Drive-Using-Ubuntu-Step-1-Version-4.jpg/v4-728px- Format-a-Hard-Drive-Using-Ubuntu-Step-1-Version-4.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/2/27/Format-a- Hard-Drive-Using-Ubuntu-Step-1-Version-4.jpg/v4-728px-Format-a-Hard-Drive-Using-Ubuntu-Step-1-Version-4.jpg”,”smallWidth”:460 ,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:”<div class=”mw-parser-output”></div>”}
Open the Disks program. You can quickly find it by opening Dash and typing disks . All drives connected to the computer will appear on the left side of the window.
Image titled Format a Hard Drive Using Ubuntu Step 2

Image titled Format a Hard Drive Using Ubuntu Step 2

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/c/c2/Format-a-Hard-Drive-Using-Ubuntu-Step-2-Version-4.jpg/v4-728px- Format-a-Hard-Drive-Using-Ubuntu-Step-2-Version-4.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/c/c2/Format-a- Hard-Drive-Using-Ubuntu-Step-2-Version-4.jpg/v4-728px-Format-a-Hard-Drive-Using-Ubuntu-Step-2-Version-4.jpg”,”smallWidth”:460 ,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:”<div class=”mw-parser-output”></div>”}
Select the drive you want to format. All drives will be in the left pane. Be careful when choosing a drive because all data on the partition will be erased when you format it.
Image titled Format a Hard Drive Using Ubuntu Step 3

Image titled Format a Hard Drive Using Ubuntu Step 3

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/5/54/Format-a-Hard-Drive-Using-Ubuntu-Step-3-Version-4.jpg/v4-728px- Format-a-Hard-Drive-Using-Ubuntu-Step-3-Version-4.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/5/54/Format-a- Hard-Drive-Using-Ubuntu-Step-3-Version-4.jpg/v4-728px-Format-a-Hard-Drive-Using-Ubuntu-Step-3-Version-4.jpg”,”smallWidth”:460 ,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:”<div class=”mw-parser-output”></div>”}
Click the Gear button and select “Format Partition”. A new window devoted to configuring the file system will open.
Image titled Format a Hard Drive Using Ubuntu Step 4

Image titled Format a Hard Drive Using Ubuntu Step 4

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/2/29/Format-a-Hard-Drive-Using-Ubuntu-Step-4-Version-4.jpg/v4-728px- Format-a-Hard-Drive-Using-Ubuntu-Step-4-Version-4.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/2/29/Format-a- Hard-Drive-Using-Ubuntu-Step-4-Version-4.jpg/v4-728px-Format-a-Hard-Drive-Using-Ubuntu-Step-4-Version-4.jpg”,”smallWidth”:460 ,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:”<div class=”mw-parser-output”></div>”}
Select the file system you want to use. Click the “Type” menu and choose the file system you want to use.

  • If you want to use the drive to transfer files between Linux, Mac, Windows computers, or most devices that support USB storage, select “FAT.”
  • If you are only using the drive on your Linux computer, select “Ext4.”
  • If you are only using the drive on Windows, select “NTFS.”
READ More:   How to Speak Korean
Image titled Format a Hard Drive Using Ubuntu Step 5

Image titled Format a Hard Drive Using Ubuntu Step 5

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/8/8b/Format-a-Hard-Drive-Using-Ubuntu-Step-5-Version-4.jpg/v4-728px- Format-a-Hard-Drive-Using-Ubuntu-Step-5-Version-4.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/8/8b/Format-a- Hard-Drive-Using-Ubuntu-Step-5-Version-4.jpg/v4-728px-Format-a-Hard-Drive-Using-Ubuntu-Step-5-Version-4.jpg”,”smallWidth”:460 ,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:”<div class=”mw-parser-output”></div>”}
Name the disk space. You can enter a label for the formatted volume in the blank data field. This will help you identify the drive.
Image titled Format a Hard Drive Using Ubuntu Step 6

Image titled Format a Hard Drive Using Ubuntu Step 6

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/6/6e/Format-a-Hard-Drive-Using-Ubuntu-Step-6-Version-3.jpg/v4-728px- Format-a-Hard-Drive-Using-Ubuntu-Step-6-Version-3.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/6/6e/Format-a- Hard-Drive-Using-Ubuntu-Step-6-Version-3.jpg/v4-728px-Format-a-Hard-Drive-Using-Ubuntu-Step-6-Version-3.jpg”,”smallWidth”:460 ,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:”<div class=”mw-parser-output”></div>”}
You can choose to securely delete or not. By default, the formatting process will erase but not overwrite data on the drive. If you want to securely delete the content, select “Overwrite existing data with zeroes” from the “Erase” menu. This format option takes longer, but is safer.
Image titled Format a Hard Drive Using Ubuntu Step 7

Image titled Format a Hard Drive Using Ubuntu Step 7

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/1/1f/Format-a-Hard-Drive-Using-Ubuntu-Step-7.jpg/v4-728px-Format-a- Hard-Drive-Using-Ubuntu-Step-7.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/1/1f/Format-a-Hard-Drive-Using-Ubuntu- Step-7.jpg/v4-728px-Format-a-Hard-Drive-Using-Ubuntu-Step-7.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight” :546,”licensing”:”<div class=”mw-parser-output”></div>”}
Click the “Format” button to get started. You will be asked for confirmation before proceeding. Formatting takes a long time for large drives or when you select the secure erase option.

  • If you have trouble formatting the drive, use GParted in the next step.
Image titled Format a Hard Drive Using Ubuntu Step 8

Image titled Format a Hard Drive Using Ubuntu Step 8

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/a/ae/Format-a-Hard-Drive-Using-Ubuntu-Step-8.jpg/v4-728px-Format-a- Hard-Drive-Using-Ubuntu-Step-8.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/a/ae/Format-a-Hard-Drive-Using-Ubuntu- Step-8.jpg/v4-728px-Format-a-Hard-Drive-Using-Ubuntu-Step-8.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight” :546,”licensing”:”<div class=”mw-parser-output”></div>”}
Mount the drive after formatting. After formatting the drive, click the “Mount” button that appears under the Vpumes graph. The partition will be mounted and you will be able to access the filesystem for storage. Click the link that appears to open the drive in the file browser, or open the Files program and find the drive in the left pane. [1] X Research Source

Using GParted

Image titled Format a Hard Drive Using Ubuntu Step 9

Image titled Format a Hard Drive Using Ubuntu Step 9

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/3/37/Format-a-Hard-Drive-Using-Ubuntu-Step-9.jpg/v4-728px-Format-a- Hard-Drive-Using-Ubuntu-Step-9.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/3/37/Format-a-Hard-Drive-Using-Ubuntu- Step-9.jpg/v4-728px-Format-a-Hard-Drive-Using-Ubuntu-Step-9.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight” :546,”licensing”:”<div class=”mw-parser-output”></div>”}
Open Terminal. You can open Terminal from the Dash, or press Ctrl + Alt + T .
Image titled Format a Hard Drive Using Ubuntu Step 10

Image titled Format a Hard Drive Using Ubuntu Step 10

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/b/b2/Format-a-Hard-Drive-Using-Ubuntu-Step-10.jpg/v4-728px-Format-a- Hard-Drive-Using-Ubuntu-Step-10.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/b/b2/Format-a-Hard-Drive-Using-Ubuntu- Step-10.jpg/v4-728px-Format-a-Hard-Drive-Using-Ubuntu-Step-10.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight” :546,”licensing”:”<div class=”mw-parser-output”></div>”}
Install GParted. Enter the following command to install GParted. You will be asked for a user password, which does not appear when you enter:

  • sudo apt-get install gparted
  • Press the Y key when asked to continue.
Image titled Format a Hard Drive Using Ubuntu Step 11

Image titled Format a Hard Drive Using Ubuntu Step 11

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/8/8f/Format-a-Hard-Drive-Using-Ubuntu-Step-11.jpg/v4-728px-Format-a- Hard-Drive-Using-Ubuntu-Step-11.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/8/8f/Format-a-Hard-Drive-Using-Ubuntu- Step-11.jpg/v4-728px-Format-a-Hard-Drive-Using-Ubuntu-Step-11.jpg”,”smallWidth”:460,”smallHeight”:346,”bigWidth”:728,”bigHeight” :547,”licensing”:”<div class=”mw-parser-output”></div>”}
Launch GParted from Dash. Open the Dash and type “gparted” to find GParted Partition Editor.” You’ll see a bar that represents the current drive partition and the amount of free space on it.
Image titled Format a Hard Drive Using Ubuntu Step 12

READ More:   How to Dry Shoes with a Dryer

Image titled Format a Hard Drive Using Ubuntu Step 12

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/a/ad/Format-a-Hard-Drive-Using-Ubuntu-Step-12.jpg/v4-728px-Format-a- Hard-Drive-Using-Ubuntu-Step-12.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/a/ad/Format-a-Hard-Drive-Using-Ubuntu- Step-12.jpg/v4-728px-Format-a-Hard-Drive-Using-Ubuntu-Step-12.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight” :546,”licensing”:”<div class=”mw-parser-output”></div>”}
Select the drive you want to format. Click the drop-down menu in the upper-right corner to select the drive you want to format. If you can’t tell the difference, look at the drive size to determine.
Image titled Format a Hard Drive Using Ubuntu Step 13

Image titled Format a Hard Drive Using Ubuntu Step 13

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/8/8e/Format-a-Hard-Drive-Using-Ubuntu-Step-13.jpg/v4-728px-Format-a- Hard-Drive-Using-Ubuntu-Step-13.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/8/8e/Format-a-Hard-Drive-Using-Ubuntu- Step-13.jpg/v4-728px-Format-a-Hard-Drive-Using-Ubuntu-Step-13.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight” :546,”licensing”:”<div class=”mw-parser-output”></div>”}
Unmount the partition you want to change or delete. To make changes in GParted, you need to unmount the partition first. Right-click the partition in the list or chart and select “Unmount”.
Image titled Format a Hard Drive Using Ubuntu Step 14

Image titled Format a Hard Drive Using Ubuntu Step 14

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/8/8f/Format-a-Hard-Drive-Using-Ubuntu-Step-14.jpg/v4-728px-Format-a- Hard-Drive-Using-Ubuntu-Step-14.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/8/8f/Format-a-Hard-Drive-Using-Ubuntu- Step-14.jpg/v4-728px-Format-a-Hard-Drive-Using-Ubuntu-Step-14.jpg”,”smallWidth”:460,”smallHeight”:346,”bigWidth”:728,”bigHeight” :547,”licensing”:”<div class=”mw-parser-output”></div>”}
Delete existing partition. The partition will be erased and converted to an unknown component. You can then create a new partition from this section and format the drive using the file system.

  • Right click on the partition you want to delete and then click “Delete”.
Image titled Format a Hard Drive Using Ubuntu Step 15

Image titled Format a Hard Drive Using Ubuntu Step 15

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/d/d2/Format-a-Hard-Drive-Using-Ubuntu-Step-15.jpg/v4-728px-Format-a- Hard-Drive-Using-Ubuntu-Step-15.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/d/d2/Format-a-Hard-Drive-Using-Ubuntu- Step-15.jpg/v4-728px-Format-a-Hard-Drive-Using-Ubuntu-Step-15.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight” :546,”licensing”:”<div class=”mw-parser-output”></div>”}
Create a new partition. After deleting the partition, right click on the undefined part and select “New”. The process of creating a new partition will begin.
Image titled Format a Hard Drive Using Ubuntu Step 16

Image titled Format a Hard Drive Using Ubuntu Step 16

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/0/0d/Format-a-Hard-Drive-Using-Ubuntu-Step-16.jpg/v4-728px-Format-a- Hard-Drive-Using-Ubuntu-Step-16.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/0/0d/Format-a-Hard-Drive-Using-Ubuntu- Step-16.jpg/v4-728px-Format-a-Hard-Drive-Using-Ubuntu-Step-16.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight” :546,”licensing”:”<div class=”mw-parser-output”></div>”}
Select the partition size. When you create a new partition, you can use the slider to select how much space you want to assign to that partition.
Image titled Format a Hard Drive Using Ubuntu Step 17

Image titled Format a Hard Drive Using Ubuntu Step 17

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/1/1a/Format-a-Hard-Drive-Using-Ubuntu-Step-17.jpg/v4-728px-Format-a- Hard-Drive-Using-Ubuntu-Step-17.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/1/1a/Format-a-Hard-Drive-Using-Ubuntu- Step-17.jpg/v4-728px-Format-a-Hard-Drive-Using-Ubuntu-Step-17.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight” :546,”licensing”:”<div class=”mw-parser-output”></div>”}
Select the file system of the partition. Use the “File system” menu to choose a format for the partition. If you plan to use the drive for multiple operating systems and devices, select “fat32”. If you are only using the drive in Linux, select “ext4.”
Image titled Format a Hard Drive Using Ubuntu Step 18

Image titled Format a Hard Drive Using Ubuntu Step 18

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/7/7b/Format-a-Hard-Drive-Using-Ubuntu-Step-18.jpg/v4-728px-Format-a- Hard-Drive-Using-Ubuntu-Step-18.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/7/7b/Format-a-Hard-Drive-Using-Ubuntu- Step-18.jpg/v4-728px-Format-a-Hard-Drive-Using-Ubuntu-Step-18.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight” :546,”licensing”:”<div class=”mw-parser-output”></div>”}
Name the partition. This will help you easily identify the partition on the system.
Image titled Format a Hard Drive Using Ubuntu Step 19

Image titled Format a Hard Drive Using Ubuntu Step 19

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/3/3b/Format-a-Hard-Drive-Using-Ubuntu-Step-19.jpg/v4-728px-Format-a- Hard-Drive-Using-Ubuntu-Step-19.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/3/3b/Format-a-Hard-Drive-Using-Ubuntu- Step-19.jpg/v4-728px-Format-a-Hard-Drive-Using-Ubuntu-Step-19.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight” :546,”licensing”:”<div class=”mw-parser-output”></div>”}
Click “Add” when finished configuring the partition. The partition will be added to the execution queue at the bottom of the screen.
Image titled Format a Hard Drive Using Ubuntu Step 20

Image titled Format a Hard Drive Using Ubuntu Step 20

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/5/5d/Format-a-Hard-Drive-Using-Ubuntu-Step-20.jpg/v4-728px-Format-a- Hard-Drive-Using-Ubuntu-Step-20.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/5/5d/Format-a-Hard-Drive-Using-Ubuntu- Step-20.jpg/v4-728px-Format-a-Hard-Drive-Using-Ubuntu-Step-20.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight” :546,”licensing”:”<div class=”mw-parser-output”></div>”}
Resize partition (optional). One of the features of Gparted is to resize partitions. Resizing the partition will create space for you to create new partitions. Basically, this allows you to split the drive into parts without affecting the data on it.

  • Right click on the partition where you want to re-size and select “Resize/Move”.
  • Drag the edges of the partition to create an empty drive first and then.
  • Click “Resize/Move” to confirm the change. You need to create a new partition from the unknown part according to the instructions above.
READ More:   How to Use Macros in Excel
Image titled Format a Hard Drive Using Ubuntu Step 21

Image titled Format a Hard Drive Using Ubuntu Step 21

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/4/43/Format-a-Hard-Drive-Using-Ubuntu-Step-21.jpg/v4-728px-Format-a- Hard-Drive-Using-Ubuntu-Step-21.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/4/43/Format-a-Hard-Drive-Using-Ubuntu- Step-21.jpg/v4-728px-Format-a-Hard-Drive-Using-Ubuntu-Step-21.jpg”,”smallWidth”:460,”smallHeight”:346,”bigWidth”:728,”bigHeight” :547,”licensing”:”<div class=”mw-parser-output”></div>”}
Click the green checkmark to start applying the change. No changes will be applied to the drive until you click this button. After clicking, all partitions that you set to delete will be deleted along with all data on it. You need to be sure of everything before proceeding.

  • It can take a while for all processes to complete, especially if you are working with many partitions or large drives.
  • Image titled Format a Hard Drive Using Ubuntu Step 22

    Image titled Format a Hard Drive Using Ubuntu Step 22

    {“smallUrl”:”https://www.wikihow.com/images_en/thumb/8/87/Format-a-Hard-Drive-Using-Ubuntu-Step-22.jpg/v4-728px-Format-a- Hard-Drive-Using-Ubuntu-Step-22.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/8/87/Format-a-Hard-Drive-Using-Ubuntu- Step-22.jpg/v4-728px-Format-a-Hard-Drive-Using-Ubuntu-Step-22.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight” :546,”licensing”:”<div class=”mw-parser-output”></div>”}
    Find the drive you just formatted. After the format is complete, you can close GParted and find the drive in the Files program’s drive list. [2] X Research Source
  • X

    This article is co-authored by a team of editors and trained researchers who confirm the accuracy and completeness of the article.

    The wikiHow Content Management team carefully monitors the work of editors to ensure that every article is up to a high standard of quality.

    This article has been viewed 27,713 times.

    You can format the drive using the Disks utility that comes pre-installed on Ubuntu. If the Disks utility reports an error or the partition is damaged, you can use GParted to format it. In addition, GParted can also resize existing partitions, allowing you to create more partitions from an empty drive.

    Thank you for reading this post How to Format Hard Drive on Ubuntu at Tnhelearning.edu.vn You can comment, see more related articles below and hope to help you with interesting information.

    Related Search:

    Related Posts

    How to Create Curved Text in Photoshop
    How to fall asleep faster
    How to Install FBReader to Read eBooks

    Category: How To

    Previous Post: « How to handle a watch that is in water, steaming is very simple at home
    Next Post: Should I buy a battery drill or an electric drill? »

    Copyright © 2025 · Tnhelearning.edu.vn - Useful Knowledge