Thursday, July 28, 2016

Format Pen Drive

Environment :  Mint Linux

Step 0 : Plug the PEN drive to your Linux distribution

Step 1 : Identify mount points of disks
Command 1 : sudo fdisk -l


WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1   976773167   488386583+  ee  GPT
Partition 1 does not start on physical sector boundary.

Disk /dev/sdb: 15.7 GB, 15733161984 bytes
64 heads, 32 sectors/track, 15004 cylinders, total 30728832 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x51585bc4

Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *          64     2054143     1027040    6  FAT16


Step 2 : Un-mount the PEN drive
Command 2 : sudo umount /dev/sdb


Step 3 : Format the PEN drive with prefered file formate.
Command 3 : sudo mkfs.vfat -I /dev/sdb






No comments:

Post a Comment