Re: MicroSD card mounts read-only



darkweasel wrote:
Jason Crain schrieb:
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


I already tried this before.
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
open /dev/sde:Read-only file system



I'm a little late to this thread, but do we know if this card can be
written to from another OS? I mean, it's entirely possible the card
itself has gone bad. I've seen it happen before, although it's rare.

If all else fails, I'd try to fdisk it and blow away the partition on it
with brute force.

--
Frustra laborant quotquot se calculationibus fatigant pro inventione
quadraturae circuli

Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415

Call (866) ERC-7110 for after hours support

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



Relevant Pages

  • Re: SD card as HDD
    ... How SD cards cooperate with linux machines? ... You really should not install Linux to an SD card or USB ... that distro can't be easily loaded into netbook like EEE ...
    (comp.os.linux.hardware)
  • fedora-list-request@redhat.com
    ... Anybody have any experience with RAID controllers under ... >> is not found on that server. ... > If nVidia were to do something silly I could swap the card in a matter ... > the usb drives and then reboot to linux to get them working properly. ...
    (Fedora)
  • Re: redhat vs debian
    ... I think maybe in terms of video games Linux is week, ... I have UT 2003 and did successfully install it on my RH linux box. ... Finally I switched back the original video card and rebooted. ... monitor and the gforce card. ...
    (linux.redhat)
  • Re: Before I give up....
    ... I have an AGP FX5200 video card. ... Examine the motherboard for leaking capacitors. ... I use Knoppix (a Linux ...
    (alt.comp.hardware.pc-homebuilt)
  • Configuring drivers (Was: Re: Support NTFS)
    ... > Linux distribution trying VERY HARD to make Linux ... > A few weeks ago I changed my mobo, VGA and Sound card. ... The machine I removed it from had i845G built-in graphics, ... that's not supported by the i810 drivers (no, ...
    (alt.os.linux.suse)