Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

've used dd on Linux to make a block for block bootable copy of a LUKS encrypted volume which created a bootable encrypted clone. I'm trying to achieve the same on a Filevault2 volume, disk0 as internal disk. I want to write this to a an identically sized partition on an extrernal USB disk.

I made the destination partition a GUID Journaled extended HFS+ journaled to match the original volume. The dd finished but the partition is unusable, doesn't unlock, mount or boot.

I'm thinking of reformatting the partition as DOS and writing over it with d again. Would it be safe to hope the partition will inherit the desired scheme from the source? It takes 4 hours to write 250GB and wanted to see if anyone else had done this before.

Filevault2 reconfigures the singe partition on disk0, to add the rEcovery partition after 10.7 giving you something like this:

/dev/disk0
#:                       TYPE NAME                    SIZE       IDENTIFIER
0:      GUID_partition_scheme                        *250.1 GB   disk0
1:                        EFI                         209.7 MB   disk0s1 
2:          Apple_CoreStorage                         249.2 GB   disk0s2 
3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
/dev/disk1
#:                       TYPE NAME                    SIZE       IDENTIFIER 
0:                  Apple_HFS Macintosh HD           *248.9 GB   disk1

disk1 is the encrypted data of the core storage logical volume. This is similar to what happens in LUKS on Linux.

So my hope is to get this into a partition on a shared 1 TB external drive. Any thoughts on what format to make that partition would be appreciated.

share|improve this question
    
Welcome to Ask Different! Please could you copy-paste Terminal output into a code block - one long line of output is very difficult to read. –  grgarside Jan 5 at 7:16
    
OK, I've edited the output to be more readable... –  alex Jan 12 at 23:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.