I'm trying to install Ubuntu Hardy on a friend's MacBook. She had it set up to dual-boot OSX and WinXP already, and after searching for a howto or tutorial for a while, I couldn't find anything quite like what I thought I needed. Having installed a WinXP/Hardy dualboot before, I figured it couldn't be that much different, so I just dove in. Stupid and dangerous, I know...and here I am.
After searching google for a good way to resize her mac partition, I settled on using the CLI diskutil program that was already installed. I couldn't find an option for ext2 or ext3, so I formatted the new partition as FAT32.
After that, I just installed from the LiveCD to that partition as normal, reformatting with the built-in partition editor that pops up during the install. I set it up like so:
Code:
/dev/sda1 EFI 200M (unchanged)
/dev/sda2 OSX 121.9G (resized down from 127.9G)
/dev/sda3 Ubuntu 5.2G
/dev/sda5 Swap 953.7M
/dev/sda4 WinXP 20.8G (unchanged)
After finishing the install, BootCamp didn't show Ubuntu and no longer showed Windows, and after looking around google for a while, I saw a bunch of sites that suggested using rEFIt, so I downloaded and installed that. Now, when I boot, all three OSes show, but only Mac boots correctly. When I try loading the others with rEFIt, I get a blank screen with plain text that read "No bootable device -- insert boot disk and press any key", but if I insert a bootable CD a hit a random key, nothing happens.
After googling a bit more, I found this tutorial (wish I had seen it before). It includes instructions for backing up the Windows MBR and restoring it at some point during the installation (oops).
It also doesn't include setting up a swap partition, since you're limited to four partitions. Come to think of it, how did the LiveCD even get that 5th one on there, anyway? I thought that wasn't supposed to be possible without using logical partitions, and when I look at it from the System Rescue CD with gparted, it shows up as being primary.
So, does anyone have any idea as to how I can get things working? Can I fix the Windows MBR normally with the XP install CD, or do I have to worry about it being a Mac? Should I reinstall Ubuntu and/or get rid of the swap partition? Or can I reinstall the whole thing under a logical partition? All the data on the computer was backed up before doing the install, but I don't want to have to reinstall Windows or Mac (especially Mac) from scratch if I can help it.
Bookmarks