Correct way to format USB pendrive with FAT32?

versatile 64-bit multi-user Linux distribution

Moderators: kirk, jamesbond, p310don, JakeSFR, step, Forum moderators

Post Reply
Neo_78
Posts: 381
Joined: Wed Dec 29, 2021 10:45 pm
Has thanked: 211 times
Been thanked: 9 times

Correct way to format USB pendrive with FAT32?

Post by Neo_78 »

What is the correct way to format a USB pendrive with FAT32 in Fatdog?

I assume you would have to list the device first with lsblk to identify the correct name, lets say /dev/sdb.

Do you the then simply umount /dev/sdb and format it with mkfs.vfat /dev/sdb?

Thanks!

jamesbond
Posts: 605
Joined: Tue Aug 11, 2020 3:02 pm
Location: The Pale Blue Dot
Has thanked: 99 times
Been thanked: 325 times

Re: Correct way to format USB pendrive with FAT32?

Post by jamesbond »

Neo_78 wrote: Sun Aug 13, 2023 2:08 am

Do you the then simply umount /dev/sdb and format it with mkfs.vfat /dev/sdb?

Correct. You don't need to umount /dev/sdb unless it was previously mounted.

If you like GUI, then launch Control Panel --> Disk --> Gparted, and choose the correct device from the top right corner.

tatemono
Posts: 26
Joined: Sat Oct 08, 2022 10:25 am
Has thanked: 17 times
Been thanked: 9 times

Re: Correct way to format USB pendrive with FAT32?

Post by tatemono »

Neo_78 wrote: Sun Aug 13, 2023 2:08 am

What is the correct way to format a USB pendrive with FAT32 in Fatdog?

I assume you would have to list the device first with lsblk to identify the correct name, lets say /dev/sdb.

Do you the then simply umount /dev/sdb and format it with mkfs.vfat /dev/sdb?

Thanks!

I would like to share my procedures with you for reference. I do not know whether they are correct procedures or not. They just work well for me.

[STEP 1] Plug your USB pendrive to your PC and watch your desktop. Some new drive icons emerged. Please write down their names. For example, their names could be sdX1, sdX2, sdX3, ..., where X stands for a lowercase letter.

[STEP 2]
If sdXY, where Y is a specific integer, is the partition you would like to format to FAT32, please run "fdisk -l /dev/sdX" (without any integer appended) to display information about partitions and make sure that the "Id" field of device /dev/sdXY is either "b" (for "W95 FAT32") or "c" (for "W95 FAT32 (LBA)"). If the "Id" of device /dev/sdXY is not the expected one, please run "fdisk /dev/sdX" to change the "Id" of partition "Y" of device /dev/sdX.

[STEP 3] Use "mkfs.vfat /dev/sdXY", where X is a specific lowercase letter and Y is a specific integer, to format that partition.

Post Reply

Return to “FatDog64”