Triple boot your MacBook Pro
BuddyJ
Dept. of PropagandaOKC Icrontian
The_Technocrat has a sweet step-by-step guide to triple booting Vista 64, Ubuntu, and OS X Leopard on a MacBook Pro. Having three operating systems on one machine has never been so easy!
His guide is available here.
Ever felt the need to run three operating systems separately on your MacBook Pro? I scoured the internet in search of a good, straightforward guide to accomplishing the task. Unhappy with what I found, I decided to write up a straightforward guide for anyone else daring enough to do the same.
His guide is available here.
0
Comments
I think I'm going to update my HD soon, and then I will definitely give this a try.
Since I hate Vista, and still am quite fond of XP, will things change much if I just sub XP for Vista?
cheers
-Craig
Jared, I think Vista has some extra stuff that helps the multiple-boot process, so it might change something, but overall, I think this process will help bypass it. You should be fine unless XP's boot sector is a different size.
Thanks for the speedy reply! I'm definitely trying this out when I get home from work...I've been looking forward to it for a while!
Actually, I have one other quick question.
I know when to execute the first terminal command (when the partitioning part of the installer comes up), but I'm kind of fuzzy on when to execute the 2nd command (to restore the MBR); should I do it when the installer asks about GRUB? Or is it sometime before that?
Thanks!
-Craig
I followed the guide, but I'm not sure if I did something wrong with copying the MBR; I ran the 2nd command as it was saying Installing Grub on the progress bar. Should I have done that before I even let the Linux base files install? The copy of Ubuntu that I used (8.04 32-bit) had the GRUB options under an "Advanced" button before the files started copying at all, but after the partitioning. Maybe I should get a copy of the Alternate Install CD for 32-bit?
It's looking like I'll be redoing everything tonight; Windows doesn't boot at all, and no amount of repairing and prodding has fixed it.
Can someone tell me what I did wrong with those commands? I'm sick of messing with it, so if someone can help me out that'd be great. Thanks!
-Craig
When I get to the partition disks part, pressing "Alt-F2" doesn't kick me to a command line, it just sits at "[!!] Partition disks". Am I supposed to choose an option first or should it just work? I'm guessing without that terminal I can't back up the MBR, and so it'll all go to hell.
Any suggestions?
-Craig
EDIT So, I'm not sure what keystroke I used, but I finally got to a terminal. I'll post again when it works/I know what keys I pressed END EDIT
EDIT AGAIN So, I think I had to hit Fn then Alt-F2 to get the terminal. Ubuntu finished installing, now I'm checking to see if I can still boot everything.
So, Windows says it's missing hal.dll. Ugh. Does anyone have an easy fix for this? Maybe if I just reinstall Windows over the old install (not a repair, but an actual install) that'd work. IDK. What're your thoughts?
Sorry it hasn't worked out so far; keep trying though.
Also, if you just edit your previous post, we don't get notifications that you've responded again to the thread, so put in a new response if you want us to see it faster
I think part of the problem was the partition numbering was off in Windows; I used Ubuntu to change my boot.ini file from partition 3 to partition 2. Now, I get the splash screen with the scroll bar for a second, then a blue screen with "UNMOUNTABLE_BOOT_VOLUME".
I'll probably do it all again anyway because I realized that I had my partition size backwards.
I have a question for you, though, and I think this is where I'm screwing up. Exactly when should I restore the mbr with Should I do it while it's gathering more applications, or when I'm sitting at the GRUB install part, or just right after the base files? I think if I have an exact time to execute that 2nd command it'll work.
Thanks!
-Craig
The only real need to dual boot into windows instead of running it in a virtual machine is to gain all the graphical advantages (directx) of windows. Linux on the other hand doesn't rely on directx and runs perfectly happily in a vm.
You don't need parallels either, you can use any number of free virtual systems to do it. But parallels allows you to use your bootcamp partition as a virtual machine so you can access your windows partition both ways. It also has support for up to directx8.1 plus it's coherence mode works really well.
This doesn't take away from the article is really well done and straight forward. I'm just suggesting there is a more optimal way of doing it.
Thanks for the input. I'll probably end up using a VM if I can't get the triple-boot to work; there's something about turning on my MacBook Pro and seeing those 3 boot options that is just inherently cool for me.
I'm still hoping I can get the triple-boot sorted out, but Parallels (I already have it) is definitely a solid option.
Snarkasm-
I'm just posting this again in case TT does take a look, I'm using Ubuntu 8.04 32-bit Alternate Install CD and Windows XP Pro SP2.
Thanks!
-Craig
OK, a few points:
OK, so if you've done any of this stuff and borked the process, I wouldn't bother trying to fix it. Either Ubuntu mucked the MBR so Windows won't boot, or you've otherwise lost the pristine MBR Windows requires, and you're screwed. Easiest way is to boot into OSX, fire up Disk Utility (it's in Applications/Utilities), crush all the partitions back into OSX and start over.
This is a very exact procedure, and everything has to be done perfectly. If you make a mistake, you're done.
Vista adds nothing to the process, Windows (and Ubuntu as well) are completely unaware that they are sharing the drive during boot. What the OS sees on the drive after boot is a different story as far as accessing files.
You can swap XP for Vista, and Ubuntu for another distro, provided that the Linux distro gets its bootloader installed to the partition and not the MBR, and Windows gets its MBR backed up and restored before and after Linux partitions the disk.
I re-installed Windows and Ubuntu today and now I still get missing <system root="">system32\hal.dll. I ran the commands in your tutorial when I was supposed to (before choosing 'Guided - Resize...etc.' and at the GRUB install screen (and even once before that because GRUB runs something before that screen comes up)) and it still does not work. And yes, I told Ubuntu to write GRUB to /dev/sda4, and when I look at the drive in the partition editor, Ubuntu is /dev/sda4.
I've found, however, that if I boot an Ubuntu Live CD and use the partition editor (the copy I installed with the alternate install CD didn't have the partition editor for some reason, but I couldn't use it anyway for what I did) to delete the Linux EXT3 and Swap partitions and expand the NTFS partition into that empty space, Windows boots just fine again.
It is strange that when I edit the Windows boot.ini file to partition 2 instead of 3 that I get the splash screen and then UNMOUNTABLE_BOOT_VOLUME, whereas with partition 3 it goes straight to missing hal.dll.
Any suggestions?
-Craig
Edited to add where GRUB was installed (/dev/sda4)
Sorry, one more thing: I'm not splitting the drive equally between the 3 OS's; I don't anticipate doing much work in Ubuntu, so that's getting about 13GB, Windows has around 55GB, and OS X has the rest. Not sure if it's relevant, just thought I'd add it.
</system>
I did a quick Google and a lot of the guides I found around the web put XP on /dev/sda4 instead of 3 (they use the diskutil command interface to make 3 partitions), and install XP on the last partition instead of the 3rd. They still use the same dd command, though. Would that maybe be it?
You could try...perhaps XP requires installation to the last partition (I vaguely remember this to be true), where Vista is more tolerant. The tutorial is for Vista x64, so you may have to adapt it to XP.
The only problem I am having is I have not been able to get to the terminal to enter the commands. Can anyone confirm having to press function or (FN) key to get to the option for the command line. I have also tried with a USB keyboard. Alt (Option) F2 did not work for me and neither did holding down FN+Alt+F2. Any tips on getting to command would be great. My Standard Macbook is about 3 weeks old and has 4GB or RAM with Core 2 2.4Ghz.
Will do, might take a bit, I will be starting over from scratch for attampt number 3 Thanks.
Please tell me this is easy to fix?
-Craig
Edit: Well, now it's just saying "GRUB _" and the underscore flashes. IDK what's going on. Delete the partitions and try again maybe? I can easily restore my XP partition w/ WinClone in OS X. I had created a swap partition, but decided not to later to I used my livecd to delete it, that might've screwed it up...
What I did:
Found out the recognized size of my hard drive (all as one partition) with this:
Partitioned my disk with this command: REMINDER: Those values are for a 250GB hard drive recognized as 232.4GB. Change the values to match your drive size and wants.
Reboot with XP disc in, installed to last partition (/dev/sda4). Installed BootCamp in XP, rebooted with Ubuntu 8.04 alternate install i386.
At partitioning, I exited to terminal and ran: At the partitioner, I chose "Manual", 3rd partition, formatted to journaled ext3, mount point "/". Finished, wrote changes to disk, DID NOT MAKE A SWAP PARTITION.
Continued until GRUB install, ran: Installed GRUB to /dev/sda3 (NOT /dev/sda4!)
Finished install and rebooted.
Updated rEFIt, and it all still works!
To make a swap FILE, boot into Ubuntu and do this:
Thanks a bunch for your input and help, I'm happy I'm finally done!
Regards,
Craig
Glad you got it working, Craigular, and congrats. Thanks for YOUR help with the info you just gave us.
on rEFIt Partitioning tool i see
Current GPT Partition Table
# Start LBA End LBA Type
1 40 409639 EFI System (FAT)
2 409640 465715239 Mac OS X HFS+
3 465977384 524571133 Basic Data
4 524571134 620936368 Basic Data
5 620936369 625142414 Linux Swap
Current MBR partition table:
#A Start LBA End LBA Type
1 1 409639 EE EFI Protective
2 409640 465715239 AF Mac OS X HFS+
3 465977384 524571133 07 NTFS/HPFS
4 524571134 620936368 83 Linux
Status: Tables are synchronized, no need to sync.
Any ideas why linux wont start up?