I used the NetbookCD image that was linked above (originally meant for the Dell Mini series, I believe, but it worked for me). Burn that to disk, boot it, when it finishes coming up, hit F5 and wait for "Mac OS X Install DVD" to appear, highlight it, and then enter:
mach_kernel -v arch=x86_32
(The "arch=x86_32" flag seems to be required, since the version of Chameleon on there seems to want to boot the 64-bit kernel on 64-bit capable machines, except that it won't actually start it; the "-v" is for good measure, as occasionally it locks hard for me just before starting launchd, and I haven't figured out exactly why.)
Assuming everything went right, you should land at the OS X installer.
The process should be almost exactly what's here:
http://osx.mechdrew....ides/nbi3.shtml
The minimum requirements listed there are all good, except that you can ignore the part about the GMA 500/950 - the system will boot in VESA mode for the system, which runs the GUI.
Booting for install:
- Make sure your DVD drive is plugged in, with the NetbookCD disk in the drive before you power up. (It needs to be in the drive before startup - otherwise, the BIOS won't recognize it as a bootable disk, and will skip to trying to boot the internal HD instead.) You also need an external mouse: the trackpad will work for pointing, but the buttons are non-functional.
- At the HP logo screen, hit ESC to get to the BIOS boot menu. Hit F9 to get to the startup disk options, and choose your DVD drive to boot from.
- Once the NetbookCD loads, you'll get a list of available drives to boot from. Eject NetbookCD and put in your OS X DVD. Hit F5 and wait a moment; "Mac OS X Install DVD" should appear.
- Highlight "Mac OS X Install DVD" (hit the right arrow as necessary); then type "mach_kernel -v arch=x86_32". Some messages will appear about files being loaded, and then you should start seeing messages from the OS X kernel. It might take a few minutes for the whole thing to finish loading. To make sure it hasn't locked up (and therefore you need to reboot and try again), wait for "ApplePS2Keyboard" to show that it's loaded (you'll see messages about it detecting a keyboard and a trackpad), and then try tapping the Caps Lock key; if it's LED doesn't turn on, it's frozen and needs to be rebooted.
Installing:
The procedure is as listed under "Installing Mac OS X" on the linked page. At the end, it *will* claim that the install failed - you can safely ignore this message. The failure is caused by OS X not being able to tell it's firmware that it should boot from the installed drive, which doesn't matter because we still have to install the bootloader. Before you reboot, put the NetbookCD disk back into the drive.
First boot:
- Boot from the CD as was done under "Booting" above. When you get to the NetbookCD disk selection screen, choose the disk you installed OS X to and enter "mach_kernel -v arch=x86_32". It will boot off of the internal drive and bring up the OS X setup screen; the video won't play because there isn't an audio device as far as the system is concerned, yet.
- Follow the instructions in step 4; ignore the complaints from NetbookInstaller regarding there not being a set of extensions for your machine, and install the general extensions. No need to generate a DSDT.aml file - the system's DSDT works fine.
- Before rebooting, edit /Extra/com.apple.Boot.plist:
Find "<key>Kernel Flags</key>"; place "arch=x86_32 -v" into the "<string>" tag beneath it.
- Reboot.
Other setup:
For audio:
- Install VoodooHDA.kext into /Extra/AdditionalExtensions. and then run /Extra/UpdateExtra.app. Reboot and audio should work.
For wireless:
- Get IO80211Family.kext, Apple80211.framework from 10.5.x (I grabbed these from a 10.5 install DVD - the former in /System/Library/Extensions, the latter in /System/Library/PrivateFrameworks).
- Install IO80211Family.kext to /Extra/AdditionalExtensions. Edit /Extra/AdditionalExtensions/IO80211Family.kext/Contents/Plugins/AppleAirPortBrcm43xx.kext/Contents/Info.plist to add "pci14e4,4315" to the list of supported devices (look for "pci14e4,43", and add a similar line with the previous PCI ID to it).
- Run /Extra/UpdateExtra.app, and then reboot. On startup, you should see a message stating that it found your wireless adapter.
- To connect, run (from your 10.5 copy of Apple80211.framework) Apple80211.framework/Resources/airport '-I<your SSID>'. The AirPort control panel & menu extra seem to be useless - or at least, I haven't made them work correctly; the commandline tool there will get you connected, though.
Graphics acceleration can be gotten, somewhat, with the tweaks mentioned by dokuroishi, but the mouse cursor will be screwy (it appears as a block about 240x240, looking rather like uninitialized memory).
Sleep doesn't seem to work quite right - the system will attempt to sleep, but the only thing that gets powered down is the CPU; the display will turn to a faded sort of appearance (much like OS X on an actual Mac looks like when it's coming out of hibernate), but that's all I've gotten it to do. To get back out of that state, hit the power switch, at which point it'll instantly come back to being usable. However, the wireless doesn't come back up.