Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
A friend of mine has a USB Flash drive that he uses on his mac that recently stopped working. OS X would give him the error: "You have inserted a volume that mac os cannot read." I then tried it on windoze and on linux and they both recognized it but wouldn't reformat it because it is "write-protected." I checked the slot on the side of the drive and it is in the unlock position. What can I do (qtparted only mounts it as read only) so I can reformat this drive and use it?
More info here: http://www.videohelp.com/forum/viewt...126525#1126525
Thanks.
Garibaldi
i hope it should be mounted and u may be able to format it.
or do as u like.
Thanks for the quick reply! My hd install is Slackware, & I'm guessing that it comes with usb-core and <usb-chi> installed. I didn't use that to mount it in linux however because I could just use the Knoppix 3.6 live-cd for this since once I give the flash drive back to my friend I won't have any use for the extra line in fstab, and its easier because Knoppix autodetects the drive. So in Knoppix I opened up QT parted in a terminal (check out the link I provided above for a complete error) and it said that it could only mount /dev/sda as read only. I then tried to create a new allocation table on the drive but it gave me an error. So I don't have as much trouble with recognizing it as accessing data on it because I need to reformat it to reset the permissions. I tried changing permissions for the drive in KDE as well but that also gave me an error.
One more thing, right now I'm in the Slax live-cd, which didn't auto detect the usb flash drive. So I went to a konsole and tried dmesg to see about my connected devices, and here is the error it gave about /dev/sda:
]
Quote:
sda: Unit Not Ready, sense:
Info fld=0x0, Current 00:00: sns = f0 2
ASC=3a ASCQ= 0
Raw sense data:0xf0 0x00 0x02 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x3a 0x00 0x00 0x00 0x00 0x00
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0x0, Current sd00:00: sns = f0 2
ASC=3a ASCQ= 0
Raw sense data:0xf0 0x00 0x02 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x3a 0x00 0x00 0x00 0x00 0x00
sda : block size assumed to be 512 bytes, disk size 1GB.
sda: test WP failed, assume Write Enabled
/dev/scsi/host1/bus0/target0/lun0: I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
Try leaving it unmounted and run cfdisk /dev/sda - reformatting it may fix it.
I tried that, cfdisk could only read it, not write. So any way that you look at it for some reason this USB flash drive will only mount read only- why? This makes no sense. Is there some way I can bypass everything and completely corrupt it so I can format it and override this mysterious write protection, which exists for no reason (the button is in the un lock position and it was working fine and then one day it would only mount read only)??
Ihave had the same problem. does the flash drive have a oti2168 controller? mine does and i can only format it with the software that came with it, if i try any other way i get the same errors. you can download the software and win98 drivers here . never mind the brand, as long as it's the same controller it will work. if it's a different controller you will have to find out which one it is and find corresponding software/drivers
Ihave had the same problem. does the flash drive have a oti2168 controller? mine does and i can only format it with the software that came with it, if i try any other way i get the same errors. you can download the software and win98 drivers here . never mind the brand, as long as it's the same controller it will work. if it's a different controller you will have to find out which one it is and find corresponding software/drivers
I tried this but I have XP so it won't install. I even changed the compatibility to 98 but it still wouldn't install. Do you have any other suggestions? Maybe I'll try and find a computer with win 98.
Quote:
You could try
dd if=/dev/zero of=/dev/sda
to completely corrupt it. . .
So would this corrupt the drive and fix the read-only problem, so I could then reformat it, or would it just require a reformat in which case I wouldn't have accomplished anything?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.