banner



How To Format Linux Usb In Windows

Introduction

Occasionally, it is necessary to format the USB drive (for example, when irresolute the file system or deleting data). However, many Linux users are afraid to get-go the formatting process, thinking it is either a very complicated or fourth dimension-consuming task.

In this tutorial, you lot will learn how to format the USB drive in Linux using 3 quick and unproblematic methods:

  • Terminal
  • Disk Utility
  • GParted tool
How to Format USB Drives in Linux.

Prerequisites

  • A system running Linux
  • A USB drive
  • Access to the last/control line
  • A user account with sudo/root privileges

Which File System to Use for USB Formatting?

There are many file systems in use, differing by maximum file size and operating system compatibility. The most ordinarily used file systems when formatting a USB drive are:

  • FAT32
  • NTFS
  • exFAT

Their main features and differences are:

File System Supported File Size Compatibility Platonic Usage
FAT32 up to 4 GB Windows, Mac, Linux For maximum compatibility
NTFS xvi EiB – 1 KB Windows, Mac (read-only), most Linux distributions For internal drives and Windows system files
exFAT 16 EiB – 1 KB Windows, Mac, Linux (requires extra drivers to admission) For files larger than four GB

Method 1: Format USB Using the Terminal

The easiest and fastest mode to format a USB bulldoze in Linux is through the terminal. The procedure consists of 3 steps:

  1. Locating the USB drive.
  2. Unmounting and formatting the USB bulldoze.
  3. Verifying the process was successful.

Follow the instructions below to format a USB drive using the terminal.

Step 1: Locate USB Drive

Open the terminal and run the following control:

          df        

The terminal prints out a listing of all mounted partitions and relevant data: used space, bachelor space, used space percent, and the path.

Locate the USB in the listing and notice the corresponding device. In this case, the USB drive is /dev/sdb1 .


Notation: If you are unsure of the drive designation, unplug the USB drive temporarily before running the df command again. The device that is now gone from the listing is your USB device.


Listing all partitions with df command.

Stride ii: Unmount and Format USB Drive

Unmount the USB drives before formatting. To do so, run this command:

          sudo umount /dev/sdb1        
Unmounting the USB drive.

Later on unmounting, format the USB drive using the preferred file system (replace sdb1 with the proper noun of your device):

  • To format a USB drive with FAT32 file system, utilize:
          sudo mkfs.vfat /dev/sdb1        
  • To format a USB drive using the NTFS file system run:
          sudo mkfs.ntfs /dev/sdb1        
  • To format a USB drive in accordance with the exFAT file system use:
          sudo mkfs.exfat /dev/sdb1        

Step 3: Verify USB Drive Formatting

Confirm the formatting process has completed successfully:

          sudo fsck /dev/sdb1        

A USB bulldoze with no files indicates successful formatting.

Verifying that the formatting process is done.

Method 2: Format USB Using Disk Utility

The GNOME Disk Utility is a graphical tool for partitioning and formatting storage drives in Linux.

Follow the outlined steps to format a USB bulldoze using the Disk Utility tool.

Step 1: Open Disk Utility

To open the Disk Utility:

  1. Launch the Application menu.
  2. Type "disk" in the search bar.
  3. Click the Disks icon.
Opening the Disk Utility

Step ii: Identify the USB Drive

Locate the USB drive from the left pane and select information technology. The right pane contains details virtually the drive, such as model name, size, serial number, and contents.

Locating USB drive in the Disk Utility.

Stride iii: Format the USB Drive

1. Click the gear icon and select the Format Sectionalization option from the drop-down carte du jour.

Selecting the formatting option.

2. Type the preferred proper name for the USB drive.

Optionally, enable the Erase choice to overwrite the existing data from the USB bulldoze. Cull the file organization format and click on the Next button.

Setting up the formatting options.

3. A pop-up appears with a alert message about data deletion and formatting details. Start the formatting procedure by clicking the Format button.

Warning about data deletion.

iv. The progress line displays the remaining time until the formatting procedure completes. Shut the Disk Utility when the chore completes.

Formatting progress line displaying remaining time until the operation ends.

Method 3: Format USB Using GParted Tool

Formatting via GParted takes the nearly time as it involves an boosted step – installing the tool. However, information technology is a handy tool that you can use fifty-fifty after you have finished formatting the USB drive.

Follow the steps beneath to format a USB bulldoze using the GParted tool.

Stride 1: Install GParted Tool

1. Open the terminal and install the GParted tool using this control:

          sudo apt install gparted                  

Confirm the installation by pressing y and so hit Enter. Expect until the process completes.

Installing the GParted tool.


ii. Run the GParted tool with:

          sudo gparted        

The terminal loads the GParted domicile screen.

The GParted home screen.

Stride 2: Start the Formatting Process

1. Select the /dev/sdb option from the drop-downwards bill of fare at the tiptop of the GParted dwelling screen.

Selecting the USB drive in the GParted tool.

ii. Right-click the /dev/sdb1 partition and select Format to. Choose the preferred file system from the listing to continue.

Selecting formatting settings in GParted tool.

Stride 3: Start the Procedure

i. Click the dark-green checkmark button to employ all operations.

Applying formatting operation.


2. A pop-up appears with a alert message nigh data deletion. Click Apply to continue.

A pop-up containing warning message.


The GParted formats the drive. The time required for the formatting process varies depending on the size and type of the USB drive.

Formatting process.


3. Click the Close button to exit the menu when the operation completes.

Closing formatting menu in GParted tool.

Conclusion

In this commodity, you learned how to format a USB bulldoze in Linux using several methods. Additionally, we went through the main features and differences between the 3 most usually used file systems.

Was this article helpful?

Yes No

Source: https://phoenixnap.com/kb/linux-format-usb

Posted by: hookerseepearrough.blogspot.com

0 Response to "How To Format Linux Usb In Windows"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel