I have an SD card and sone day I discovered that it was read only. I checked the lock on the side of the card and it was off (if it is on, then the card will be read only, no matter what you do with our OS). This problem also applies to thumb drives, etc (though probably not the lock thing) - any FAT formatted drives.
Using Ubuntu 8.04, though it would probably apply to all versions of Linux
The problem could lie with removing the SD card before it is ready.This corrupts the drive and Linux does not want to corrupt it further, so it mounts it as read only.
Fix
Insert the SD card (or other drive). Then run
mount
The last line should be the last device connected. it should start with
/dev/<something>
That is the device name.
Now unmount the drive.
Then run
sudo fsck /dev/sde1 -y
Explanation of command:
-- "sudo" - to run the command as super user
-- "fsck /dev/sde1" - check and fix the media (replace /dev/sde1 with the device name - /dev/<something> - you found out earlier)
-- "-y" make sure it fixes the drive.
Once it finishes, the device should now mount as read-write.
| < Prev | Next > |
|---|













