View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide

osx and linux

to create partitions on a newworld mac running osx and linux, either create them with the osx drive setup tool or use the linux partitioner.
partitioning in macosx will not give you a Bootstrap partition and leave several hundred MB free between the partitions, so the way to go is the linux partitioner.


a typical setup will look like this:

1 Apple Partition Map
2 Apple Bootstrap
3 Apple_HFS osx
4 Apple_UNIX_SVR2 swap
5 Apple_UNIX_SVR2 linux

the linux swap partition HAS to be named 'swap', the other names like 'linux' and 'osx' are irrelevant.
The partition types are important, enter them exactly like above.

the ? gives a brief help, whenever you are happy with your disk layout, press 'w' to write the new partition table and destroy whatever had been on the disk before.

seriously fucked partition tables can be 'blanked out' before partitioning (this also destroys everything, pretending to have a virgin harddisk):
dd if=/dev/zero of=/dev/hda bs=512 count=1

this overwrites the first 512 bytes on disk with zeroes, effectively zeroing the whole disk contents.

more info on partitioning

Links to this Page