Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Oct 2005 07:40:49 +1000
From:      Peter Grehan <grehan@freebsd.org>
To:        Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no>
Cc:        freebsd-ppc@freebsd.org
Subject:   Re: SMP; autoboot
Message-ID:  <4352C8E1.5090907@freebsd.org>
In-Reply-To: <20051016221757.25173ba2.torfinn.ingolfsen@broadpark.no>
References:  <20051016012933.GB31458@absinthe.tinho.net>	<4351BBF3.8060003@freebsd.org> <20051016221757.25173ba2.torfinn.ingolfsen@broadpark.no>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4352C8E1.5090907>