Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've had a lot of trouble doing this. It always is unable to boot after installation (I get the famous question-mark in a folder thing). I've installed http://www.rodsbooks.com/refind/ however after installing Debian I still have the same issue.

Is the problem that Debian installs GRUB? Debian doesn't give you an option not to install GRUB, although I suppose you can install it to a thumb drive or somewhere that doesn't matter.

Is the problem that I'm choosing to install over the entire disk (does this erase refind, or is refind on the mbr?). I come from using PCs where installing linux is a piece of cake and am frustrated by my experiences with the MBP so far.

share|improve this question
    
Have you read wiki.debian.org/MacBookPro ? –  nodiscc Jul 4 at 11:41

1 Answer 1

rEFInd is an EFI boot manager. As such, it installs as files in the EFI System Partition (ESP) or in the main OS X partition; it doesn't write anything to the MBR.

You don't say if you're setting up a dual-boot installation or replacing OS X with Debian, thus creating a pure-Linux setup. If the latter, my recommendation is to use MBR partitioning rather than GPT partitioning and install the BIOS version of GRUB (or LILO or SYSLINUX, if you prefer). The Mac will then boot using its BIOS compatibility layer, and you'll be able to treat the computer like a standard BIOS-based PC. Doing a Linux-only EFI-mode installation is tricky because Apple's EFI implementation is weird and doesn't work with the usual Linux tools for manipulating EFI boot loaders, such as efibootmgr. Although it's possible to do the job with tools like bless (a more-limited implementation of an OS X tool of the same name), this process is poorly documented, and I doubt if the Debian installer supports it directly (although I might be wrong, especially for Debian 7).

If you're doing a dual-boot installation, I recommend you install rEFInd in OS X. Installing to the main OS X partition tends to produce fewer problems than installing to the ESP, although installing to the ESP is necessary in some cases. Install the EFI filesystem driver for whatever filesystem holds your Linux kernels, too, and if you use a separate /boot partition in Linux, be sure to create a refind_linux.conf file in the directory that holds your Linux kernels. This is all described in the rEFInd documentation.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.