[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Yaboot won't boot OS X with Ubuntu/OS X dual boot Power Mac G5.



On 24. jan 2006, at 9.41, Charles Plessy wrote:

On Tue, Jan 24, 2006 at 09:06:08AM +0100, Brian Durant wrote :
OK, now I have gotten Ubuntu installed and running on my Power Mac
G5. However, I have run into a problem with Yaboot and OS X. Yaboot
simply can't load OS X. it tries, and the screen flickers, but
nothing happens. After three tries, it says something like "booting
Mac OS X..." and nothing works, so I have to do a hard shutdown and
then unplug my #1 drive, which is where Ubuntu PPC is installed..

Any ideas will be appreciated.

Well, the debian-installer works, provided that you upgrade yaboot to
the one from the unstable distribution. So if you do not have important
data on your ubuntu, you could install a debian sarge instead. This is
what I have at home and booting osX was not a problem.

I have documented how I installed sarge on my mac on the following
installation report.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=340980

Also, if you are lucky, you might find a working yaboot.conf in the
debian bugs or the list archives.

Lastly, here is the debian installation manual, which might contain
useful stuff related to your problem.

http://www.debian.org/releases/stable/powerpc/index

(By the way, I have no macintosh background, but I wonder wether
pressing the option after reset would start another boot selector which
is not yaboot...)

Best, and good luck !

--
Charles

Thanks Charles. No, I didn't find anything that would work for me and my yaboot problem. I have also been looking at http://penguinppc.org/bootloaders/yaboot/doc/yaboot-howto.shtml/ ch9.en.shtml, but unfortunately nothing that I understand that could help. While installing a vanilla Debian system is tempting (I have even downloaded the netinstall iso), I have a working Ubuntu system and even though it is somewhat fiddly at this point, it is working and seems a waste throwing all that time and effort out of the window :-( Not to mention, that Ubuntu Dapper Flight 3 PPC is the first version of Linux that I have actually gotten to boot without crashing.

I honestly believe it is simply a configuration issue, so in the hope that someone else on the list picks up on this thread, I am including my yaboot.conf file content at the end o this mail.

Cheers,

Brian

---

## 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/sda2
device=/ht@0,f2000000/pci@3/k2-sata-root@c/k2-sata@0/disk@0:
partition=3
root=/dev/sda3
timeout=100
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
enablecdboot

# to boot OSX by default
# to boot linux by default, change to defaultos=linux
defaultos=macosx

macosx=/dev/sdb3

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"

Here is the output of mkofboot:

ubuntu@ubuntu:~$ sudo mkdir /mnt/linux
ubuntu@ubuntu:~$ sudo mount -t ext3 /dev/sda3 /mnt/linux
ubuntu@ubuntu:~$ sudo mkofboot --config /mnt/linux/etc/yaboot.conf -v
mkofboot: Finding OpenFirmware device path to `/dev/sda2'...
mkofboot: Finding OpenFirmware device path to `/dev/sdb3'...

mkofboot: Create hfs filesystem on /dev/sda2? [y/N] y
mkofboot: Creating HFS filesystem on /dev/sda2...
mkofboot: Installing first stage bootstrap /usr/lib/yaboot/ofboot onto /dev/sda2... mkofboot: Installing primary bootstrap /usr/lib/yaboot/yaboot onto / dev/sda2...
mkofboot: Installing /mnt/linux/etc/yaboot.conf onto /dev/sda2...
mkofboot: Setting attributes on ofboot...
mkofboot: Setting attributes on yaboot...
mkofboot: Setting attributes on yaboot.conf...
mkofboot: Blessing /dev/sda2 with Holy Penguin Pee...
mkofboot: Updating OpenFirmware boot-device variable in nvram...
mkofboot: Installation complete.



Reply to: