I want to format my SD card using Ubuntu, for this I follow this tutorial
After typing df command , I got list of storage devices.From here I can see my SD card name is /dev/sdb5 so I replace /dev/sdb1 with /dev/sdb5 in all next commands.Now umount command works fine but after this when I type mkdosfs -F 32 -v /dev/sdb5
I am getting these lines:
mkdosfs 3.0.12 (29 Oct 2011)
mkdosfs: unable to open /dev/sdb5: Read-only file system
so, how to fix this.
sudo fdisk /dev/sdband just delete all partitions and recreate them?