From owner-freebsd-ppc@FreeBSD.ORG Sun Oct 16 21:40:54 2005 Return-Path: X-Original-To: freebsd-ppc@freebsd.org Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 84BEC16A421 for ; Sun, 16 Oct 2005 21:40:54 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from cayenne.onthenet.com.au (cacheflow.OntheNet.com.au [203.22.124.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id C7C2543D68 for ; Sun, 16 Oct 2005 21:40:51 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from [203.144.18.185] (CPE-18-185.dsl.OntheNet.net [203.144.18.185]) by cayenne.onthenet.com.au (Postfix) with ESMTP id E02B0759684; Mon, 17 Oct 2005 07:40:49 +1000 (EST) Message-ID: <4352C8E1.5090907@freebsd.org> Date: Mon, 17 Oct 2005 07:40:49 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Torfinn Ingolfsen References: <20051016012933.GB31458@absinthe.tinho.net> <4351BBF3.8060003@freebsd.org> <20051016221757.25173ba2.torfinn.ingolfsen@broadpark.no> In-Reply-To: <20051016221757.25173ba2.torfinn.ingolfsen@broadpark.no> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: SMP; autoboot X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Oct 2005 21:40:54 -0000 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.