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.
- boot the linux cd
- with some distros, it is possible to press alt-F2 to get to a console screen if the setup partitioner is too lame for what you want
- in the console, enter mac-fdisk (or fdisk, or pdisk) /dev/hda (or whichever you want to wipe)
- press 'p'
- delete everything with 'i' entering the amount of blocks shown before.
- 'b' creates a bootstrap partition, it usually starts at block 64
- C2p will create partition 2 and ask you for its size, name and type.
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
- MacOSX last edited on 20 January 2005 at 2:06 am by c213145.adsl.hansenet.de
- partition the hard disk last edited on 20 January 2005 at 1:23 am by c213145.adsl.hansenet.de