[opensuse] Recover a flash drive?
I bought a Geek Squad 4GB flash drive several years ago. It's one of those that have a 4MB Windows annoy-ware partition and a fat32 partition in the rest. Except that now it only has the 4MB partition. Neither Windows nor suse see the 4G partition -- not even with fdisk. I googled "flash drive format utility linux", and several subsets of those words, but found no help. I seem to remember someone saying that I could get rid of the persistent 4M annoyware by doing a dd write of some sort, but I didn't understand it at the time, and now I've lost the reference. I thought this might be a way to recover the 4G, but if the system can't see it, can it write to it? Before I toss it and buy another, can someone tell me how I might salvage this one? John Perry -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hi, you could try this (assuming /dev/sda is your flash device):
dd if=/dev/zero of=/dev/sda bs=512 count=1
cfdisk /dev/sda
mkfs.fat32 /dev/sda1
This should kill the partiontable with dd and create a new empty fat32. Regards, Johannes Am Fr 11.09.2009 08:24 schrieb John E. Perry <j.e.perry@cox.net>:
I bought a Geek Squad 4GB flash drive several years ago. It's one of those that have a 4MB Windows annoy-ware partition and a fat32 partition in the rest.
Except that now it only has the 4MB partition. Neither Windows nor suse see the 4G partition -- not even with fdisk. I googled "flash drive format utility linux", and several subsets of those words, but found no help.
I seem to remember someone saying that I could get rid of the persistent 4M annoyware by doing a dd write of some sort, but I didn't understand it at the time, and now I've lost the reference. I thought this might be a way to recover the 4G, but if the system can't see it, can it write to it?
Before I toss it and buy another, can someone tell me how I might salvage this one?
John Perry -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Johannes Müller-Lahn wrote:
Hi,
you could try this (assuming /dev/sda is your flash device):
dd if=/dev/zero of=/dev/sda bs=512 count=1
cfdisk /dev/sda
mkfs.fat32 /dev/sda1
This should kill the partiontable with dd and create a new empty fat32.
Thanks, Johannes, this worked to get my 4G back. The 4M garbage partition is still there; I suspect it's in a hard ROM rather than in flash. But I do have the 4G, and I've transferred files to and from it successfully. Thanks again, John Perry -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Johannes Müller-Lahn
-
John E. Perry