I have a triple boot, win7, ubuntu, mac osx and I am trying to boot osx via grub2 and chameleon.
Set up looks like this:
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x1bed746b
Device Boot Start End Blocks Id System
/dev/sda1 2048 27123711 13560832 27 Hidden NTFS WinRE
/dev/sda2 * 27123712 27328511 102400 7 HPFS/NTFS/exFAT
/dev/sda3 27328512 320940031 146805760 7 HPFS/NTFS/exFAT
/dev/sda4 320940032 976771071 327915520 5 Extended
/dev/sda5 320942080 384086015 31571968 83 Linux
/dev/sda6 384088064 410525695 13218816 82 Linux swap / Solaris
/dev/sda7 410529792 829960191 209715200 7 HPFS/NTFS/exFAT
/dev/sda8 829962240 976771071 73404416 af HFS / HFS+
Grub2 is installed to the mbr of the drive and it recognises the presence of osx, but the automatic entries don't work (send the harddrive a'whirring for 10s or so and then reboot).
As you can see above the boot flag is set to sda2 so that win7 can hibernate, back up etc... I have tried setting the boot flag to sda8 using gparted as well just to see what happens.
So with the following grub2 entries:
menuentry "MacOS - hd0,msdos8 - multiboot +uuid" {
insmod hfsplus
set root='(hd0,msdos8)'
search --no-floppy --fs-uuid --set=root 26d07d9c1e639221
multiboot /boot
}
Boot flag not set: This and all the many permutations ending with "multiboot /boot" give me a black screen and the string: "wrong multiboot magic". I have to hard restart.
Boot flag set: This boots a gui of chameleon (Chimera version? as it has the tony086 logo like in unibeast). When I select the osx option, it shows the apple logo very briefly and then crashes and restarts.
menuentry "MacOS - hd0,msdos8 - chainloader" {
insmod hfsplus
set root='(hd0,msdos8)'
search --no-floppy --fs-uuid --set=root 26d07d9c1e639221
chainloader +1
}
Regardless of whether boot flag is set, this and all the many permutations ending with "chainloader +1" give me a black screen and a 7 or 8 char string of weird and wonderful characters. I have to hard restart.
menuentry "Mac OS X Boot Loader" {
insmod hfsplus
set root='(hd0,msdos8)'
search --no-floppy --fs-uuid --set=root 26d07d9c1e639221
chainloader (hd0,msdos5)/boot/chameleon/boot0md
}
I have copied the boot0, boot0hfs and boot0md to the above location on my linux drive (/boot/chameleon/boot0md) based on this post :
http://jeffhoogland.blogspot.co.uk/2011/04/howto-chainload-grub2-into-chameleon.htmlIf boot flag is set: I get the message "boot0:error" and it freezes.
If boot flag is not set: I get the message "boot0:done" on a black screen and then windows instantly starts loading.
I thought that the problem could be that chameleon cannot find boot1h in the boot sector of the logical partition containing mac os x (hda0,msdos8)
I have installed chameleon and chimera a couple of times and manually installed the boot1h file to the bootsector of hda0,msdos8, following this post:
http://www.insanelymac.com/forum/index.php?showtopic=164809I then did it again using unibeast usb and unmounting the partition first.
I'm running out of ideas fast, so if anyone could point me in the right direction, at least on the chameleon side of things, it would be much appreciated!