This is a step by step guide to installing Mac OSX10.6, Ubuntu 10.04 and Windows XP.
Hardware
- MacBook Pro 5,5
OS
- Mac OSX 10.6
- Ubuntu 10.04
- Windows XP
Steps
- Fresh installed Mac OSX 10.6
- Update system; with the time writing this post the version is 10.6.7
- Partition disks
# splite the entire disk to 3 parts, 87.7G for Mac, 20G for Ubuntu, 20G for Windows $ sudo diskutil resizeVolume disk0s2 87.7G "Journaled HFS+" "Ubuntu" 20G "MS-DOS FAT32" "XP" 20G
- Insert Windows XP and restart with key `c` pressed
- Choose the last partition and install
- During the installation when reboot make sure you press the option key to choose Windows
- When finished boot into OSX
- Install refit, an EFI Boot Menu and Toolkit
- In terminal do the following
# enable always $ /efi/refit/enable-always.sh # open config file and change time to 0 $ vi /efi/refit/refit.conf
- Replace Windows XP with Ubuntu 10.04lst installation cd
- Reboot with key `c` pressed
- Keep processing until partitioning the disk
- Press `FN+CTRL+ALT(OPTION)+F2` to enter command mode
- Backup Windows boot info
$ sudo dd if=/dev/sda of=/tmp/sda.mbr bs=512 count=1
- Press `FN+CTRL+ALT(OPTION)+F7` to exit
- Choose the last method( manual install )
- Choose partition3
- Keep processing until the last step(8/8), choose advance to set to /dev/sda3
- When finish installing, before restart
- Press `FN+CTRL+ALT(OPTION)+F2` to enter command mode again
- Restore Windows boot info
$ sudo dd if=/tmp/sda.mbr of=/dev/sda
- Press `FN+CTRL+ALT(OPTION)+F7` to exit
- Build SWAP image
- Boot into Ubuntu and do the following
# switch to root $ sudo su # create a 100 MB blank file $ dd if=/dev/zero of=/swapfile bs=1M count=1024 # setup file as swap $ mkswap /swapfile # enable swapfile $ swapon /swapfile # show swap $ swapon -s
- Done!!!