Contribute
Register

grub2 and osx86

Status
Not open for further replies.
Joined
Apr 18, 2010
Messages
8
Mac
  1. 0
Classic Mac
  1. 0
Mobile Phone
  1. 0
Hi,

need some help don't get it to work.
My configuration

Windows 7
Data Drive
Ubuntu 10.04 beta all on the first partition

mac os x on second HDD

How can i get grub 2 to boot into chameleon ?

i have tried to make some entry's in the grub.cfg but nothing helped. Most i get a could not open file. How can i verify i have chameleon installed right ?
 
Quite simple:

- Copy "boot" (from chameleon) to /boot/grub
- add to grub.cfg: "multiboot /boot/grub/boot" (without quotes)

My OS X-Partition is recognized by grub automatically. It adds the
OS X to grub.cfg. This config boots my hack, but it definitly slower than the
above method (tested with geekbench).

Good luck
 
Ok, here is my solution:

Your Grub2 recognized your OS X, and you have an boot option for OS X... right?

ok...
Ubuntu:
1.) Install MC with synaptic
2.) Open a terminal and run mc
Code:
sudo mc
3.) search in mc
Code:
/boot/grub/grub.cfg
4.) Press ‹f4› to edit
5.) search your OS X's menu entry
6.) edit your entry to look like this:
Code:
menuentry "Mac OS X" {
        insmod hfsplus
        search --file --set=root /boot
        multiboot /boot
}
These steps not needed, just for look nice your boot:
7.) boot your mac and if you want edit your com.apple.boot.plist using plist (offcourse as root*) editor
8.) remove any timeout, and instant menu entry (if you have any)
9.) put this
Code:
Quiet Boot = Yes

*how to enable root account:
http://support.apple.com/kb/HT1528
That's it... Enjoy your silent booting OS X from Grub2 ;)
 
(1) Copy chain0 to the root partition of your snow leopard installation.(Extract from a snow leopard installation dvd)

(2) Add this entry to your 40_custom file in grub.d. (\etc\default\grub.d)

menuentry "SNOW LEOPARD" {
insmod hfsplus
set root=(hdx,y)
parttool (hdx,y) boot+
chainloader /chain0
}

(Change x and y to match your snow leopard disk and partition)

(3) Run sudo update-grub from a terminal in whichever os you installed grub from. (Ubuntu 10.4 in my case)

I cannot remember where I found this information, but the credit goes to them if this works for you as it did for me.
 
Status
Not open for further replies.
Back
Top