31 Mar 2015
Recovering unallocated space of a USB flash drive...!!
Today I played with the latest SUSE Linux Live. I had not have a
DVD drive and used USB flash drive instead. I wanted to reformat my
flash drive, but suddenly found it that it had not been possible. The
most of the disk space had been unallocated, and my Windows 8 did not
allow me to use it.
Unfortunately Windows does not support Fdisk anymore. But there is another good command line tool to solve this problem. The tool’s name is DiskPart. I would say it is the next generation of Fdisk tool. DiskPart provides you information about your partitions and volumes, allows you to delete and create partitions, extend NTFS volumes, etc.
Let’s remove unallocated space. First of all run Windows command line and type diskpart in the command prompt. Windows will ask you for Administrator permissions to run the tool. Then run list disk command to find your USB flash disk’s number. It should be the same as disk’s number in Computer Management tool. It was 1 in my case. Next you should chose the disk to work with. Type select disk <disk number> command, e.g. select disk 1. The next step is to clean all volumes and partitions on the disk. Use clean command to do that. The last step is to create a primary partition. You can do that using create partition primary command. That’s all. You should be able to format your flash disk now.
This is how I removed unallocated space on my machine:
Unfortunately Windows does not support Fdisk anymore. But there is another good command line tool to solve this problem. The tool’s name is DiskPart. I would say it is the next generation of Fdisk tool. DiskPart provides you information about your partitions and volumes, allows you to delete and create partitions, extend NTFS volumes, etc.
Let’s remove unallocated space. First of all run Windows command line and type diskpart in the command prompt. Windows will ask you for Administrator permissions to run the tool. Then run list disk command to find your USB flash disk’s number. It should be the same as disk’s number in Computer Management tool. It was 1 in my case. Next you should chose the disk to work with. Type select disk <disk number> command, e.g. select disk 1. The next step is to clean all volumes and partitions on the disk. Use clean command to do that. The last step is to create a primary partition. You can do that using create partition primary command. That’s all. You should be able to format your flash disk now.
This is how I removed unallocated space on my machine:
This process can help u with out doing all above things:
Step 1: Run -> CommandPrompt ->
Step 2: Type diskpart ->Enter
Note: If u got "acess denied" and next time make it as run has admin
it will open a new commandprompt(CMD) .
Step 3: Type list disk ->Enter Note: (Find out the allocated number of your disk)
Disk ### Status Size Free Dyn Gpt -------- ------------- ------- ------- --- --- Disk 0 Online 298 GB 0 B Disk 1 Online 8509 MB 4619 MB
Step 4: Type select disk X ->Enter Note: (If X is the number for your drive)
Step 5: Type clean (or) clean all ->Enter Note: (If you want to create partition in desired disk continue next step, otherwise ignore it.)
Step 6: Type create partition primary ->Enter
If your having any issues fell free to mention in comments with in a couple of i will give the solution