Triple-boot Macbook Pro: OSX Leopard, Vista 64-bit and Ubuntu 8.04 64-bit
Hardware, Operating Systems July 2nd, 2008I’ve just verified that this procedure works. It was created through the combination of a few threads out there on the topic that were missing pieces of the puzzle in one way or another.
This procedure will set up your Macbook Pro in such a way that a menu will appear on boot that will require the selection of Mac OS (tested with 10.5.3), Windows (tested with Vista 64-bit), or Linux (tested with Ubuntu 8.04 64-bit - Alternate Install CD). This procedure assumes that you want the drive divided evenly between all operating systems, and can take up to 5 hours to complete, not including burning OS install disks. Most of this time will be spent waiting for progress bars, and the laptop will be unusable for work. (So you can plan accordingly)
Install Mac OS X
(Assumes Mac OS X 10.5.3)
- Back up all documents, including Notes files, browser bookmarks, etc. to the network or USB thumbdrive.
- Install OS X to the Macbook Pro, using the entire hard drive.
- Use the Boot Camp Assistant to partition the drive.
- Start the Boot Camp Assistant, located at /Macintosh HD/Applications/Utilities/Boot Camp Assistant
- The “Windows” partition shown will eventually become both the Windows and Linux partitions. Therefore, if you wish for the drive to be divided equally across all operating systems, slide the divider until the Windows partition takes up two-thirds of the disk.
- Click ‘Partition’ and wait for the process to complete.
- When the partitioning process completes, click ‘Quit and Install Later’. Do not use the Bootcamp installer.
Install Windows
(Assumes Windows Vista 64-bit)
- Insert the Windows install CD or DVD and reboot the machine. Hold down the ‘c’ key to boot from the CD. (note: at this time, the Windows XP 64-bit install DVD does not recognize the keyboard or USB keyboards when booting from DVD)
- Once the Windows installer loads, proceed as normal through the installation. When asked where to install Windows, select the partition that is approximately two-thirds of the disk. In testing, this was ‘Disk 0 Partition 3 BOOTCAMP 126.1GB’.
- Highlight the partition and click ‘Drive Options (advanced)’.
- Click ‘Format’ and ‘OK’.
- Now that the drive is formatted, click ‘Next’. Windows will install.
- During the Windows install process, the machine may reboot on its own several times.
- Windows is rebooting and expecting to boot back into the installation process. You need to help it do so by holding down the ‘Option (Alt)’ key when the machine reboots, and manually selecting the ‘Windows’ hard drive. (not the ‘Windows’ CD)
- If you miss the chance to reboot into the Windows install process, the machine will boot into OS X. Just reboot the machine, hold down the option key, select the ‘Windows’ hard drive (not the CD) and continue from there.
- Once installation is complete, the machine will boot into Vista and have the user complete the setup procedure.
- Eject the CD from within Vista by clicking the drive once in ‘Computer’ and selecting ‘Eject’ on the title bar. Vista now needs drivers for the Macbook Pro hardware.
- If you want to be able to have greater control over the fans in the Macbook Pro cooling system, you need to install the ‘inputremapper’ application (tested version 1.0.04) first. This is recommended, as the Macbook Pro can run quite hot at times, dependent on the ambient air temperature.
- Download and install inputremapper. You will need to use a USB key, as the networking drivers for the Macbook Pro have not yet been installed.
- Reboot the machine, holding down the ‘option’ key and choosing the Windows drive.
- Install the Windows drivers for the Macbook pro hardware by inserting the ‘Macbook Pro Install CD 1′ in the drive. If the Bootcamp Drivers application doesn’t start automatically, double-click on the CD in ‘Computer’ and run WindowsSupport/setup.exe.
- Once the drivers are installed, eject the CD and reboot the machine into the Mac OS partition.
- If you want to be able to have greater control over the fans in the Macbook Pro cooling system, you need to install the ‘inputremapper’ application (tested version 1.0.04) first. This is recommended, as the Macbook Pro can run quite hot at times, dependent on the ambient air temperature.
Install rEFIt
- Boot into the Mac OS partition and install rEFIt. This is our boot menu application.
- Download and install rEFIt (tested version 0.11)
- To set rEFIt to always be the boot menu, open a terminal window and give the command:
/efi/refit/enable-always.sh
- rEFIt has a default timeout of 20 seconds, then will boot into OS X. If you would like to disable the timeout:
- Open /efi/refit/refit.conf in Text Editor
- Change ‘timeout 20′ to ‘timeout 0′.
- Save and close.
Install Linux
- Enter the Linux install CD (tested Ubuntu Linux 8.04 Desktop 64-bit Alternate Install) and reboot the machine. Hold down the ‘c’ key to boot from the CD. You might need to use an external USB keyboard, as sometimes the Linux install CD doesn’t recognize the built-in keyboard correctly.
- Install as usual, until you get to the partitioning section.
- When Linux installs, it will corrupt the portion of the Master Boot Record on the current Windows partition. In order for Windows to be usable, the MBR installed on this partition must be backed up.
- When the installation procedure asks about partitioning disks, exit to a command line and make a backup of the MBR of the Windows partition.
- In Ubuntu, this is done by pressing Alt-F2 to get a command line.
- Enter
dd if=/dev/sda of=/tmp/sda.mbr bs=512 count=1
and hit the ‘Enter’ key.
- Press Alt-F1 to return to the Ubuntu installation.
- Choose the ‘Guided - Resize…’ option. (in testing, this was ‘Guided - Resize SCSI3 (0,0,0), partition #3 (sda) and use freed s’)
- Make the Linux partition 50% of the resized space (one-third of the overall drive, if the Windows partition was two-thirds…)
- Continue the installation process.
- After the base Linux OS files are installed, but before installing a Linux bootloader, the MBR must be restored from the backup that was created earlier.
- In Ubuntu, this is done by pressing Alt-F2 to get a command line.
- Enter
dd if=/tmp/sda.mbr of=/dev/sda
and hit the ‘Enter’ key.
- Press Alt-F1 to return to the Ubuntu installation.
- Continue the installation process until reaching the bootloader installation screen. (in testing, this was the ‘GRUB installation’ page.)
- In Ubuntu, do not install GRUB to the MBR. Windows needs the MBR as it is.
- When asked where to install GRUB, choose the Linux installation partition (not the swap). In testing, this was /dev/sda4. (Note that this partition is one greater than the partition specified on the ‘Guided - Resize…’ line of the ‘Partition disks’ screen.
- When the installation is complete, eject the CD (if it is not done for you) and reboot the machine.
Update rEFIt
At this point, rEFIt will see all three operating systems and can load Mac OS and Windows, but needs to have its own partition records updated to be able to properly allow Linux to load.
- Once the machine is rebooted and on the rEFIt screen, press the arrow keys until you reach the ‘Partitioning Tool’ icon. Press the ‘Enter’ key.
- When it asks “May I update the MBR as printed above?” press the ‘y’ key. rEFIt’s partiton records will update.
- You should now be able to boot into any Operating System.
Notes and Observations
General
- To disable the Apple ‘bong’ noise when the machine starts, install and configure StartupSound.prefPane.
Windows
- Windows will check (CHKDSK) its partition the first time it boots. It notices the difference in partition size. This is fine, let it check it. Windows still loads afterwards.
- The right-click behavior in Mac OS (Control-click) can be replicated in Windows by using inputremapper.
Linux
- To reduce the amount of time the GRUB menu appears when booting Linux (tested Ubuntu), edit the file /boot/grub/menu.lst where it says ‘timeout 10′ to say ‘timeout 3′ or whatever your preference is.
- To replicate the right-click (and middle-click) functionality in Mac OS by using Control-click,
- Go to System > Preferences > Keyboard > Accessibility tab > General - and enable “Allow to turn accessibility features on and off from the keyboard”
- Go to System > Preferences > Keyboard > Mouse Keys tab > and enable “Allow to control the pointer using the keyboard”
- From the terminal, type
gedit ~/.xmodmap
- Type:
keycode 116 = Pointer_Button3
keycode 108 = ISO_Level3_Shift
-
- Save and close the file.
- Go to System > Preferences > Sessions and click ‘Add’.
- Name: xmodmap
- Command: xmodmap /home/fuz2y/.xmodmap
- Comment: Add middle- and right-click functionality
- Click ‘OK’.
- Restart X to use the changes (Ctrl-Alt-Backspace).
Entries
July 14th, 2008 at 11:58 pm
Thanks for this great guide. I’d like to install windows XP instead of vista. Are there any differences?
July 30th, 2008 at 5:39 am
I will try this tonight. My setup will be a bit different
- Mac OS X Leopard
- Windows Vista Ultimate SP1 (32 bit)
- Linux Ubuntu
August 5th, 2008 at 3:40 pm
I forgot my access password of Macbook Pro and the operating system is not available. now how can i access to mac or can i install the win vista?
August 19th, 2008 at 4:22 pm
Could you post the link to the exact linux you used? I would really appreciate this.
September 17th, 2008 at 3:16 pm
I understand that rEFIt can be set to not count down a 20-second delay. Similarly, can I set it to default to whatever the last OS booted was?
It’s a bit of a nuisance, say, when I’m installing or updating Windows and it resets through rEFIt and for some reason I get pulled away and miss the opportunity to select my OS, and it goes back into OS X. It would make more sense to go back into whatever it was until told otherwise. Particularly since oftentimes Windows hasn’t finished its process.
November 27th, 2008 at 12:13 pm
Hello and peace; while you employ Vista 64 bit, I am wondering if there’ll be any problems with using XP Pro 64 bit instead? I have NO interest in VISTA, as I don’t want to get into all the issues spoken about in all the Trades magazines w/: Drivers; Programs; Power Consumption issues and inability to match most XP benchmarks re speed and efficiency.
Currently, I have been using an OLD HP Vectra VLi 8 desktop w/ only 650 MHz [coppermine} processer, 320 Mb ram, which is configured at boot as follows:
1)Windows 98 SE [much modified}
2)2000 PRO [tried Server, didn't work right]
3)XP PRO
4)Ubuntu (32 bit)
5)SUSE
The obvious problems are the lack of processor abilities in terms of speed and development; as well as NOT ENOUGH RAM(!). So, I am currently shopping for a MacBook [basic model w/ 2 Gb Ram, Intel duo, etc]. 2 of my close friends SWEAR by Macintosh Apple [one's a TV director who edits video; the other bud' runs his own Graphics company for over 20 years and does excellent!]. Both buds’ wouldn’t TOUCH a Windows system as they feel it’s “hustlin’ backwards.
Soooooooo, the question remains, will I have any MAJOR problems hooking-up a similar multi-boot scenario on my soon to be home MACBOOK?
Thank-you for taking your time to mull-over a [probably unecessary] concern of mine. Oh, would I be better-off getting a few more bucks and moving-up the Apple product line a few nothes????
Peace, Amir
December 21st, 2008 at 6:03 am
Конкурс для блоггеров от DRUGREVENUE с призовым фондом в 3000 долларов, спешите
December 21st, 2008 at 6:08 pm
Хорошая статься, очень понравилась!
December 22nd, 2008 at 12:20 am
Is this the same procress if I want to install OS X, then XP and then Vista? or does this process change?
January 12th, 2009 at 4:21 pm
AWESOME Tutorial! worked with Vista Business 32bit , ubuntu ubuntu-8.10-alternate-i386.iso, and OS X leopard.
January 16th, 2009 at 10:37 am
Hi all, I used this tutorial as a baseline to install OS X, Vista Ultimate 64 and Debian lenny 64bit. I first did the install on a MacBook Pro, worked great! I then moved on a Mac Pro. 5 systems more to to go, since I have the baseline though I’m just gonna dd the drives using a linux boot disk. No point sitting through the install process over and over and over.
March 6th, 2009 at 3:28 pm
Has anyone tried this with the new uni-body Macbook Pros to see if they are getting the heat issues while in Vista? Lots of people are reporting problems with the fans not running while under Vista even after installing inputremapper.
March 28th, 2009 at 11:12 am
good job!
March 29th, 2009 at 8:12 am
Мне понравилось
April 1st, 2009 at 11:52 am
First of all, thank you for this tutorial. It is really benefical but I stucked at backing up my mbr of windows partition. I wrote dd if=/dev/sda of=/tmp/sda.mbr bs=512 count=1 to the command line but it said that I have no permission to do it. I need to solve it urgently.
April 20th, 2009 at 11:03 am
1st: Fn+Alt+F2
2nd: if u want to come back to GUI setup(8.10 Ubuntu) Fn+Alt+F7
April 20th, 2009 at 11:16 am
u can try Fn+Ctrl+Alt+F2 if not working
May 24th, 2009 at 10:55 am
Даа… Достаточно спорно, поспорил бы с автором…
May 24th, 2009 at 1:27 pm
Предложите свой список, будет интересно почитать)
здесь видел ет gamebulletin.ru
May 28th, 2009 at 6:58 am
Спасибо за Ваш труд!!
May 28th, 2009 at 5:17 pm
Hi all, I used this tutorial as a baseline to install OS X, Vista Ultimate 64 and Debian lenny 64bit. I first did the install on a MacBook Pro, worked great! I then moved on a Mac Pro. 5 systems more to to go, since I have the baseline though I’m just gonna dd the drives using a linux boot disk. No point sitting through the install process over and over and over.
May 30th, 2009 at 3:14 pm
Действительно полезный пост, спасибо.
May 30th, 2009 at 10:57 pm
I tried these steps using Windows 7 and Ubuntu 9.04. Just so people know to get into command line when installed ubuntu 9.04 you press Ctrl-Alt-f2 and to get out you press Ctrl-Alt-f7.
Also there is no more “Grub Installation” page. It installs the boot loader at step 7 and you must select the advanced button to select your option to install grub at /dev/sda4.
Also I cannot get refit to work properly. It sees all three systems, but when i select either windows or ubuntu it just hangs at that particular icon and never boots up. I tried the partitioning tool, but it stated that everything was already synced and to press any key to return to refit.
Not sure how to get it refit to work right. I can get into MAC using it and I can get into windows by using the alt/command key, but there is no way to get into ubuntu.
June 12th, 2009 at 7:59 am
Did not work with Windows 7 32bit and Ubuntu 9.04. After following the steps, both the windows and linux partitions were rendered unbootable