I lent my USB stick to a guy for a job the other day. Apparently his Win98 box wanted to install drivers for it to work, so he pulled it before Wintendo (anything < 2000) could get to doing its stuff.

Now I get

SuicidalPuppy martoni # mount /mnt/usb/
mount: block device /dev/sda is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/sda,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

And

SuicidalPuppy martoni # dmesg |tail
...
FAT: bogus logical sector size 255
VFS: Can't find a valid FAT filesystem on dev sda.
FAT: bogus logical sector size 255
VFS: Can't find a valid FAT filesystem on dev sda.


Googling a bit I found a few ideas how to get the USB-thingie up again.
Like:

SuicidalPuppy martoni # hdparm -r0 /dev/sda

/dev/sda:
 setting readonly to 0 (off)
 readonly     =  0 (off)
SuicidalPuppy martoni # parted /dev/sda
Warning: Unable to open /dev/sda read-write (Read-only file system).  /dev/sda has been
opened read-only.
Warning: Unable to open /dev/sda read-write (Read-only file system).  /dev/sda has been
opened read-only.

And
SuicidalPuppy martoni # dd if=/dev/zero of=/dev/sda
dd: opening `/dev/sda': Read-only file system


I'm out of ideas now - Is the last shot to go out and buy a new USB stick?

Martin S





--
Regards,

Martin S

Reply via email to