How to format a readonly USB stick on Mac OS X

  1. Open Terminal
  2. Enter the following: diskutil list
  3. Check which disknumber the USB-stick has. (disk0 or disk1 or disk2 etc)
  4. Enter the following: diskutil unmountDisk /dev/Disk# (Disk# = disk0 or disk 1 etc – see step 3)
  5. Open Disk Utility
  6. Click on the USB-stick
  7. Open the Erase-tab
  8. Choose the format  you want (Mac OS Extended(macosx)/ FAT (windows))
  9. Click the Erase-button
  10. Once the erase is done, remove en replug the USB-stick into your Mac