Date: Thu, 17 Nov 2011 20:50:43 +0400 From: "Andrey V. Elsukov" <ae@FreeBSD.org> To: Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no> Cc: freebsd-ppc@freebsd.org Subject: Re: IBook G4 and FreeBSD 9.0-RC2: unable to create four slices on hard drive? Message-ID: <4EC53B63.2020706@FreeBSD.org> In-Reply-To: <20111117173703.3c633777.torfinn.ingolfsen@broadpark.no> References: <20111116224604.6403be5a.torfinn.ingolfsen@broadpark.no> <4EC4D537.4050704@FreeBSD.org> <4EC5279F.6020608@freebsd.org> <20111117173703.3c633777.torfinn.ingolfsen@broadpark.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On 17.11.2011 20:37, Torfinn Ingolfsen wrote: > On Thu, 17 Nov 2011 09:26:23 -0600 > Nathan Whitehorn <nwhitehorn@freebsd.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EC53B63.2020706>