This page describes how to install Debian on a MacBook Pro. If you have improvements, please make them.

The first step is to install and run [http://www.apple.com/macosx/bootcamp/ Boot Camp]. You can skip the step that allows you to create a Macintosh Drivers CD. At the Start Windows XP Installation step, you should insert a Debian installation CD.

If you press return at the ISOLINUX prompt, the kernel may panic while enabling the IO-APIC IRQs. To avoid this, enter "install noapic" at the ISOLINUX prompt.

When you reach the "Install the GRUB boot loader on a hard disk" step, switch to the second virtual console by pressing ctrl-option-F2, press return to start the shell, and then enter

 chroot /target apt-get install refit
 /target/sbin/gptsync /dev/sda

and enter y at the prompt.

Switch back to the first virtual console by pressing ctrl-option-F1 and select <Go back> in response to the "Install the GRUB boot loader to the master boot record". Choose "Install the LILO boot loader on a hard disk" from the main menu and choose /dev/sda3 for the LILO installation target.

X Windows System

To use the X Windows System, install the non-free fglrx-driver package and, in the Device section of /etc/X11/xorg.conf, change the driver from "ati" to "fglrx".

To set up the emulation of the middle and right mouse buttons, install the xkbset package and run the following commands:

xmodmap -e 'keycode 116 = Pointer_Button2'
xmodmap -e 'keycode 108 = Pointer_Button3'
xkbset m

This will cause the right Apple key to generate middle mouse button clicks and the enter key to generate right mouse button clicks.