Jump to content

Adding OS X in Ubuntu's GRUB?


Mebster
 Share

3 posts in this topic

Recommended Posts

I installed XP, OS X and then Ubuntu so that I've got grub loaded.

 

The GRUB shows all 3 Ubuntu options to go into and also XP under "other operating systems", but no OS X.

 

How do I get OS X to be reconised by GRUB?

 

I've looked at the wiki and found one tutorial but that didn't seem to work, or maybe I was doing it wrong. Sorry, new to Linux.

 

 

--------------------------

And btw do I need the three Ubuntu options in GRUB? Just seems like to many and it clutteres the boot menu.

Link to comment
Share on other sites

Boot into Ubuntu and edit /boot/grub/menu.lst: sudo nano /boot/grub/menu.lst

add the following lines to the end:

title MacOSX

root (hd0,1)

makeactive

chainloader --force +1

 

The second line you have to specify the partition for your Mac OSX. Check it through:

sudo fdisk -l

 

/dev/sda2 is (hd0,1); /dev/sdb3 is (hd1,2)

 

Change the title line to anything you like, for Windows partition, change it to something like "Windows XP"

Link to comment
Share on other sites

Boot into Ubuntu and edit /boot/grub/menu.lst: sudo nano /boot/grub/menu.lst

add the following lines to the end:

title MacOSX

root (hd0,1)

makeactive

chainloader --force +1

 

The second line you have to specify the partition for your Mac OSX. Check it through:

sudo fdisk -l

 

/dev/sda2 is (hd0,1); /dev/sdb3 is (hd1,2)

 

Change the title line to anything you like, for Windows partition, change it to something like "Windows XP"

Hi fishyeah, thanks for the great post. Really helped a lot mate. I guess sudo nano /boot/grub/menu.lst and sudo gedit /boot/grub/menu.lst do the same thing.

 

Anyway thanks again.

Link to comment
Share on other sites

 Share

×
×
  • Create New...