Hi, Hmmm, still no luck. I tried this with myfile at the top level, but like Goncalo my \ key just prints a space. I tried it with boot hd:7,myfile and that seemed to make it boot. The lines I get are just zeros 00 00 00 00 etc. I tried it with both space and 'x' held down. Rasmus
Ok, I will update my show_of_path.sh script to handle hda always as hd and not ultra0.
That the os-chooser script doesnt work sounds a little bit strange. So it can be a wrong value that simply doesn't match the space bar keycode, or the OF simple can't be used that way to get the keyboard input. The latter needs a little more work, so lets try the first one:
Please create a new os-chooser file with the same contents as the current file and call it myfile. It should have this content:
<CHRP-BOOT> <COMPATIBLE> iMac,1 PowerMac1,1 PowerBook1,1 PowerMac2,1 PowerMac3,1 PowerBook2,1 PowerBook3,1 </COMPATIBLE> <DESCRIPTION> Linux/PPC Yaboot bootloader </DESCRIPTION> <BOOT-SCRIPT> " get-key-map" " keyboard" open-dev $call-method dup 20 dump 5 + c@ 08 = if " Booting MacOS ..." cr " boot hd:7,\\myfile" eval else " Booting Yaboot ..." cr " boot hd:7,\\myfile" eval then </BOOT-SCRIPT> </CHRP-BOOT>
This means it should boot itself. Safe it in the new linuxboot folder on the SuSE volume. The reboot and go to the OpenFirmware prompt with command+option+o+f
printenv show you the current content of some variables, boot-device should be point to hd:7,\\:tbxi. Since hd is an alias it might be a long string to the device.
Now type boot hd:7,\\myfile and press the space bar after you hit return. Keep the space bar pressed. My (newer) Macs boot then this file for a while, maybe a dozen times. Then it stops and it says that the OF can't open hd:7,\\myfile.
but you should have two lines with 00. In the 6th field in the first line should be a 08. this line count starts with 0 and the number 5 is the space bar keycode. I guess you have something different here? Maybe a other value on another position?
Please have a look at this support database article how a modified os-chooser script can look: http://sdb.suse.de/sdb/en/html/olh_ppc_macosx.html
3 + c@ 10 = if means the key x
Please tell me if that helps.
Gruss Olaf
-- $ man clone
BUGS Main feature not yet implemented...