From owner-freebsd-ppc@FreeBSD.ORG Tue Jul 5 21:06:01 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 DC00416A41C; Tue, 5 Jul 2005 21:06:01 +0000 (GMT) (envelope-from drosih@rpi.edu) Received: from smtp4.server.rpi.edu (smtp4.server.rpi.edu [128.113.2.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96E3943D4C; Tue, 5 Jul 2005 21:06:01 +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 j65L5tRj020748; Tue, 5 Jul 2005 17:05:57 -0400 Mime-Version: 1.0 Message-Id: In-Reply-To: <42CA05D9.7000203@freebsd.org> References: <2e583cb2.155ae389.819d300@dommail.onthenet.com.au> <42CA05D9.7000203@freebsd.org> Date: Tue, 5 Jul 2005 17:05:55 -0400 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) on 128.113.2.4 Cc: freebsd-ppc@freebsd.org Subject: Re: FreeBSD-ppc on an external hdd (Mac Mini) 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: Tue, 05 Jul 2005 21:06:02 -0000 At 2:00 PM +1000 7/5/05, Peter Grehan wrote: > >>Could we do that with GPT-style partitions, instead of a single >>APM-stype partition? > > OpenFirmware doesn't understand GPT. An APM-formatted drive is >always needed to boot from, with one of those slices formatted in >either HFS+ or ISO9660 for OpenFirmware to load the FreeBSD stage2 >loader. > >Now, it would be possible to carve up an APM slice with GPT into >partitions. Yes, that is the direction I was thinking of. >There is loader work required to support this. However, since >the disk has to be re-sliced anyways to support FreeBSD, I've >taken the lazy approach and thought it's easy at that point just >to add a couple of extra APM slices for var/swap/whatever than >do the loader GPT work. > >What do users think? How would you folks like to see the install? I'd like to stick with the idea of letting the MacOS DiskUtility.app do whatever it wants for creating APM-style partitions, and then we just steal a partition that it has created (the same way OpenBSD seems to). I'm a bit uneasy, for instance, that DiskUtility seems to create two APM partitions on the disk for every volume that I ask the app to create. I think we'd be better off if we don't try to second- guess what Apple thinks is on those alternate partitions. At the same time, I'd like to be able to re-arrange my freebsd/ppc partitions without having to reboot into MacOS. I don't mind which kind of partitions we stuff inside the APM-partition (slice?) that we steal for installing FreeBSD, but I keep hearing that GPT is the great and wonderful way for doing lots of partitions. So, maybe that is the way to go. In a separate message on 7/5/05, Peter Grehan wrote >>The thing is, I actually have more partitions than that. >>MacOS sees them all, but FreeBSD only lists the first 16? > > This is an artificial limitation in geom/geom_apple.c: > >> #define NAPMPART 16 /* Max partitions */ > > I'll bump this up to 48 or so. Thanks! -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu