Technology computers-hardware

How to Format a USB Flash Drive in Linux

    Using mkfs

    • 1). Plug your flash drive into a USB port.

    • 2). Unmount the flash drive if it automatically mounts itself upon insertion. In a root shell, type "umount /dev/sdb1" without the quotes. If necessary, replace "sdb1" with the name Linux assigns the flash drive.

    • 3). Choose a file format for your flash drive. If you plan on occasionally using the drive with a Windows system, you will want a vfat format.

    • 4). Type "mkfs -t vfat /dev/sdb1" without the quotes. This tells the computer you wish to format /dev/sdb1 (the USB drive) with a vfat file system.

    • 5). Watch the readouts in your root shell. When it indicates it is done, your drive is formatted.

    Using gparted

    • 1). Type "gparted" in a root shell.

    • 2). Select "/dev/hdb1" from the box in the upper-right corner of the gparted display.

    • 3). Unmount the flash drive if gparted indicates it is mounted.

    • 4). Right-click on the display line for /dev/sdb1. Select "Format to," then the format you want for your drive.

    • 5). Click "Apply."

    • 6). Watch the gparted screen. It will let you know when the operation is complete.

SHARE
RELATED POSTS on "Technology"
How Can I Tell Which Processor I Have in My Computer?
How Can I Tell Which Processor I Have in My Computer?
Canon D420: A Great Choice
Canon D420: A Great Choice
How to Find Out What DirectX You Have
How to Find Out What DirectX You Have
How to Upgrade an Existing Computer
How to Upgrade an Existing Computer
How to Remove a Previous Owner from a Dell Computer
How to Remove a Previous Owner from a Dell Computer
The New Single Tank Replacement Technology Introduced by Canon
The New Single Tank Replacement Technology Introduced by Canon
How to Determine the FSB
How to Determine the FSB
How Do I SSH Into My Laptop From My Desktop?
How Do I SSH Into My Laptop From My Desktop?
How To Remove Programs from your Windows Mobile PDA – De-clutter Your PDA
How To Remove Programs from your Windows Mobile PDA – De-clutter Your PDA
How to Change a Live ID Password
How to Change a Live ID Password
What Is a Torrent Tracker Error?
What Is a Torrent Tracker Error?
How to Start a Linux Computer Business
How to Start a Linux Computer Business
The HP Compaq Slimline Reviewed
The HP Compaq Slimline Reviewed
Understanding Basic Terms in Indoor Fiber Optic Cable Installation
Understanding Basic Terms in Indoor Fiber Optic Cable Installation
How to Identify Reverse Proxy Servers
How to Identify Reverse Proxy Servers
How to Troubleshoot Computer Headphones
How to Troubleshoot Computer Headphones
How to Change Hard Drives in a Sony Vaio Laptop
How to Change Hard Drives in a Sony Vaio Laptop
Sell Your aged pc to Offset Your New One
Sell Your aged pc to Offset Your New One
How to Repair Dell Laptop Hinge Parts
How to Repair Dell Laptop Hinge Parts
How to Use 2 Hard Drives Together
How to Use 2 Hard Drives Together

Leave Your Reply

*