Frustrating Mounting Memory card issues

Hi all,

I am having difficulties copying and deleting files from a memory card. I have a USB memory card reader which I have plugged my memory card into.

The KDE desktop immediately recognises that I have plugged in.

When trying to delete the files within the Dolphin File Manager, the error message states
cp: cannot create regular file `/media/disk/MortScript…’: Read-only file system.

I can confirm that I have assured that the so called ‘lock’ or ‘read only’ button on the memory card is not activated/on.

I can also confirm that the following settings are activated in relation to the drive when I type in the mount command
/dev/sdc1 on /media/disk type vfat (rw,nosuid,nodev,uid=1000,utf8,shortname=mixed,flush)

Please help. I would like to be able to copy and delete things to the memory card, though am uncertain as to what is causing the problem.

Thank you.

what does


say right after you insert the card?

Hi there,

Just to let you all know.

I ended up formatting the memory card. It appears that there were some file structure issues with the card.

In Windows I would normally use the scandisk or chkdsk command. What command will I need in Linux to fix this issue in future? Say to run a chkdsk on a file system which is fat32 based or ntfs?

Thank you.

For FAT/FAT32: dosfsck

For NTFS I don’t know, until some time ago there where none, due to NTFS being a obscure (closed) format. The recommendation at the time was to use native windows tools.

dmesg would have shown a message from kernel/module about read errors or such, which would make it easier to identify the problem. No need to resort to formatting at first = the windows way :slight_smile: