dual boot hoary-macosx

Colin Watson cjwatson at ubuntu.com
Mon Jan 9 12:26:24 UTC 2006


On Mon, Jan 09, 2006 at 01:11:46PM +0100, Eduardo Sáenz de Cabezón wrote:
> i have installed ubuntu /hoary) on an imac G3, I would like to know how
> to configure the system to choose wether to boot ubuntu or macosx. My
> yaboot.conf file is the following:
> 
> ## yaboot.conf generated by the Ubuntu installer
> ##
> ## run: "man yaboot.conf" for details. Do not make changes until you
> have!!
> ## see also: /usr/share/doc/yaboot/examples for example configurations.
> ##
> ## For a dual-boot menu, add one or more of:
> ## bsd=/dev/hdaX, macos=/dev/hdaY, macosx=/dev/hdaZ
[...]
> I would like to know what should I exactly add to this file, how to know
> which hdaZ to add, if I have to do something else...

'sudo fdisk -l /dev/hda'; among other things, you should see a line a
bit like this:

/dev/hda13              Apple_HFS Mac OS X            10554321 @ 91845680  (  5.0G)  HFS

Take the device name from the start (in my case, /dev/hda13) and put it
in a macosx= line at the bottom of /etc/yaboot.conf. Your yaboot.conf
would therefore end like this:

image=/boot/vmlinux.old
      label=old
      read-only
      initrd=/boot/initrd.img.old
      append="quiet splash"

macosx=/dev/hda13

Now run 'sudo ybin -v' and reboot.

Cheers,

-- 
Colin Watson                                       [cjwatson at ubuntu.com]




More information about the ubuntu-users mailing list