[SOLVED] Why doesn't fdisk show full capacity of my flash drive?
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Why doesn't fdisk show full capacity of my flash drive?
I have a 4GB Imation clip flash drive that has a physical write protect switch and also came with Imation Lock software. I had set up a private partition of appr. 3.5GB leaving a 500MB public partition through Windows 7. I then plugged into my linux Distro (Backtrack 5R3 x64 w/ Gnome) and attempted to format the public partition to ext4. It appeared to have worked.
I plugged back in to Windows 7 and was unable to gain access to my private partition via Imation Lock software. Disk management also showed the full capacity of the drive to be 500MB. I then plugged back into Backtrack and typed fdisk -l into the terminal and it too shows the full capacity of the drive to be 500MB.
Why can I not see the entire capacity? Why will formatting not, in either Windows or linux, erase or restore the whole drive?
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 13 102400 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sdb2 13 30401 244089856 7 HPFS/NTFS
/dev/sdb3 30402 60802 244188422+ 7 HPFS/NTFS
I find gparted and gsmartcontrol, will often give clues as well.
USB drives are often sold with incorrect capacity and one of Linux programs may show it.
Trev
The capacity is/was 4gb when I first got it. The 3.5gb private partition which I created through Imation Lock software seems to have rendered that partition unrecognizable after formatting the remaining 500mb public partition to ext4 via gparted.
I am confused as to how it is possible that a partition <i>seems</i> to have been physically removed from the disk.
I've found Linux OS's infinitely more capable than Windows at w/r disks that Windows just can't but I have never seen or heard of this issue.
I finally got Imation support to help me with the issue. They sent me old versions of the Imation Lock software that were not available for download online and after trying a few I was able to gain access to the private partition. For anyone else that has this flash drive or this issue I highly recommend deleting Imation Lock software and using Truecrypt.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.