From owner-freebsd-ppc@FreeBSD.ORG Thu Jan 27 04:07:08 2005 Return-Path: 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 43A6716A4CE for ; Thu, 27 Jan 2005 04:07:08 +0000 (GMT) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FDFF43D31 for ; Thu, 27 Jan 2005 04:07:07 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from [203.144.31.113] (CPE-31-113.dsl.onthenet.net [203.144.31.113]) j0R476nP043814; Thu, 27 Jan 2005 14:07:06 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <41F86A24.4030800@freebsd.org> Date: Thu, 27 Jan 2005 14:12:20 +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: Garance A Drosihn References: <41F170F1.2010701@finnovative.net> <41F48ACF.1050209@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ppc@freebsd.org Subject: Re: Mac mini and FreeBSD - some initial details X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jan 2005 04:07:08 -0000 Hi Garance, Oops, meant to respond to this: >> I haven't mucked around too much with this, but I suspect you need >> a Forth script similar to src/release/powerpc/boot.tbxi which would >> live on the default boot partition. Then, you could setenv the >> 'boot-command' variable in OpenFirmware to boot with this file. > > Hmm. Is there somewhere which would document what openfirmware > commands I might have to play with? No real documentation, but you can modify the CD boot script without much trouble. e.g. Copy /boot/boot.tbxi to the OSX root dir, and change the lines from: " screen" output boot cd:,\boot\loader cd:0 to " screen" output boot hd:9,\loader hd:5 ... assuming that OSX is on partition 9 and FreeBSD is on 5. At this point, you can boot from the OpenFirmware prompt with 0 > boot hd:9,\boot.tbxi and, you can set up an automatic boot with 0 > setenv boot-device hd:9,\boot.tbxi 0 > reset-all ... which will then reboot. This doesn't work on my eMac, but then, CD auto-boot doesn't either. But, since it worked OK on the mini I'm confident the above will also work there. later, Peter.