MicroSD card mounts read-only
darkweasel
darkweasel at euirc.eu
Tue Dec 30 17:28:47 UTC 2008
Jason Crain schrieb:
> On Mon, December 29, 2008 2:51 pm, darkweasel wrote:
>
>> jackie wallen schrieb:
>>
>>> you could try:
>>>
>>> try something like this:
>>>
>>> dev/sdc2 /media/card auto user,noauto,exec,rw,umask=0000 0 0
>>>
>>> if that doesn't work do you know what format the card is in? i know it's
>>> crazy but if it was formatted on a MAC you'll need to reformat it
>>> because Linux has a heck of a time mounting MAC formatted media rw.
>>>
>>>
>> Doesn't work. It was formatted with a Nokia 5300 mobile phone, which
>> when formatting also removed all partitions for some reason (but it
>> didn't work either when it had one, i.e. as I got it from the factory).
>> But I cannot format or partition it from Ubuntu - GParted reports it's
>> read-only.
>>
>
> Make sure you are root when using gparted.
Actually the system doesn't even allow me to run it without root.. ;)
> A couple more things: After
> you plug in the card, check the last few lines from the "dmesg" command.
> Linux may change it to read only if it encounters errors from the device.
>
[31788.888650] sd 6:0:0:3: [sde] 3842048 512-byte hardware sectors (1967 MB)
[31788.893145] sd 6:0:0:3: [sde] Write Protect is on
[31788.893155] sd 6:0:0:3: [sde] Mode Sense: 23 00 80 00
[31788.893162] sd 6:0:0:3: [sde] Assuming drive cache: write through
[31788.898145] sd 6:0:0:3: [sde] 3842048 512-byte hardware sectors (1967 MB)
[31788.902520] sd 6:0:0:3: [sde] Write Protect is on
[31788.902530] sd 6:0:0:3: [sde] Mode Sense: 23 00 80 00
[31788.902536] sd 6:0:0:3: [sde] Assuming drive cache: write through
[31788.902546] sde:
> Also try running "mount" with no arguments. It should show you if the
> device is mounted read only (ro)
>
>
Yes, it does.
/dev/sde on /media/card type vfat
(ro,nosuid,nodev,umask=0000,user=darkweasel)
More information about the ubuntu-users
mailing list