Jump to content

Adding OS X in Ubuntu's GRUB?


  • Please log in to reply
2 replies to this topic

#1
Mebster

Mebster

    Why So Ridiculous?

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 2,300 posts
  • Gender:Female
  • Location:1998
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.

#2
fishyeah

fishyeah

    InsanelyMac Protégé

  • Members
  • Pip
  • 39 posts
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"

#3
Mebster

Mebster

    Why So Ridiculous?

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 2,300 posts
  • Gender:Female
  • Location:1998

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.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

© 2017 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy