Max108, that worked. Thanks so much for an intro course in diskutil.
I noticed some differences in the way RecoveryPartitionCreator 3.8 and Carbon Copy Cloner create the Recovery HD partition. One keeps the 128MB buffer and the other doesn't. As you said earlier, the buffer is not critical?
If you don't have an existing recovery HD Partition or an 'Untitled Partition' but just one partition that is 200GB on a 250GB drive, then Carbon Copy Cloner will use all the 50GB free space for the Recovery HD Partition.
I'm not sure this means anything to anybody but I find it interesting.
This was all done on a non Core Storage drive. Out of curiousity, do you see any advantage to using Core Storage if not using FileVault?
This is the Terminal Output after using CCC to create the Recovery Partition on a drive with free space at the end of it.
Allans-MBP:~ allan$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.1 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh HD 449.5 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
4: Apple_HFS Empty Partition 49.6 GB disk0s4
/dev/disk1 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *250.1 GB disk1
1: EFI EFI 209.7 MB disk1s1
2: Apple_HFS Allan Backup 199.3 GB disk1s2
3: Apple_Boot Recovery HD 50.4 GB disk1s3 **uses all free space for Recovery H
If you do have two partitions, a 200GB one and a 50 GB 'Untitled' one, then Carbon Copy Cloner will create the Recovery HD partition using space from the 200GB one, and will leave the 128MB buffer in between the 200GB partition and the Recovery Partition.
This is the Terminal Output after using CCC to create the Recovery HD Partition.
/dev/disk1 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *250.1 GB disk1
1: EFI EFI 209.7 MB disk1s1
2: Apple_HFS Allan Backup 199.3 GB disk1s2
3: Apple_Boot Recovery HD 650.0 MB disk1s3
4: Apple_HFS Untitled 49.6 GB disk1s4
Allans-MBP:~ allan$ sudo gpt -r show disk1
start size index contents
0 1 PMBR
1 1 Pri GPT header
2 32 Pri GPT table
34 6
40 409600 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
409640 389355464 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
389765104 262144 **this buffer stays with CCC, not with Recovery Partition Creator##
390027248 1269536 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
391296784 96838200 4 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
488134984 262151
488397135 32 Sec GPT table
488397167 1 Sec GPT header
This is the Terminal output after using RecoveryPartitionCreator to create the Recovery HD partitions.
/dev/disk1 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *250.1 GB disk1
1: EFI EFI 209.7 MB disk1s1
2: Apple_HFS Allan Backup 199.5 GB disk1s2
3: Apple_Boot Recovery HD 650.0 MB disk1s5
4: Apple_HFS Untitled 49.6 GB disk1s3
Allans-MBP:~ allan$ sudo gpt -r show disk1
Password:
start size index contents
0 1 PMBR
1 1 Pri GPT header
2 32 Pri GPT table
34 6
40 409600 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
409640 389617608 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC space taken from Allan Backup to make Recovery HD, buffer gone
390027248 1269536 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
391296784 96838200 4 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
488134984 262151
488397135 32 Sec GPT table
488397167 1 Sec GPT header
Allans-MBP:~ allan$