Jump to content
16 posts in this topic

Recommended Posts

I assume here that you installed Ubuntu AFTER OS X, so that you see GRUB as your Boot loader or directly boots UBUNTU?

 

In this case, just add a boot entry to the grub menu, usually in /boot/grub/menu.lst

 

First, uncomment these 2 lines (remove the "#" in front):

 

#timeout=5

#hiddenmenu

 

Then you have to add an entry for OS X similar to this:

 

title Mac OS X

rootnoverify (hd0,X) <<<===== THE X HAS TO BE REPLACED WITH YOUR OS X PARTITION NUMBER!!!!

makeactive

chainloader +1

 

That should do it..

 

Have Fun

 

Henri

thanks for your help but im still stuck....i have this in my boot/grub/menu.list

 

title		Ubuntu 9.04
uuid		fb8c6984-e439-4427-b2e0-ef3e4555683a
kernel		/boot/vmlinuz-2.6.28-11-generic root=UUID=fb8c6984-e439-4427-b2e0-ef3e4555683a ro quiet splash 
initrd		/boot/initrd.img-2.6.28-11-generic
quiet

title		Mac OS X 10.5.5
rootnoverify	(hd0,6)
makeactive
chainloader +1

title		Ubuntu 9.04 (recovery mode)
uuid		fb8c6984-e439-4427-b2e0-ef3e4555683a
kernel		/boot/vmlinuz-2.6.28-11-generic root=UUID=fb8c6984-e439-4427-b2e0-ef3e4555683a ro  single
initrd		/boot/initrd.img-2.6.28-11-generic

title		Ubuntu 9.04, memtest86+
uuid		fb8c6984-e439-4427-b2e0-ef3e4555683a
kernel		/boot/memtest86+.bin
quiet

 

and i get "Error 12: Invalid device requested"

Disk /dev/sda: 250.0 GB, 250059350016 bytes

255 heads, 63 sectors/track, 30401 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Disk identifier: 0x000123d5

 

Device Boot Start End Blocks Id System

/dev/sda1 1 244 1959898+ 83 Linux

/dev/sda2 245 30401 242236102+ 5 Extended

/dev/sda5 245 15286 120824833+ 83 Linux

/dev/sda6 * 15287 29367 113105601 af Unknown

/dev/sda7 29368 30401 8305573+ 82 Linux swap / Solaris

Maybe try this :

 

You'll need to copy the Chameleon boot file though (see below).

 

I grabbed the boot file while I was in Linux from within the root of my OSX install. Then copy/rename the boot file to "/boot/chameleon" or whatever you like on your Ubuntu box. Then add a GRUB entry in /boot/grub/menu.lst:

title   Apple OS X 10.5 Leopard
					 kernel   (hd0,0) /boot/chameleon

 

Change the (hd0,0) to your Linux partition.

 

 

EDIT: I also came across this which may help

<i>title</i> OSx86
   root (hd0,0)
   makeactive
   chainloader +1

   <i>title</i> is the name GRUB will display for the OS. This can be  anything you want, mine's been called several things such as  'Hackintosh', 'OSx86' and 'Mac OS X 10.5'. Whatever you're comfortable  with really.

   <i>root</i> tells GRUB what to boot. The command we told it was <i>(hd0,0)</i>  which is saying to GRUB "Boot from the first harddrive (hd0), using the  first partition (,0)". And this is the bit that'll cause the most  trouble. When I was following a tutorial on how to get GRUB to  recognise OSx86, I was told to type (hd0,1) which is obviously a  completely different partition. If you attempt to boot into OSx86 and  you get a message along the lines of <i>"Error 15: Invalid Device"</i> just go back into the GRUB menu.lst and change the partition number. Keep changing it until you boot properly

Your not editing any files on your Mac partition. In Ubuntu run nautilus as root from the CLI/Terminal type

sudo nautilus

then type your password & navigate to your mac partition. Once there do what you need to (read the above) & if you need to edit any files on your Ubuntu partition (menu.lst etc.) just right click in Nautilus while still running as root & you should be fine..

i copied the boot file into a folder and drug it into the mac location and it said the destination is read-only...

 

Re-read the above posts: your not copying anything back into the Mac partition. Your copying from Mac to Ubuntu then editing the files as stated above then copying or moving the files as root to a destination (as stated above) on your Ubuntu..

×
×
  • Create New...