From owner-freebsd-ppc@FreeBSD.ORG Fri Apr 10 14:33:33 2009 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB7B0106566C for ; Fri, 10 Apr 2009 14:33:33 +0000 (UTC) (envelope-from freebsd@fahrners.de) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.freebsd.org (Postfix) with ESMTP id 9F9D58FC08 for ; Fri, 10 Apr 2009 14:33:33 +0000 (UTC) (envelope-from freebsd@fahrners.de) Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id 3644F31531F; Fri, 10 Apr 2009 10:33:33 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute2.internal (MEProxy); Fri, 10 Apr 2009 10:33:33 -0400 X-Sasl-enc: khntwogpki/DVlmnbJuvYqc/cjaxseTM+CJwSMiyAn9J 1239374012 Received: from [192.168.1.10] (ppp-93-104-111-236.dynamic.mnet-online.de [93.104.111.236]) by mail.messagingengine.com (Postfix) with ESMTPSA id AE958364A4 for ; Fri, 10 Apr 2009 10:33:32 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v753.1) In-Reply-To: <20090410131605.700093df@gluon.draftnet> References: <6AB5FC9B-EECF-40AB-8610-254AA42A6BD3@fahrners.de> <20090410131605.700093df@gluon.draftnet> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <8D29BAF5-D11A-45FC-B655-5293E385ACFC@fahrners.de> Content-Transfer-Encoding: 7bit From: Jochen Fahrner Date: Fri, 10 Apr 2009 16:33:28 +0200 To: freebsd-ppc@freebsd.org X-Mailer: Apple Mail (2.753.1) Subject: Re: Installation fails after creating disklabel 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: Fri, 10 Apr 2009 14:33:34 -0000 Am 10.04.2009 um 14:16 schrieb Bruce Cran: > There's also a PR about this: > http://www.freebsd.org/cgi/query-pr.cgi?pr=powerpc/93203 > Yes, that's the problem. > I think the issue is that fdisk doesn't know how to deal with the > Apple > Partition Map (http://en.wikipedia.org/wiki/Apple_Partition_Map). > Hopefully things will be better with 8.0 since it'll use gpart for > partitioning. fdisk and disklabel are two separate things. fdisk splits the disk into slices. disklabel splits the slice into partitions. The terms are a bit confusing: "Partitions" in the Windows world are "slices" in the BSD world. There is no fdisk for the PPC, so you have to use Apple disk utility for creating slices. Disklabel should work exactly as on i386 platforms. IMHO the problem with disklabel is the following: the partitions have the same device names as the slices, so mounting the second partitions goes wrong. I used slice ad0s5 for my BSD. So disklabel should generate partitions ad0s5p1, ad0s5p2, ad0sp3 and so on. Instead it generates ad0s5 for all the partitions. That's the problem. Jochen