Basically, I am doing various tests with Linux/BSD and USB booting at the moment.
I had a live CD for a firewall that offered to partition a (hard) disk. I tried to use my flash drive for this - It is a 1GB memory stick and in FreeBSD, The image I had stated it needed to format a swap slice of 8GB - I clicked next and got an exception in the installer about out of bounds... next thing I know, I can't use the drive at all.
Previously, going to
diskpart on Windows and simply issuing the
clean command wipes the partition and I can reformat/partition - however, I keep getting read only errors:
Sticking the disk in shows :
Trying to format shows :
Going in to diskpart shows the following:
DiskPart has encountered an error: The media is write protected. See the System Event Log for more information.
Trying to look at the flags manually shows:
DISKPART> attributes disk Current Read-only State : Yes Read-only : No Boot Disk : No Pagefile Disk : No Hibernation File Disk : No Crashdump Disk : No Clustered Disk : No DISKPART>
I have tried to manually clear the flag through
attributes disk clear readonly, and despite success, I guess this relates to the main read-only flag and not the current one...
DISKPART> attributes disk clear readonly Disk attributes cleared successfully. DISKPART>
I have only used this USB stick a few times and I just can't (or don't want to) believe it went faulty this quick.
I have not tried any formatting/partitioning in BSD as it is beyond me - but that is where it was created.
Can anyone recommend anything? Or is the disk just damaged?
What makes me think this is salvageable is that I have had a lot of USB drives go bad over the years, however, they usually become completely invisible - either nothing happens when you connect or it is the equivalent of sticking a USB card reader with no media in (you see a new device, but not disk mounted)... I have NEVER seen a disk actually state the capacity and seem ok, but just not read.
In addition, what I did just doesn't seem that much out of the ordinary!
Anyway... crossing my fingers.