I was responding more about the "ofboot" parameter, not the "enableofboot" option which gets an openfirmware shell. But I think it is still relevant to your yaboot.conf - some suggestions -
1. Check the real yaboot.conf:
The ybin error message means ybin failed to update the (/dev/hda9) bootstrap partition version of yaboot.conf because ofpath failed , so it is an unknown. Mount the partition and read yaboot.conf to see what you have got there, (do all this from your good system, where you have /etc/yaboot.conf, and from where you run ybin).
2. Check ofpath outout:
Then check out ofpath against your partition list, on your various partitions and drives to see if it is bugged for your system - or maybe you are giving it wrong linux device names (sd hd ??); possibly it has a problem with scsi. It must return valid openfirmware paths for ybin to succeed. It seems to be having a problem with /dev/sda2.
3. If you dont have a problem with ofpath:
Then save your existing yaboot.conf and try generating a new minimal version using yabootconfig. This will not cover all the other systems, just get debian booting, you can use it as a base to add stuff.
4. If ofpath is returning garbage, you will have to either (a) do your own yaboot.conf.
complete with open firmware paths, and install it or (b) see if my patched version of ofpath fixes it -
If you can get a patched version of ofpath running with the yaboot installer, that should pick up all the other linux systems, I think that can be done from an installed system, but forget how.
Here for your entertainment is a copy of my successful ybin output (no scsi, only 2 sata, and G5 power mac), using patched ofpath, may provide some clues -
(More detail if you run ybin -v --debug).
admax@bigmac:~/bootsda2/revs$ sudo ybin -v
ybin: Finding OpenFirmware device path to `/dev/sda2'...
ybin: Finding OpenFirmware device path to `/dev/sdb3'...
ybin: Installing first stage bootstrap /usr/lib/yaboot/ofboot onto /dev/sda2...
ybin: Installing primary bootstrap /usr/lib/yaboot/yaboot onto /dev/sda2...
ybin: Installing /etc/yaboot.conf onto /dev/sda2...
ybin: Setting attributes on ofboot...
ybin: Setting attributes on yaboot...
ybin: Setting attributes on yaboot.conf...
ybin: Blessing /dev/sda2 with Holy Penguin Pee...
ybin: Updating OpenFirmware boot-device variable in nvram...
and the boot partition file listing -
and a current yabbot.conf I am using -
admax@bigmac:~/bootsda2/revs$ mkdir sda2
admax@bigmac:~/bootsda2/revs$ sudo mount /dev/sda2 sda2
admax@bigmac:~/bootsda2/revs$ ls -l sda2
-rw-r--r-- 1 root root 3261 2008-04-23 23:52 ofboot.b
-rw-r--r-- 1 root root 153124 2008-04-23 23:52 yaboot
-rw-r--r-- 1 root root 862 2008-04-23 23:52 yaboot.conf
When there are several systems, it is best to put the 2 parameters device= and partition= in the individual image sections rather than the global stuff, the important thing is to get a solid yaboot.conf and bootstrap partiton in one controlling linux system.
# edited pxw 24apr2008
## 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