There is no really good guide out there on how to install rEFIt on Macs who have a fully encrypted disk (a new FileVault feature in Lion).
Since I made the upgrade, I lived with pressing the Command (⌘) key when I wanted to reboot into Windows. Finally, I bit the bullet and here is a mini guide for you to do it yourself.
Explanation
When installing Lion, the system creates 3 partitions on your disk. 4 if you have Windows installed with bootcamp. If you run diskutil, the layout looks something like this:
1 2 3 4 5 6 7 8 9 10 11 12 | |
- disk0s1 is the OSX boot partition
- disk0s2 contains then encrypted volume, available uncompressed as disk1s0
- disk0s3 is Lion’s recovery system that you can access with Command (⌘) + R
- disk0s4 is your Windows partition
- disk0s5 is my old Linux partition, you wouldn’t typically have that
The issue with the rEFIt installer is that it will install itself on disk0s2 which is still encrypted on boot. But what if we could install rEFIt on the EFI partition ?
Warning
Note that rEFIt takes 25 second to show up. But at least I can now boot on my linux partitions too. Please add a comment if you have a workaround for this and I’ll update the article.
If it takes longer than 25 seconds, you can reset to the default bootloader by keeping the Command (⌘) + Option (⌥) + P + R keys pressed on boot as explained on this Apple KB article: Resetting your Mac’s PRAM and NVRAM
Installation
Looking on the web, I found an old blog post explaining this prodedure: Installing rEFIt on the hidden EFI system partition. For the sake of this article, let me repeat the steps in my own way:
- Download rEFIt ( version 0.14 at this time ) on the official rEFIt website
- Open the .dmg file, but don’t run the bundled installer
- In the following steps, we’re going to mount the hidden EFI partition, copy and activate rEFIt:
1 2 3 4 | |
Note that the /efi/EFI folder already contains the Apple bootloader. If I where you, I wouldn’t remove it :-p
That’s it. Reboot, you’re good to go.
