How to disable Read-only file system on ubuntu mate? (raspberry-pi 4)

Hey there,

I am using a micro SD card on my Rasperi-Pi 4 and I have ubuntu mate installed on it.
Seems like it has been set to read-only file system as I cannot format this SD card even with Gparted on a different linux machine.
The behavior of this is very similar to this article:

I can boot up the ubuntu and create new files and when I reboot it, it's gone.
I tried to use commands like sudo mount -o remount,rw /boot but it seems like it's not doing anything.
I also don't remember enabling it in the first place.

Does anyone know how to reverse it?

Thanks,

Hi and welcome

Try this way
From a different linux machine...
Open gparted and go to Device --> create new partition table on the micro sd card
Once this is done select the formatting type and then apply

I think this will work

Regards