Revision 9 as of 2008-07-30 18:04:07

Clear message

How to create a triple boot system (MacOS, Ubuntu, Windows) on a MacBook.

Note: This was created using a 2008 MacBook running Max OS X 10.5.4.

Under Construction

This page is under construction!

Disclaimer

Things are a little bit tricky with a Mac. You can obviously mess up your system if something goes wrong. So: Please backup your data before you start and read the instructions carefully.

This page intentionally explains one way in a (hopefully) simple and step by step manner. If you run into trouble have a look at the following page that gives a lot more detail: http://wiki.onmac.net/index.php/Triple_Boot_via_BootCamp

Summary

In short, here's what you do:

  • Update your MacBook firmware to the latest available version.

  • Install rEFIt.

  • Create partitions for the three operating systems.
  • Install Windows.
  • Install Ubuntu.

Step by Step

Update your MacBook's Firmware

This is just to make sure that you're running the latest available firmware. Firmware updates are distributed as part of OS X updates, so this part is pretty easy: Boot into OS X, make sure you've got a working Internet connection and click on the Apple-Symbol in the top left corner. Select "Software Update" and install the updates.

Install rEFIt

If all goes well, you're going to have three operating systems to chose from at the end of the day, so you'll want to be able to chose which OS to boot into upon startup. You will also want to keep your partition tables in sync. rEFIt does both of these things for you.

In case you've never heard of "keeping partition tables in sync", just note that so called "GPT/MBR hybrid" partition table is needed to make all three operating systems happy. See the rEFIt website (http://refit.sourceforge.net/) for more information, and make sure you understand the importance of syncing your partition tables.

To keep things simple: Download the Mac-Disk-Image from the rEFIt site and use it to install rEFIt to your harddrive. Once the installation is finished, you can reboot and enjoy the pretty rEFIt menu. Smile :-)

→ Now you're set to boot into multiple available operating systems.

Create Partitions for All Three Operating Systems

Remember that this was done on Mac OS 10.5.4. I don't know if "diskutil" works the same way in previous versions of Mac OS (especially the non-destructive resizing of partitions). If anyone gives it a go, please comment here. You may want to have a quick look at the manual page of "diskutil" (type "man diskutil" im a terminal window) just to make sure, you know what you're doing.

Instead of using Apple's graphical tool, we'll go for the good old command line, so open a Terminal and have a look at your existing disk layout:

diskutil list
## to do: paste output here ###

So we've got 2 partitions here already (disk0s1 and disk0s2 in the example). The first one is the so called EFI partition and the second one is the Mac OS partition. Leave the EFI partition alone and split up the Mac OS partition in three:

diskutil resizeVolume disk0s2 45G HFS "4-Linux" 20G MS-DOS "4-Windows" 0b
## to do: paste output here ###

So now we've got 4 partitions. In the example partition 2 (Mac OS) was shrunk to ~ 45 GB, partition 3 (labeled "4-Linux") was made ~ 20 GB and partition 4 (labeled "4-Windows") uses the rest of the space on the harddisk (approximately 84 GB).

Note that 4 partitions is the limit (EFI, MacOS, Ubuntu, Windows) unless you want to do tricky stuff. Also note that your Windows partition will need to be the last one -- otherwise you will probably get strange errors halfway through your Windows installation (at least with Windows XP).

Reboot and select the partition tool from the rEFIt menu. Let it sync your partition list. Reboot again just to make sure.

→ Now you've prepared a partition for every OS. Smile :-)

Installing Windows

Put your Windows Install-CD in the drive and reboot your Mac. Select to boot from the Windows-CD from the rEFIt menu.

Things to watch out for:

  • Make sure you're partition tables are in sync to start out with. You can check this from the rEFIt menu.
  • Make sure you're installing Windows to the correct partition. Does the partition size make sense?
  • Do 'not fool around with deleting and making new partitions from within the Windows installer. This is bound to screw up something as Windows (at least Windows XP) doesn't know about your hybrid (GPT/MBR) partition table.

  • Install Windows onto what it believes to be "drive C:" - this should be selected by default.

When you're done, boot into Windows and insert the original Mac OS DVD. It contains the Windows drivers for your MacBook.

Make sure to install an antivirus program, keep up with your Windows updates and so all that other stuff Windows users need to do.

→ Now you've got a dual boot system. Smile :-)


CategoryHardware CategoryHardyHeron