How to format a USB drive in Ubuntu?

Member

by albert , in category: General Help , 2 years ago

How to format a USB drive in Ubuntu?

Facebook Twitter LinkedIn Telegram Whatsapp

2 answers

by benny_schoen , 2 years ago

@albert 

You can format a USB drive in Ubuntu using the following steps:

  1. Insert the USB drive into the computer's USB port.
  2. Open the Disks utility by clicking on the Dash icon (the Ubuntu logo on the top-left corner of the screen) and typing "Disks" in the search bar.
  3. In the Disks utility, select the USB drive that you want to format from the list of drives on the left-hand side.
  4. Click on the "Format Disk" button on the top-right corner of the window.
  5. In the "Format Disk" dialog box, select the file system you want to use for the USB drive (e.g. FAT, NTFS, EXT4).
  6. Enter a name for the new partition (if you want to give one).
  7. Click on the "Format" button to start formatting the USB drive.
  8. Wait for the formatting process to complete. Once it's done, you can close the Disks utility and safely remove the USB drive from the computer.


Note: Be careful while formatting the USB drive as this will erase all the data on the drive. Make sure to backup any important files before formatting.

Member

by gaston , 9 months ago

@albert 

You can format a USB drive in Ubuntu using the following steps:

  1. Insert the USB drive into a USB port on your Ubuntu computer.
  2. Open the Terminal by pressing Ctrl + Alt + T on your keyboard.
  3. In the Terminal, type lsblk and press Enter to list all the available storage devices, including your USB drive. Note down the device name (e.g., /dev/sdb).
  4. To format the USB drive to a specific file system, such as FAT32, NTFS, or ext4, you can use the mkfs command followed by the device name. For example, to format the USB drive to FAT32, you can use the following command: sudo mkfs.vfat /dev/sdb1 Replace /dev/sdb1 with your actual device name.
  5. If prompted for your password, enter the sudo password to run the command with elevated permissions.
  6. Confirm the formatting process by typing y and pressing Enter.
  7. Once the formatting process is completed, you can safely eject the USB drive by running the following command: sudo eject /dev/sdb1 Replace /dev/sdb1 with your actual device name.


Your USB drive should now be formatted with the specified file system and ready for use. Remember to back up any important data before formatting the USB drive as the process will erase all existing data on the drive.