How to format usb drive on linux how to#
First we will see how to use terminal method to format USB drive. Warning: please be careful with this device naming system, many people accidentally destroyed their own hard drive data because they confuse the device names. Method 1: Format USB Drive or Pen drive Using Terminals. So the third drive inserted would be /dev/ sdc. It is simply because /dev/ sda is already my first hard drive, and /dev/ sdb is already my second hard drive. In my system, the USB drive is in /dev/sdc and the partition is in /dev/sdc1. We want to format it to fat32 filesystem.
We assume that the USB drive already formatted as ext4 filesystem. This will refresh KDE Partition Manager interface so you can see your USB flash drive entry on the left panel.Ĭarefully, select USB drive entry on the left panel to see your drive volume entry on the right panel. Then open menu View > Refresh Devices (F5). Warning: don't touch any other drive entry if you don't want to format it. List of hard disk drives available shown on left panel. This picture shows on right panel, some partitions of my second hard disk drive (located at /dev/sdb). sudo wipefs -all -force /dev/sdb /dev/sdb: 5 bytes were erased at offset 0x00008001 (iso9660): 43 44 30 30 31 /dev/sdb: 2 bytes were erased. Before we format our usb device, we’ll first erase filesystem or partition-table signatures which may exist on the device.
How to format usb drive on linux password#
Enter your root password then the KDE Partition Manager should appear. Confirm the name of an SD card, Flash drive to be formatted. A dialog will ask you for administrative password. Open Kubuntu menu > search for kde partition > click KDE Partition manager. We have no responsibility for any damage you may get by following these instructions. False partitioning may delete whole your hard disk drive(s) data. You must know exactly what to do, carefully read partition or volume location, carefully read every message showing, before doing any single thing. Preparation Warning: partitioning or formatting is a dangerous activity. Here, we will give an example about how to format a USB flash drive with KDE Partition manager. We can do many partitioning stuffs like GParted with it. As opposed to GNOME family system, Kubuntu has KDE Partition Manager as replacement for GParted.