You are not logged in.
Hello,
I'm trying to format my USB stick but it is read-only.
# dd if=/dev/zero of=/dev/sdc
dd: failed to open '/dev/sdc': Read-only file systemIt also apparently has weird data on it. Don't know why but it doesn't look normal.
/dev/sdc contains `BIOS (ia32) ROM Ext. (85*512) instruction 0xaa523100' dataAny help? I know this isn't specifically ArchLinux but I thought it would be a good place for help.
Thanks.
Offline
I know this isn't specifically ArchLinux but I thought it would be a good place for help.
Ifff you're actually running archlinux, otherwise we can't help you because wdk what weird system config you might face and usually you won't either.
Unplug the key, run
dmesg -wre-plug the key and post the dmesg tail it generates.
Offline
Yes I am running Arch Linux. It's just not specifically a problem with Arch I don't think.
Offline
[ 391.313907] sd 4:0:0:0: [sdc] Write Protect is onAssuming the thing doesn't have an actual switch that's a self protection measure.
The stick is "broken", no longer safe to write (according to its firmware) and set itself to readonly so you can at least save the data on it.
It'll likely be unwritable on any system.
On a remote chance, reboot. But I'd not hold my breath for that.
Offline
Yeah. No switch on the USB. Must be broken.
Thanks for the help!
Offline
Before you throw the stick away perhaps try
# hdparm -r0 /dev/sdX(Replace X with the correct letter for the USB stick, do not add a partition number.)
Jin, Jîyan, Azadî
Offline