9 years, 2 months ago.

Mbed filesystem goes into readonly mode

Hi,

Sometimes my mbed is mounted on my computer as read only filesystem. Usually I just disconnect and reconnect and it works.

But from today, it seems that every time I can access the folder, I can only remove one file before it goes back to read only mode.

I have tried http://developer.mbed.org/questions/278/mbed-mounts-on-linux-as-a-read-only-file/ But fdisk gave me an error while doing the command d : "No partition is defined yet! Could not delete partition 1". However the p command does find the partition...

Do you have any idea ?

Regards

2 Answers

6 years, 8 months ago.

sudo mount -o remount,rw '/media/<user_name>/MBED'

Then navigate to the MBED dir and remove as many files as you can. You will need to use sudo for this. It may take many times as the MBED will remount itself.

Edit, credit where it is due: https://askubuntu.com/questions/47538/how-to-make-read-only-file-system-writable#47547

9 years, 2 months ago.

You can try another USB cable. And yes that sounds silly, but I have had it work for me.

Otherwise try up or downgrading your firmware.