I am trying to delete some files from my microSD card on my Ubuntu 16.04 (I am using MircoSD adapter in order to access my files). However the file system has been changed to 'read-only' and hence I can't delete the files in it.
I tried remounting it read-write (after I read it from here):
sudo mount -o remount,rw '/media/tuxication/MyDrive'
But it says:
mount: cannot remount rw read-write, is write-protected
I tried the other methods mentioned here but none seems to work.
Just to aid you with further details, if I want to format the microSD, it says:
Error wiping device: Command-line `wipefs -a "/dev/mmcblk0p1"' exited with non-zero exit status 1:
wipefs: error: /dev/mmcblk0p1: probing initialization failed: Read-only file system
(udisks-error-quark, 0)
Any idea how I might solve this?
disk
group, but myself I have not had an issue with it. I guess you could try it and see. The command to add yourself to it issudo usermod -a -G disk <username>
– Terrance Sep 10 '16 at 00:01chown USER:USER -R /dev/mmcblk0p1 && chmod 777 -R /dev/mmcblk0p1
. – mohammads May 25 '18 at 18:25