OSX and Ubuntu- dual boot

After playing around with Ubuntu Live (PPC) on my ibook, this weekend my mission was to get OSX and Ubuntu dual booting on my ibook. Here’s how it went.

  1. Backup some of my important Docs and data from my existing OSX install
  2. Start clean install of OSX, creating 3 partitions, one shared, one for OSX and one for Ubuntu
  3. Continue OSX Clean Install
  4. Once OSx is installed insert Ubuntu Install CD
  5. Choose all default options but when it comes to partitioning, dlete the Ubuntu partition you created earlier. go back and choose to use maximum free space
  6. Ubuntu will continue it’s install and will install a boot manager so you can choose between OSX, Ubuntu or CD on boot
  7. To view the files in the shared partition, I used the following
    sudo mkdir /media/share
    and then
    sudo mount -t hfsplus /dev/hda5 /media/share
    I still can’t write to this disk but I am working on it

I now have OSX and Ubuntu running very smoothly alongside each other… let the development begin 🙂

Update
To get the shared partition working you can to sync the two users’ (my OSX user and my Ubuntu user) user ids and group ids (You can change the ID in OSX netinfo manager). Once this was done and the drive was mounted correctly (in /etc/fstab)
/dev/hda5 /media/share hfsplus user 0 0
I could write to the shared drive in both installs but it caused havoc with permission in OSX as the user ID had changed. I reckon I can just give world write access to the drive though and it’ll still work.