You are not logged in.

#1 2008-01-06 11:18:23

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

SD Card read only [Solved]

Hi,

Do not think its an Arch related problem but I have an SD Card which will only mount read-only

mount: block device /dev/sdh2 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/sdh2,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

It states card is write-protected it not write locked, of course not being able to write to the card I cannot reformat it.

Just wondered if card was faulty? or can I repair the filesystem on it? [ext3]

Thanks

MrG

Last edited by Mr Green (2008-02-03 09:08:31)


Mr Green

Offline

#2 2008-01-06 13:03:48

luca
Member
From: Rome
Registered: 2005-10-30
Posts: 280

Re: SD Card read only [Solved]

Hi Mr Green,
you can try with ddrescue (it's in extra repository):
http://www.gnu.org/software/ddrescue/ddrescue.html

Offline

#3 2008-01-06 14:47:03

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: SD Card read only [Solved]

Wow thanks for that seems to be able to read from device not sure if it will repair it..../me reads manual

managed to read data off device and use a loop to mount to a directory

only thing is I still have no access to device I really hope its not faulty ;-(

Last edited by Mr Green (2008-01-06 14:52:47)


Mr Green

Offline

#4 2008-02-03 09:08:12

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: SD Card read only [Solved]

Ok I stuck card into a new digital camera and it said card was unreadable asked if I wanted to format it and it now works fine :-)


Mr Green

Offline

Board footer

Powered by FluxBB