Even though I have been able to install and run Ubuntu 11.10 in dual boot in a MacBook Pro 5.1, it seems there is still something to fix: rEFIt gives me two icons to log into Ubuntu. Right now when I start the computer I have to choose between: Apple from HD, Linux from HD and Linux from Partition 3.
rEFIt partition tool says there is no need to sync the tables since "No GTP partition was found", although it also says it couldn't found gtpsync. According to this tool, there are three partitions on the disk: one for Mac, one for LinuxSwamp and one for Ubuntu.
Using the DiskUtility in Mac results differ, showing 4 partitions: 200mb as "boot volume", 173gb as the Mac partition, 1023mb named "disk0S2" (this is the linux swamp) and 59gb named "disk0S3" which is the Ubuntu partition.
Using the DiskUtility in Ubuntu shows 3 partitions (it doesn't show the 200mb one). Gparted shows the same 4 partitions that Mac does, and I remember when installing Ubuntu the installation tool showed some other small "free spaces" between partitions.
To fix the tables, I have tried to install GDISK in Mac and follow the instructions from that Forum post, but after I wrote sudo gdisk /dev/disk0 in Terminal (and after writting my password) I get dyld: unknown required load command 0x80000022 Trace/BPT trap. It might be that Gdisk doesn't work in Leopard?
I have also tried to fix the tables this way . And I have tried to get ride of that extra Linux icon on rEFIt by following by using sudo fdisk -u /dev/disk0 in MacOS Terminal, but then the only Linux icon I get -which is the Partition3 one- won't boot (so I have to follow the last way to fix tables to get grub reinstalled to /sda).
So..... any ideas what to do?? Right now it's not a big deal, since I can work with everything.