|
I did post this on pearpc.net, and someone suggested to cross-post it here on E-maculation forums. So, here it goes:
Many people consider this project deserted as it only allows booting of old versions of OS X, and OSx86 has come a long way since the Apple Intel Transition. Yet, one of their technologies, Boot-DFE (a hacked version of Boot-132) might have a similar principle on how we could enable OpenBIOS on PearPC.
When Leopard was released, PearPC users were dissappointed as it couldn't boot in PearPC. Yet, on the other side of the net, OSx86 was reaching other problems. Intel Macs running Leopard didn't use a TPM, which is what they bypassed to run the Intel version of Tiger on an x86 PC. Instead, its OS DRM relied more heavily on EFI, the replacement for BIOS in PCs. Since most Windows PCs still ran BIOS, it was harder to run Leopard on an x86 PC unless you were a developer. The first way they did this was creating patched kernels that circumvented the EFI requirements. Finally, Boot-DFE (aka David Elliot's Boot-132) came onto the scene. It worked in a different manner than patched kernels. It was a bootloader that emulated EFI.
Here's how it works: Another Linux Bootloader, ISOLINUX for CDs, loaded Boot-DFE into a RAM Disk. All it was is a Darwin Bootloader for x86 PCs with a few kernel extensions, or drivers, from Apple's Boot-132 (Developers' way of running the XNU kernel on generic x86 PCs) and an EFI emulator. From there, you could swap the CD for the Retail Leopard (or recently Snow Leopard) Install DVD, and select it as a boot device. This emulator made OS X think the PC was a real Mac because of the emulated EFI. You would proceed to Install OS X to the hard drive; at reboot, you would swap the Install DVD with the bootloader CD, and this time select the Hard Drive as your boot device. After finishing the Installation, you would copy the code to the hard disk, enabling you to boot OS X without the bootloader CD anymore.
You may ask, "What in the world does this have to do with PearPC?" A lot. What we do have is some Linux support for PearPC as well as Darwin, an open source OS similar to OS X's Terminal, or command-line interface. They can load from PROM, or PearPC's Open Firmware implementation. We might not be able to do the CD swapping part as it was kind of buggy from the beginning with the old "Change CD" Button, but we could do something similar to Boot-DFE, except this time emulating OpenBIOS on PearPC. We would either write or better yet find a bootloader compatable with PROM that would load a RAM Disk into the emulated Mac. The RAM Disk would contain a bootloader with a OpenBIOS Emulator. Using maybe Redscorp's Quad IDE Build, we could then select a second CD/DVD with the desired OS Installation as the boot device. It would use the emulator as the firmware, and make the OS think that PearPC is running OpenBIOS. At the reboot, restart PearPC, boot from the OpenBIOS Emulator again, and select the hard drive as the boot device. Finish the installation, and copy the code to the Hard Drive.
What do you guys think? Would this work? I am an amateur developer so I wouldn't understand PearPC's source code, but I think it might work; we would see PearPC running OpenBIOS really soon.
|