Mojave: dd: /dev/disk0: Operation not permitted

RIN67630

RIN67630

Aktives Mitglied
Thread Starter
Dabei seit
13.09.2021
Beiträge
5.110
Reaktionspunkte
2.180
Hi,
how to clone the complete disk0 to disk3?

the usual dd command returns


Code:
sudo dd if=/dev/disk0 of=/dev/disk3 bs=128m conv=noerror,sync

dd: /dev/disk0: Operation not permitted
 
disk0 is still mounted? If it is your start disk, you need to start from an external medium (usb), afaik.
 
  • Gefällt mir
Reaktionen: dg2rbf
Also you need to enable „full disk access“ in system preferences - security - privacy.
 
  • Gefällt mir
Reaktionen: ruerueka und dg2rbf
that means I have first to create a start disk?
DD in linux is not that restrictive. It uses shadowing techniques to read from a mounted drive.

How to create such a start disk?
 
  • Gefällt mir
Reaktionen: dg2rbf
How to create such a start disk?
now with 3 drives
-a tiny basic Mojave on a Stick
-the source disk
-the destination disk
I could finally manage to dd Disk0 onto Disk5

That was not really easy, nor intuitive...
 
  • Gefällt mir
Reaktionen: ruerueka
Zurück
Oben Unten