On 25/06/2021 16.32, Dave Howorth wrote:
On Fri, 25 Jun 2021 16:00:13 +0200 Per Jessen
wrote: Dave Howorth wrote:
...
Thanks everybody so far.
Per, yes, I will try it in another camera.
Carlos, yes sdc is the dodgy SD card. I'm not that gaga yet! :)
Good :-)
Josef, hmm maybe. See below.
jdd, Why does it want to be root, to read a device mounted under my ownership?
Anyway, I tried to mount the card again and this time it succeeded. But there are some read errors. An ls starts
$ ls /run/media/dhoworth/700A-8EF3/DCIM/100_BTCF/ ''$'\036\036\036\036\036\036\036\036''.'$'\036\017' IMG_0031.MP4 IMG_0032.MP4 ... IMG_0087.MP4 ' '$'\036\036\036\036\036\036\036''.'$'\036\017' çç≈ì ç.µ çç≈═ ç.µ çç ì ç.µ çç┐ ç.µ çç≈ ç.µ çç≈ ç.µ çç≈ ç.µ ╟ç┐ ç.τ etc etc
Does photorec work better than e.g. dd? And again, why does it need to be root?
Because it accesses the raw /dev/sdc device, not the mount. As you were able to mount the device, make a copy of the files somewhere else now. Then you will possibly need to do an fsck, but if the card is finished, it may refuse the write operation. Then you would need to make an image of it with dd, and do the fsck on the image, not the original. Finally, photorec might be able to recover some lost photos. -- Cheers / Saludos, Carlos E. R. (from 15.2 x86_64 at Telcontar)