IBook G4 and FreeBSD 9.0-RC2: unable to create four slices on
hard drive?
Andrey V. Elsukov
ae at FreeBSD.org
Thu Nov 17 16:50:47 UTC 2011
On 17.11.2011 20:37, Torfinn Ingolfsen wrote:
> On Thu, 17 Nov 2011 09:26:23 -0600
> Nathan Whitehorn <nwhitehorn at 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
More information about the freebsd-ppc
mailing list