Re: MicroSD card mounts read-only



On Tue, December 30, 2008 11:28 am, darkweasel wrote:
Jason Crain schrieb:
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)

Try unmounting and checking the filesystem:
sudo umount /dev/sde
sudo fsck.vfat -r /dev/sde

And then see if you can mount it writable:
sudo mount /dev/sde /media/card -o rw,user=darkweasel,umask=0000

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: MicroSD card mounts read-only
    ... check the last few lines from the "dmesg" command. ... Linux may change it to read only if it encounters errors from the ... sudo umount /dev/sde ...
    (Ubuntu)
  • kernel message display
    ... How to see the logged kernel messages in windows like that of "dmesg" ... command in linux. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: dmesg
    ... >> I am new to LINUX and I want to dmesg my computer to see its hardware ... I tried the option of the command but did not find anything ...
    (comp.os.linux.hardware)
  • Re: Permission
    ... I would suggest you use the command ... sudo umount /media ... to make it a single mount. ... can then access both partitions already. ...
    (Ubuntu)
  • permission
    ... I would suggest you use the command ... sudo umount /media ... to make it a single mount. ... sudo mkdir /media/disk/$USER ...
    (Ubuntu)