Wie kann ich ein schreibgeschütztes USB-Laufwerk in OSx El Capitan erzwingen?

Ich habe einen abgestürzten Laptop und habe die folgende Methode verwendet, um ein bootfähiges USB-Laufwerk (32 GB) zu erstellen.

hdiutil convert -format UDRW -o ~/path/to/target.img ~/path/to/ubuntu.iso

diskutil unmountDisk /dev/diskN

sudo dd if=/path/to/downloaded.img of=/dev/rdiskN bs=1m

Es funktionierte und machte einen schreibgeschützten USB, der so aussah, als wäre es eine CD. Ich möchte das jetzt rückgängig machen (in OSx), aber Disk Utility scheint das nicht zu können. Wenn ich auf "Löschen" klicke, schlägt es einfach mit

"Erase process has failed" 

Und details offenbaren

Name invalid.
Operation failed...

Gibt es eine Möglichkeit, das Formatieren dieses USB-Laufwerks (auf FAT 32 oder OSX Extended) in OSx zu erzwingen? Capitan?

Author: user714852, 2015-12-30

2 answers

Gelöst.

sudo diskutil unmountdisk force disk2

sudo dd if=/dev/zero of=/dev/disk2 bs=1024 count=1024
 11
Author: user714852,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/techietown.info/template/agent.layouts/content.php on line 61
2015-12-31 05:07:56

Meine Erfahrung: Mit SD-Karten für meinen Raspberry Pi 3 herumspielen irgendwie wurde einer von ihnen nur auf einem Mac gelesen. Ich erkannte, dass die Karte MBR formatiert wurde und OS X MBR nicht liest/schreibt, sondern GPT. Lösung:

Ich habe Gparted (Linux)

  1. Gerät>Partitionstabelle erstellen> Neue Partitionstabelle auswählen>GPT
  2. Partition>Neu>Dateisystem>fat32
  3. Partition>Format bis > fat32

Fertig

 2
Author: fanzola,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/techietown.info/template/agent.layouts/content.php on line 61
2016-11-01 01:11:38