From owner-freebsd-ppc@FreeBSD.ORG Sun Mar 20 18:20:22 2011 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 ED3731065678 for ; Sun, 20 Mar 2011 18:20:22 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from thalia-smout.broadpark.no (thalia-smout.broadpark.no [80.202.8.21]) by mx1.freebsd.org (Postfix) with ESMTP id A323B8FC1F for ; Sun, 20 Mar 2011 18:20:22 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from terra-smin.broadpark.no ([80.202.8.13]) by thalia-smout.broadpark.no (Sun Java(tm) System Messaging Server 7u3-15.01 64bit (built Feb 12 2010)) with ESMTP id <0LID005UXC9XXH40@thalia-smout.broadpark.no> for freebsd-ppc@freebsd.org; Sun, 20 Mar 2011 19:20:21 +0100 (CET) Received: from kg-v2.kg4.no ([84.48.120.215]) by terra-smin.broadpark.no (Sun Java(tm) System Messaging Server 7u3-15.01 64bit (built Feb 12 2010)) with SMTP id <0LID008FCC9XH1H0@terra-smin.broadpark.no> for freebsd-ppc@freebsd.org; Sun, 20 Mar 2011 19:20:21 +0100 (CET) Date: Sun, 20 Mar 2011 19:20:20 +0100 From: Torfinn Ingolfsen To: freebsd-ppc@freebsd.org Message-id: <20110320192020.9273e00d.torfinn.ingolfsen@broadpark.no> In-reply-to: <0EF02E68-7815-46D4-974F-DB82E01572B7@gmail.com> References: <20110320113233.86992c04.torfinn.ingolfsen@broadpark.no> <0EF02E68-7815-46D4-974F-DB82E01572B7@gmail.com> X-Mailer: Sylpheed 3.1.0 (GTK+ 2.22.1; amd64-portbld-freebsd8.1) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Subject: Re: OT: resize a FreeBSD slice on a hard drive in a PPC Mac? 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: Sun, 20 Mar 2011 18:20:23 -0000 On Sun, 20 Mar 2011 13:20:37 -0400 Justin Hibbits wrote: > On Mar 20, 2011, at 6:32 AM, Torfinn Ingolfsen wrote: > > > Hello, > > > > Which tool can I use to resize a partition / slice on a hard drive > > in a PowerPC Mac? > > The layout on my FreeBSD hard drive in my G5 currently looks like > > this: > > root@kg-g5# gpart show ad0 > > => 18 625142430 ad0 APM (298G) > > 18 1600 1 apple-boot (800K) > > 1618 616562688 2 freebsd-ufs (294G) > > 616564306 8388608 3 freebsd-swap (4.0G) > > 624952914 189534 - free - (93M) > > > > I want to have several versions of FreeBSD on it, and thus need to > > resize it. > > Normally I would just use GNU parted for this, but haven't been able > > to locate a image with that on which will boot on a PPC mac. > > > > If not possible I will have to reinstall everything. > > -- > > Torfinn > > Be careful, by default APM will only support 8 partitions. So if you > need more than 8 in total you'll need to start over. Really? I didn't know that. Thanks! Well, it means I have 5 left now: root@kg-g5# gpart show ad0 => 18 625142430 ad0 APM (298G) 18 1600 1 apple-boot (800K) 1618 155189248 2 freebsd-ufs (74G) 155190866 8388608 3 freebsd-swap (4.0G) 163579474 461562974 - free - (220G) (if I can figure out the multiboot, that is) -- Torfinn