How to Recover Unallocated Space on USB Flash Drive ?

Case1 : How to recover your pen drive in windows

Issue with pen drive

My pen drive is 16 Gb but now it is showing only 6kb

How to Repair it.

  1. Press start button search for cmd and enter
  2. You will see terminal on your screen

Type in terminal –

diskpart

You will see popup on your screen , continue it by selecting yes option

New terminal (diskpart) will open , this is where you will repair your pen drive

Type these commands one by one

List disk

It will list all disk and partition available on your system

Now select your pen drive



##select the number mentioned in front of your pen drive

select disk 3

Now check once again that you have selected the correct disk, otherwise you will delete the wrong partition fro your system
## * will now be mentioned in front of selected partition

list disk

After confirming it type it

clean

once again

clean

After cleaning process

create partition primary

Case 2: Recover Pen drive space using Linux

  1. Insert the Pen drive
  2. Open Terminal and Type
lsblk

You will see the list of disk , partition that are mounted on this system

3. The pen drive usually mounted as last because mounting talk place alphabetically so most probably my system been mounted on sda (usb is mounted on sdb)

sudo mkfs.fat /dev/sdb

One message will popup ie. mkfs.fat: Device partition expected, not making filesystem on entire device ‘/dev/sdb’ (use -I to override)

4. Final command will be like this.

sudo mkfs.fat -I /dev/sdb

 

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.