To format
a removable disk cartridge in FAT32, on Linux platform:
Attach the drive to a Linux box and run fdisk -l. Verify that OS can
see the device path. If the device is visible, you will be able to see the device path
(for example, like
/dev/sdb).
Run the fdisk command (for example,
fdisk /dev/sdb) to get the list of option available on the device. Press
'm' to get the list. Press
'p' to see the partition table of the device.
If there is no partition present in the device go to Step 5.
If partitions are present, delete the partition by pressing ‘d’.
Press ‘p’ and verify that partition got deleted.
Press 'n' to add
new partition. Press p to select primary partition. Enter partition number, first cylinder and Last cylinder. You can keep
the default values (specified in bracket) for these fields.
Press 'p' to print the partition table and verify that partition got
created. By default Linux partition gets created as indicated by system
column when you print the partition table.
Select FAT32 to change the Linux partition to FAT32. Press ‘l’ to see the list of hex codes corresponding to partition system
id. Press ‘c’ to select WIN95 FAT32 (LBA).
Press ‘p’ to see the partition table and verify that the system type and
system id has been changed to reflect FAT32
Press ‘w’ to write partition table to disk and exit.
Run fdisk –l and verify that a partition
(for example, /dev/sdb1) has
been created.
Run the mkfs command
(for example, mkfs –t vfat /dev/sdb1) to make the FAT32 file system.