Dual Booting OS X and Fedora 8 on a MacBook Pro

This weekend, I've successfully installed both OS X "Leopard" and Fedora 8 on a new MacBook Pro - it was pretty painless, and I'm impressed with the results.

Before I started, I read an article on the Mactel Linux site titled "MacBook Pro (Santa Rosa) with Fedora 7". I used this as a rough guide - I knew I may run into some differences as I was going to be installing Fedora 8. One pleasant surprise was that I could actually install from the built in DVD drive, rather than using an external device or performing a network install. I assume they have incorporated the relevant drivers into the installer. Also, because I performed a fresh install of OS X and left space on the hard disk for Fedora, I found that the Bootcamp application wasn't actually required. In fact, I could not run Bootcamp from OS X; when I tried, the application informed me that my existing partition scheme wasn't supported, and I couldn't continue.

Installation Steps

These are the basics steps I took to achieve my dual boot system:

Install OS X

Using the disk utility on the Leopard installation DVD, I created a 20GB partition for OS X, and another 20GB partition for media and/or scratch space

Install Fedora 8

Rather than using the partitioning tool in the Fedora installer, I booted the installation DVD into rescue mode, and created my partitions with parted, then rebooted and ran the Fedora installer. My reasoning for using this method is that parted supports EFI partition tables and I would have greater control over the positioning of my partitions on the disk. I still used the Fedora partitioning tool to create my LVM volumes

Install rEFIt
I rebooted back into OS X and installed rEFIt as per the instructions in the Mactel howto. However, when I ran the rEFIt partitioning tool, I received a message telling me that the partition table was already up to date - maybe this was a result of using parted instead of the Fedora partition manager.

So far, I have been unable to get the Airport Extreme card working, which uses the Atheros 5418 chipset. Rather than installing from sources retrieved from the Madwifi subversion repositories, as detailed in the Mactel Linux howto, I installed the Madwifi drivers from the livna.org rpm repository. Usually, this is my preferred method for installing the Madwifi drivers because you don't have to recompile the drivers from source when you update the kernel. However, the drivers failed to detect the device. I found a bug report on the Madwifi site, detailing what I believe is the same issue and asking asking when support for the 5418 chipset will be added. Reading the comments, it seems that support is available in the 0.9.4 release of the driver, however, the drivers from the livna repository are currently at version 0.9.3.3. I uninstalled the drivers from the repository, and grabbed a copy of the latest source from the Madwifi subversion repository. I was unable to apply the patches from the Aircrack site that allow packet injection whilst in monitor mode - the driver simply wouldn't compile. The driver compiled fine with no patch applied, so I decided to stick with that and try patching later. With the drivers working, I tried to use the NetworkManager applet to connect to a wireless network. It picked up wireless networks in the area, but couldn't seem to join one - the card appeared to be associated to the access point, but didn't seem to receive an IP address. I'll update the article once I've carried out further tests.

After I completed the installation, I realised that the Macbook Pro has a Intel Core 2 Duo CPU, which means it has 64-bit architecture - and I'd installed the i386 version of Fedora 8! This was possibly not a bad thing - I have found in the past that there were generally less prebuilt packages available for 64-bit versions of Linux distributions, and I had to compile a lot more from source. However, I really wanted to squeeze every ounce of performance out of my machine, so I decided to re-install with the x86-64 version of Fedora. I just installed over the top of the previous instance and didn't run into any problems, in fact, once the installation of Fedora was complete, the system was ready for use.

To finish off my installation with all the relevant drivers, media applications and codecs, etc., I will be following the Personal Fedora 8 Installation Guide. The guy responsible for this howto seems to have one to cover most of the Fedora releases, I know I've used the guides for Fedora 5 through to 8 now. Below are two lists; one of cool features and one of annoyances that I've found during my use of Fedora 8:

Cool Features

  • The HFS+ partitions created for OS X are recognised by Fedora, and show up as another partition that is mountable in the Nautilus file browser.
  • The new version of Evolution prompts you for an attachment if you try and send an email containing the word "attachment" but forgot to attach a file!

Problems

  • RhythmBox no longer seems to detect my iRiver H340 device when it's mounted. A minor inconvenience, although it did used to work flawlessly under Fedora 7 - however, I found a thread in the Ubuntu support forums that detailed a solution

*Update*There is a new article on the Mactel-Linux page that specifically details installing Fedora 8 on a MacBook Pro. *Update*