[ad_1]
Suppose I’ve a full TimeMachine backup of a newly put in and configured Mac OS. No vital knowledge but.
I need to take a look at catastrophe restoration from the state of affairs of complete bodily loss. I do not need to destroy the Mac for actual and get a brand new one, so I have to emulate the state of affairs that the Mac is now the substitute with an empty onerous drive.
How to do this?
About 10 years in the past I’d simply do one thing like:
sudo dd if=/dev/zero of=/dev/disk0 rely=128 bs=1M
On fashionable, cutting-edge Macs, nevertheless, I’m not even positive if that may work (perhaps there are some belts & braces towards doing it even for root, or perhaps it is not going to really wipe the info on the very underlying bodily drive, I do not know).
The disks look this:
sudo diskutil listing
/dev/disk0 (inside, bodily):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.3 GB disk0
1: Apple_APFS_ISC Container disk1 524.3 MB disk0s1
2: Apple_APFS Container disk3 494.4 GB disk0s2
3: Apple_APFS_Recovery Container disk2 5.4 GB disk0s3
/dev/disk3 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +494.4 GB disk3
Bodily Retailer disk0s2
1: APFS Quantity Macintosh HD 10.3 GB disk3s1
2: APFS Snapshot com.apple.os.update-... 10.3 GB disk3s1s1
3: APFS Quantity Preboot 5.4 GB disk3s2
4: APFS Quantity Restoration 939.8 MB disk3s3
5: APFS Quantity Knowledge 30.0 GB disk3s5
6: APFS Quantity VM 20.5 KB disk3s6
So, learn how to wipe my Mac to check catastrophe restoration?
[ad_2]