Cannot read files from SD card which works fine under windows
I have a SanDisk 256GB extreme pro SD card for my camera. It works perfectly fine with the camera and with windows, but when I instert it into the card reader on linux (fedora 38) I can't copy any files from it:
cp: Fehler beim Lesen von '.../DCIM/112_FUJI/DSCF2001.RAF': Eingabe-/Ausgabefehler
Loosely translated:
cp: error while reading from '.../DCIM//112_FUJI/DSCF2001.RAF': input/output error
the card is automatically mounted and shows up in the file explorer.
@BentiGorlich
It's a bit weird, it looks like the output of fdisk -l /dev/sdg indicates that your SD card is formatted with an HPFS/NTFS/exFAT file system, which is not the typical format for camera SD cards. Camera SD cards are usually formatted as FAT32 or exFAT.
I recommend that you backup everything on that sd card and reformat it to exfat or fat32 yourself on a linux system.
I just reformatted it on my linux machine. So I choose exFAT again, because thats what it was before, that's what I know the camera can handle and I have the exact same problem... I think I just surrender and import my photos on my laptop all the time...
The partition type after a format is btw still NTFS/exFAT/HPFS. So that is just a compatibility thing for it to work on basically all systems I think...
Try wiping the drive and then reinserting it. If it still looks the same you either have a failing card or its been put in read only mode at a hardware level.