Hi, Its been known and pointed out that ybin's dual boot support for BSD has been broken. Fixing it nicely requires better config file parsing which I have come to the conclusion simply isn't possible in posix sh (everything i try ends up replacing one set of deficiencies with a different set). So eventually I will rewrite ybin in C which will let me improve some other aspects as well. In the meantime I have fixed it up to support BSD in a non-broken, but still somewhat limited way: Version 1.3.3 changes the semantics of the bsd= option as follows: * It must now be set to the BSD root partition, not a bootstrap * partition. When the bsd= option is present ybin will install /usr/local/lib/yaboot/ofwboot onto the bootstrap partition, you must install a copy of the BSD bootloader in this location yourself (you can put it in /usr/lib/yaboot/ also if you wish) * the dual boot menu will then execute "ofwboot <bsdroot>,/bsd" from the same bootstrap partition yaboot lives on. This means your BSD kernel must be located at /bsd, this is the OpenBSD default last i checked. Until ybin gets better config file parsing (read is rewritten) this is the best i can do, I am not willing to add more cruft config file options. (as i have said in the past this current macos/bsd/macosx system is lame and should be replaced by a generic syntax). These changes are a part of yaboot-1.3.3 which i have just released. http://www.alaska.net/~erbenson/yaboot http://master.penguinppc.org/usr/yaboot -- Ethan Benson http://www.alaska.net/~erbenson/
Attachment:
pgpPx_sU6o4SD.pgp
Description: PGP signature