From owner-freebsd-ppc@FreeBSD.ORG Thu Nov 17 16:50:47 2011 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id B08FE106566C for ; Thu, 17 Nov 2011 16:50:47 +0000 (UTC) (envelope-from ae@FreeBSD.org) Received: from [127.0.0.1] (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id D7FCF14FCDB; Thu, 17 Nov 2011 16:50:46 +0000 (UTC) Message-ID: <4EC53B63.2020706@FreeBSD.org> Date: Thu, 17 Nov 2011 20:50:43 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.17) Gecko/20110429 Thunderbird/3.1.10 MIME-Version: 1.0 To: Torfinn Ingolfsen References: <20111116224604.6403be5a.torfinn.ingolfsen@broadpark.no> <4EC4D537.4050704@FreeBSD.org> <4EC5279F.6020608@freebsd.org> <20111117173703.3c633777.torfinn.ingolfsen@broadpark.no> In-Reply-To: <20111117173703.3c633777.torfinn.ingolfsen@broadpark.no> X-Enigmail-Version: 1.1.2 OpenPGP: id=10C8A17A Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: IBook G4 and FreeBSD 9.0-RC2: unable to create four slices on hard drive? 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: Thu, 17 Nov 2011 16:50:47 -0000 On 17.11.2011 20:37, Torfinn Ingolfsen wrote: > On Thu, 17 Nov 2011 09:26:23 -0600 > Nathan Whitehorn wrote: > >> APM partition maps have a preprogrammed max size -- Apple's Disk Utility >> often sets it to a very small number (4) when making disks with only one >> partition. To fix it, you need to reformat the drive completely. > > Crap. No way to fix the problen without reformatting? What happens if I try to add more partitions in > Apple's Disk Utility? > Must be tested. BRB You can try to boot from FreeBSD live-cd and use `gpart backup` command to save you partition table. Then you can change number of entries and restore your table. So, something like: # gpart backup ada0 > /tmp/ada0.backup Now edit /tmp/ada0.backup and change line "APM X" to "APM 16". # gpart restore -lF -f x ada0 < /tmp/ada0.backup Now check that all is ok and if so - commit changes # gpart show ada0 # gpart commit ada0 -- WBR, Andrey V. Elsukov