ArchLinux, encrypted root and a MacBook Pro

Ok, so I’ve installed ArchLinux on my MacBook Pro (it’s a 5,1) with encrypted root disk, and I’m not able to enter my passphrase. This is a really ‘nice’ bug, because the MacBook Pro is useless, if it’s not booting :(

But where is the problem? After searching some time, I’ve found it out. The keyboard on my MacBook Pro is connected through USB and needs a kernel module ‘hid_apple’ to work. If this module is not integrated in the initrd, you’re unable to enter the passphrase.

But there is a solution: modify the file “/etc/mkinitcpio.conf” and add the following modules to the MODULES line:

1
hid usbhid uhci_hcd ehci_hcd hid_apple

On my system, this line looks like this:

1
MODULES="hid usbhid uhci_hcd ehci_hcd hid_apple"

After changing mkinitcpio.conf rebuild the initrd with the following command:

1
mkinitcpio -v

Reboot your system, and now you should be able to enter your passphrase.