Solution for enabling BitLocker with Lion
I ran into trouble enabling BitLocker encryption after installing Lion and I finally found the solution, so I would like to post it here for others to read. After installing Lion, I decided to enable BitLocker encryption on my MacBook Air. I was faced with the following error:
Bitlocker setup could not find a target system drive. You may need to manually prepare your drive for Bitlocker.
After following many suggestions online, such as disabling paging and defragmenting, nothing worked. It turns out that with the new Recovery HD feature in Lion, you run into the issue that there are the maximum number of primary partitions on the drive and BitLocker Setup cannot create another one for its boot partition. You must manually remove the Recovery HD partition and recreate the Bootcamp partition. NOTE: You will lose the Recovery Partition and therefore must use a CD if you need to boot into the recovery from now on, like Snow Leopard and before was.
Here are the steps:
- Backup your Windows 7 to an external drive using Windows Easy Transfer.
- Use Boot Camp Assistant to restore your hard drive and remove the Bootcamp partition.
- Since the Recovery HD partition is a hidden partition, you cannot use Disk Utility to remove the partition.
- Open Terminal and run the following commands to delete the Recovery HD partition and manually create the Bootcamp partition:
- Type diskutil list to list the partitions on the drive.
- Find the Recovery HD partition listed. It will be of TYPE Apple_Boot and aptly named Recovery Partition. On my Mac it was listed as disk0s3.
- Type diskutil eraseVolume HFS+ Blank /dev/disk0s3. Be sure to replace disk0s3 with whatever you found as your Recovery HD partition's identifier.
- Type diskutil list and find your main Macintosh HD partition identifier. It is of TYPE Apple_HFS and likely named "Macintosh HD." Mine was disk0s2.
- Type diskutil mergePartitions HFS+ "Macintosh HD" disk0s2 disk0s3 . Be sure to replace disk02s with your Mac's main partition identifier, and disk0s3 with your (now erased) Recovery HD partition identifier.
- Now you have removed the Recovery HD partition and extended the main Mac partition.
- Next, we must manually create the Bootcamp partition. Determine how much to shrink the main Mac partition by taking its total size and subtracting how much you want for Bootcamp. For example, my Mac main partition was 120GB and I wanted Bootcamp to have 30GB, so I will resize to 90GB.
- Type diskutil resizeVolume disk0s2 90G. Be sure to replace disk0s2 with your Mac's main partition identifier.
- Now you have manually resized the partition and are left with empty space at the end of the drive. Close Terminal. You can now open Disk Utility. Select your main drive in the list at the left and go to the Partition tab. Click the "+" below the layout and create a new FAT partition labeled BOOTCAMP.
- Save the layout.
- Put your Windows DVD in your drive and reboot.
- Make sure you hold OPTION to select the Windows DVD to run. Install Windows, return your files and settings by using the Windows Easy Transfer file you saved earlier.
- BitLocker should now be able to encrypt your drive. If you get a TPM error, you must enable BitLocker to run without a TPM chip by using Group Policy Editor (google is your friend).
MacBookPro4,1, Mac OS X (10.6.2), Hardware Overview: Model Name: MacBook Pro Model Identifier