0

I have a USB stick, and I just want to format it. But when I try to do it with Nautilus or Gparted, there is an error because the USB stick file system is read-only...

I found some posts about it, and I try commands like :

 mount -o remount,rw /dev/sdx
 hdparm -r0 /dev/sdx
 dosfsck -a /dev/sdx1
 mkfs.msdos -F 32 /dev/sdx1
 mkfs.msdos -F 32 /dev/sdx1

Replacing the x of /dev/sdx by the right letter of course.

But each time, I have a message telling me that the operation is not allowed because of read-only.

How can I format my USB stick and remove this read-only mode please ?

Rémi
  • 311

0 Answers0