SMP; autoboot

Peter Grehan grehan at freebsd.org
Sun Oct 16 14:40:54 PDT 2005


Hi Torfinn

> This works good enough. What would be even better, would be a program
> that, when launched from OS X, would restart the machine and boot
> straight into FreeBSD.
> 
> so, any ideas on how to do that?

  At one point I thought it would be possible for an OSX kext to load a 
FreeBSD kernel and jump to it ala the Linux two-kernel-monty, but 
FreeBSD requires a 'clean' system with OpenFirmware resident. Xnu blows 
away OpenFirmware early on in the boot sequence, so that's not possible.

  It could be done with a shell script that nvset's "boot-device" and 
"shutdown -r now", though that needs to be reversed when going FreeBSD->OSX.

  Some of the ppc Linuces have menus in the tbxi files that allow 
selecting between multiple o/s's - that's another approach.

later,

Peter.


More information about the freebsd-ppc mailing list