Snippet: How to Create a Mac Boot Entry in Grub2

If you have just created a dual-boot system with Mac Snow Leopard and Ubuntu Karmic and find that the Grub2 does not boot up your Mac, you can follow the instruction below to add the correct boot entry in Grub2.

Boot into Ubuntu Karmic.

Open a terminal and type:

Add the following to the end of the file:

Save and close the file. Back in the terminal, type:

That’s it. You should now see an extra entry in your Grub screen. Scroll down to the last entry and it will boot into your Mac Snow Leopard.


  1. I was told that running Ubuntu on a MacBook could break its processor and stuff as it cant handle some lowlevel-things about the hardware. Is that true?

    1. The article was not referring to Ubuntu on a Macbook, but Mac on a PC (with Ubuntu). In another word, I am referring to hackintosh.

      So far, I have not been able to dual boot Ubuntu on a Macbook yet.

      1. I am running ubuntu on my 1st gen macbook and it works just fine. :)

        1. So how did you set it up with this then?
          I can’t seem to get it to work :

  2. Hello guys. I have Ideneb 10.5, XP and Ubuntu all on my HDD using Grub2. It doesn't see the Mac OS X on the boot screen. Can someone help me resolve this? I am new to Linux. Thanks

  3. Try the following command in your terminal:

    sudo update-grub

  4. Thanks Damien, I tried it and the list it generates in the terminal window still doesn't show the Mac OS X.

  5. my sl partition is on /dev/sdb2 so i add this :

    menuentry “MacOS X Snow Leopard1” {
    insmod hfsplus
    set root=(hd1,2) #change X to the Mac SL partition
    multiboot /boot

    what is multiboot exact?

    this menuentry dont work for me:(

    perhaps, problem is for chamelone on sl?

  6. It load Chameleon fine but that fails to load Snow Leopard.

  7. Thanx great fix!
    I had to use hd0,1 instead of hd0,2 which was where my mac snowleopard partition was located.

    Just out of curiosity, what does multiboot mean?

  8. how to build grub2 on mac os x?

Comments are closed.