From owner-freebsd-ppc@FreeBSD.ORG Mon Jan 24 05:37:25 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 BDAA916A4CE for ; Mon, 24 Jan 2005 05:37:25 +0000 (GMT) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B3C543D45 for ; Mon, 24 Jan 2005 05:37:25 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from [203.144.31.113] (CPE-31-113.dsl.onthenet.net [203.144.31.113]) j0O5bNnP033406; Mon, 24 Jan 2005 15:37:23 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <41F48ACF.1050209@freebsd.org> Date: Mon, 24 Jan 2005 15:42:39 +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> 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: Mon, 24 Jan 2005 05:37:25 -0000 Hi Garance, > b) Boot into OSX and copy /boot/loader from the miniinst CD > into / on OSX. Reboot, break into OpenFirmware, and > > 0 > boot hd:loader hd:11 > > I couldn't get the second one to work for me. In my case, I have > a MacOS 10 install on hd #9, with freebsd on hd #5. The following > did seem to work: > > 0 > boot hd:9,loader hd:5 The "hd:" without a partition number signifies the default bootable partition on the drive. The value can be seen at the OFW prompt with 0 > printenv boot-volume .. and the contents found with: 0 > dir hd: Also, try: 0 > printenv boot-device On my Powerbook, this is "hd:,\\:tbxi", which means to go to the default directory ('\\') on the default partition, and load the file of type 'tbxi'. > I have tried to come up with some kind of trick where I could select > a MacOS 10 partition, and have the machine boot up the freebsd boot > loader instead of the MacOS 10 kernel, but none of those tricks have > worked... 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. later, Peter.