![]() We actually need to erase and re-create the GPT partition with the correct type UUID for an Apple_Boot partition.ĭuring running these commands, OS X might re-mount the volumes whenever they change, which is annoying, as you have to diskutil unmount them before you can run gpt again.ĭetermine the current start block of the little partition you made. That little 1 GB partition from earlier now needs to serve as the Recovery HD for this disk, which will, in concert with the EFI boot partition I believe, allows the system to boot from the encrypted logical volume. Use your backup application as normal, targeting this new encrypted volume. Obviously, store this securely somehow! Run your Initial SuperDuper or Other Clone You’ll be able to set the passphrase when prompted. It should be clear which one it is from the size! Mine is disk2s4.ĭiskutil cs create MyEncryptedClone disk2s4 Create an Encrypted Volume Inside the VGĭiskutil cs createVolume MyEncryptedClone jhfs+ MyEncryptedCloneVolume 100% -stdinpassphrase This will appear throughout these commands and may need substituting in another environment.įirst, determine the disk identifier of this big area of the disk: The identifier for the physical disk I am using is disk2. Substitute MyEncryptedClone for a group name of your choice! On the big partition where you actually want the cloned data sitting, we need to now create a CoreStorage Volume Group (VG) in that space. We don’t need to worry too much about the EFI boot partition, just that it is there. This should also ensure that the EFI boot partition is created with index 1. This rough partition layout should be at least two partitions, including a really small (1 GB is fine) partition to hold the Recovery HD, needed to boot the encrypted volume later. We can go to Debug > Show every partition which provides a visual look at partitions such as the EFI boot partition. It is useful to enable Disk Utility’s debug menu:ĭefaults write DUDebugMenuEnabled 1 (Don’t make it just yet, we need at least two partitions, even if your data just goes in one big one.) I chose a slightly more complex partition layout, but others may want just one big partition for their data. We can use Disk Utility to format with the GPT disklabel and make a rough partition layout. OK, ready? □ Create a New GPT Disklabel and Basic Layout All contractors must report to the site office. Hard hats must be worn beyond this point. Obviously, I do not accept any responsibility and cannot help if you break things by using these notes. YOU MUST HAVE ANOTHER COPY OF YOUR DATA IN CASE THE WORST HAPPENS. NEVER run the commands below on your live disks without understanding what they do, which device you are acting on and checking carefully that you mean what you have typed. This process is destructive - I assume the luxury of working on a brand new drive without any other data. ![]() This is something that might not be stable, and should only ever be part of a wider backup strategy. ![]() They are NOT a step-by-step guide of the kind at I might typically publish. These are my notes that I share in case they help. ![]()
0 Comments
Leave a Reply. |