From owner-freebsd-ppc@FreeBSD.ORG Mon Jan 24 06:00:36 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 6B0E016A4CF; Mon, 24 Jan 2005 06:00:36 +0000 (GMT) Received: from smtp4.server.rpi.edu (smtp4.server.rpi.edu [128.113.2.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA82343D45; Mon, 24 Jan 2005 06:00:35 +0000 (GMT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp4.server.rpi.edu (8.13.0/8.13.0) with ESMTP id j0O60XUx007504; Mon, 24 Jan 2005 01:00:34 -0500 Mime-Version: 1.0 Message-Id: In-Reply-To: <41F48ACF.1050209@freebsd.org> References: <41F170F1.2010701@finnovative.net> <41F48ACF.1050209@freebsd.org> Date: Mon, 24 Jan 2005 01:00:32 -0500 To: Peter Grehan From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-CanItPRO-Stream: default X-RPI-SA-Score: undef - spam-scanning disabled X-Scanned-By: CanIt (www . canit . ca) 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 06:00:36 -0000 At 3:42 PM +1000 1/24/05, Peter Grehan wrote: >Hi Garance, Hello again.. thanks for all the quick replies! :-) >>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 Mine seems to be partition 3. I do have another install of MacOS on partition 3, but the default-one (as set by "Startup Disk") was pointing at the one on partition 9. It is probably true that I installed MacOS on partition 3 before partition 9. Note that partition 3 is a stripped-down install, so maybe it's missing something. partition 9 is the full-install of MacOS. > .. and the contents found with: > >0 > dir hd: This tells me "dir hd: DIR method failed" > Also, try: > >0 > printenv boot-device Mine is: pci2/ata-6@D/@0:9,\\:tbxi hd:,\\: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. Hmm. Is there somewhere which would document what openfirmware commands I might have to play with? -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu