On Friday, November 15, 2002, at 11:25 AM, Stew Benedict wrote:

Ok, I had to reinstall OS X on my G4 the other day and it reset OF and
I suspect messed with yaboot as well. When I boot my G4 now, it takes
me right into OS X. So I thew my 8.2 CD in to boot into rescue mode,
chrooted /mnt, and tried to run ybin. It tells me that
/usr/local/yaboot/yaboot doesn't exist; the /usr/local/yaboot directory
does exist, but there is nothing in it.

I had to mount /proc in the chroot to eliminate an error about being
unable to write to nvram (setting OF settings I bet), but I can't
figure out what's going on here. Trying to look at my G3 doesn't help
because the layout for yaboot is a little different.

Any ideas how I can get my cooker install back up and running without
doing a reinstall of it as well?

If it's recent cooker, yaboot/ybin files have been moved:

[stew@powerbook stew]$ rpm -ql yaboot
/etc/yaboot.conf
/usr/lib/yaboot/addnote
/usr/lib/yaboot/ofboot
/usr/lib/yaboot/yaboot
/usr/sbin/mkofboot
/usr/sbin/ofpath
/usr/sbin/yabootconfig
/usr/sbin/ybin
Ahhh... ok, I found the problem. My 8.2-generated yaboot.conf was referencing /usr/local still for the yaboot directory. On the upgrade, it wasn't changed and I didn't notice the change.

Maybe there should be a %post script in yaboot to check /etc/yaboot.conf to make sure that install= and magicboot= are pointing to the correct directory. And do some perl magic if they aren't.

--
MandrakeSoft Security; http://www.mandrakesecure.net/
"lynx -source http://linsec.ca/vdanen.asc | gpg --import"
{FE6F2AFD: 88D8 0D23 8D4B 3407 5BD7 66F9 2043 D0E5 FE6F 2AFD}

Attachment: PGP.sig
Description: PGP signature

Reply via email to