dual boot hoary-macosx

James Tappin sjt at star.sr.bham.ac.uk
Mon Jan 9 12:33:40 UTC 2006


On Mon, 09 Jan 2006 13:11:46 +0100
Eduardo Sáenz de Cabezón <eduardo.saenz-de-cabezon at dmc.unirioja.es>
wrote:

ESDC> hi, 
ESDC> i have installed ubuntu /hoary) on an imac G3, I would like to
ESDC> know how to configure the system to choose wether to boot ubuntu
ESDC> or macosx. My yaboot.conf file is the following:

<snip E's yaboot.conf file>

ESDC> I would like to know what should I exactly add to this file, how
ESDC> to know which hdaZ to add, if I have to do something else...
ESDC> 
ESDC> Thanks for your help
ESDC> 
ESDC> 

The following is my yaboot.conf (ibook G3). 

## 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

boot=/dev/hda2
device=/pci at f2000000/mac-io at 17/ata-4 at 1f000/disk at 0:
partition=11
root=/dev/hda11
timeout=100
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
enablecdboot
macosx=/dev/hda12

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

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

If you don't recall which partition number MacOS X is on, you'll need to
use mac-fdisk to look at the partition table and find the HFS+
partition. I think you need to run:

sudo ybin

after modifying the file.

James

-- 
+------------------------+-------------------------------+---------+
| James Tappin           | School of Physics & Astronomy |  O__    |
| sjt at star.sr.bham.ac.uk | University of Birmingham      | --  \/` |
| Ph: 0121-414-6462. Fax: 0121-414-3722                  |         |
+--------------------------------------------------------+---------+




More information about the ubuntu-users mailing list