Triple Boot on my MacBook: Mac OS X, Ubuntu Linux, Windows XP/Vista

UPDATE (nov08): When using Mac OSX 10.5.5 and Ubuntu 8.10 this process does NOT work! It does with 10.5-10.5.3 and Ubuntu 8.0x. I’m trying to figure out an update at the moment for the latest version of the OSs.

Completely forgot to post about this but I successfully finished a weekend project recently, believe it was earlier this month.

The objective was to get a system going on my so I could use my two favourite OS, the of course being Mac and , plus the necessary evil (XP or Vista).

My first approach was much too complicated. I attempted to use to partition my disk then via the Terminal partition the second partition made by into two partitions, one for and the final one for ( must be on the final partition no matter how one tries to partition the disk). This proved to be very challenging since the boot loaders all have to get along etc etc.

Cut a long story short, the solution was actually a lot simpler:

  1. What one needs in any case is a little tool called rEFIt which takes over the boot loading for us. , install, restart to test.
  2. Starting with one full partition for Mac as a fresh starting point, I used to carve out a partition of 20GB for .
  3. Then I used the Mac Disk Utility, clicked on the Mac partition. Since Leopard there is a little Plus sign by the partition that allows to split this partition into two. For the partition I only used 8GB. Now to make the following step easier I suggest to use the Startup Disk tool in the System Preferences to select the disk as the disk to start up from.
  4. Now we get to the interesting part. Put the installation disk in the drive, restart, rEFIt will show your Mac partition and the installation disk. Select the disk and go through the installation procedure. When the system needs to restart, which it will a few times at least being and all, and you followed the suggestion above you won’t have to select the partition manually but can let it run unattended.
  5. With running there is one partition left to fill with one OS left to go. Put the installation disk in the drive (I prefer Ubuntu ) and restart, in rEFIt select the installation disc for booting. The disc loads and you can enter the Installation. Enter a few details and when you get to the partition screen, select the manual option. Then choose the middle partition (it would most likely be SDA03) and select an EXT3 partition formatting and select “/” as the mounting point which stand for the partition root. On the last screen (this part is important and will differ if you are not using Ubuntu) you see an “Advanced…” button. Click on this Advanced button and make sure to install GRUB on the same partition (it will most likely be SDA03) rather than anything else. This loads the Ubuntu boot loader GRUB onto this partition and provides the vital piece that makes the whole proposition of having three OS on one machine work. At the end of the Ubuntu installation the disc will be ejected and you can hit enter to restart.
  6. After the last restart you will be presented with the rEFIt menu, showing you a selection of the three OS installed on your machine: Mac , Ubuntu and XP/Vista.

Enjoy!

3 Responses to “Triple Boot on my MacBook: Mac OS X, Ubuntu Linux, Windows XP/Vista”

  1. http://www.cyberworker.co.uk/post/Bootcamp-Taking-a-bite-of-forbidden-fruit.aspx

  2. I actually have Bootcamp to XP (SP2). Mac OS is on new Leopard. I installed Leopard after that.

    But now to triple boot:-
    My next step should be (disk utility in Leopard - create new partition for Ubuntu)? Then insert Ubuntu, hold down C, install from there? Which means based on your tutorial, i start from 5?

  3. Hi TheEdge,
    Correct, you would start from no 5. When you reboot and don’t have reFit installed, hold the option key to be shown the different disks to boot from and select the Ubuntu bootable CD.
    Let me know if you have any questions. Happy to help.

Leave a Reply