Don't get too excited: we haven't put together a full "How to" yet. This page will provide a selection of pointers.
The process for installing PureDarwin to boot using the GRUB and CHAMELEON bootloaders (perhaps as part of a multi-boot system) is described below. Thanks to poppyer for the information.
The basic booting procedure is:
GRUB(MBR) -> CHAMELEON boot1h -> CHAMELEON boot2 -> darwin kernel
First of all, preparing a primary partition as hfs partition
NOTES: I only try these on a primary partition, so I am not sure whether it works for logical extended partition
1) make an hfs partition and mount it
* FOR LINUX: using mkfs.hfs
* FOR OSX: using the Disk Utils.app
2) loop mount the puredarwin image (iso or vmdk)
* loop mount a vmdk might be tricky under linux.
3) copy everything from the puredarwin image to your hfs partition
* FOR LINUX: using sudo cp -a
* FOR OSX: using sudo cp -pR
in order to preverse file wnerships etc.
So far, the hfs partition is ready, now going to install the boot loader
4) Download an extract the Chameleon Boot Loader to any folder. Copy the "boot" file (often called boot2) to the root of your hfs partition.
5) Unmount your HFS partition (VERY IMPORTANT)
dd the "boot1h" file (1024 bytes) from chamelaeon to the bootsector of you hfs partition.
By here, the hfs partition is self bootable, now add it to your first level boot loader (GRUB)
6) add and item to the menu.lst of your GRUB (MBR), usually:
Last, if your CPU is SSE2 only, you MUST use the voodoo kernel
BEFORE your reboot, edit the
add ".voodoo" to "mach_kernel", so it becomes "mach_kernel.voodoo"
* mach_kernel.voodoo is already shipped with puredarwin.Xmas
* but mach_kernel.voodoo uses its own System.kext
Q: if your first reboot freeze at: "MAC Framework successfully initialized using ...."
A: you might need a patched version of AppleACPIPlatform.kext and AppleAPIC.kext from boot132 generic.iso to replace those ones under /Systerm/Library/Extensions/
(Sorry, these are just quick notes while I still remember.)
You will need:
Then, assuming that you're working with the first disk (0):
Simples, eh? A version of the PureDarwin Nano CD image with these tools installed will be available soon.
For users >