qrzx Posted March 16, 2016 Share Posted March 16, 2016 Just curious. One of the drawbacks for me (as a perfectionist I guess) of building a Hackintosh is having to use a third-party bootloader to start the system. I know, this isn't bad, it isn't going to make it much slower, but for me it's just a thing. I've been doing a little bit of research into the stock Apple bootloader and stumbled onto this Wiki page: https://en.wikipedia.org/wiki/BootX_(Apple) Of course this is the older version (PowerPC), but it does have a reference to the new Intel EFI bootloader (reference #4: https://web.archive.org/web/20080706145146/http://developer.apple.com/documentation/MacOSX/Conceptual/BPSystemStartup/Articles/BootProcess.html I have searched this forum and haven't found anything definitive. So I just wanted to ask: has anyone attempted to boot from a modified Apple bootloader? If not, what are the main reasons this won't work? More notes: I've heard that one of the reasons this is not possible is because motherboards lack HFS+ support. Is it possible however to have the bootloader load the HFS driver? No, I don't have good access to an actual Mac, so I haven't done any experimentation myself. Yes, I have a satisfactory knowledge of operating systems, I know generally what a bootloader does, and if you throw jargon at me I'll understand it, or at least try to - so don't be afraid to post very technical comments Link to comment Share on other sites More sharing options...
Slice Posted March 16, 2016 Share Posted March 16, 2016 I think this topic has learning purpose Bootloader is a step from BIOS to OS. BootX is a step from PowerPC BIOS (Firmware) to PowerPC MacOS. Darwin bootloader is a first Apple's loader for Intel Macs. It was modified for Hackintosh use and got a name "Chameleon v1". New Macs started directly from EFI BIOS. Like Oz. Clover has EFI modules to adopt UEFI PC BIOS for booting MacOSX on non-Mac hardware. UEFI PC BIOS has lacks of: 1. Some EFI protocols needed for boot.efi. 2. Serial numbers accepted by MacOSX 3. HFS+ support 4. Device Properties needed for graphics, sound, LAN etc. and more. (Oz is reduced Clover to fit into BIOS chip) 1 Link to comment Share on other sites More sharing options...
joe75 Posted March 16, 2016 Share Posted March 16, 2016 http://tgwbd.org/darwin/boot.html pcefi came before chameleon and ozmosis is more than just a reduced clover. xpc was the first to boot with emulated efi before uefi bios 1 Link to comment Share on other sites More sharing options...
mhaeuser Posted March 16, 2016 Share Posted March 16, 2016 I've heard that one of the reasons this is not possible is because motherboards lack HFS+ support. Is it possible however to have the bootloader load the HFS driver? Beside that would be against any good UEFI practise, the bootloader itself is on a HFS+ drive, so letting it load the HFS+ driver would be quite a challenge. Darwin bootloader is a first Apple's loader for Intel Macs. It was modified for Hackintosh use and got a name "Chameleon v1". Nah, boot-132 was never used on Macs, it came from the Intel Transition Kit they shipped to devs. Old Macs used BootX, new Macs always used boot.efi And as joe said, Oz is not [just] ("just" is from the quote, but it isn't at all) a reduced Clover... Slice, I'm gonna give you "EBL" as a hint, should ring some bell. Also, the only actively developed "boot loader" now is Chameleon. Ozmosis is a Platform Driver and Clover a... well, in the UEFI world there is no name for it, I would call it a Boot Manager with driver characteristics? Anyway it is not an "OS Loader" - UEFI's word for bootloader. Oz is the closest you will get for now. Link to comment Share on other sites More sharing options...
savvas Posted March 16, 2016 Share Posted March 16, 2016 I bet OP mean boot picker.. However to implement boot picker need to add many of efi protocols and resources, so this is irrational idea at all. Also apple products uses uga console to draw graphics, and I'm not sure that GOP will compatible with internal graphics applications from apple fv Link to comment Share on other sites More sharing options...
LockDown Posted March 16, 2016 Share Posted March 16, 2016 What does OP stands for Link to comment Share on other sites More sharing options...
mhaeuser Posted March 16, 2016 Share Posted March 16, 2016 By OP he means the thread creator. @topic Apple's BootPicker is nothing but a dull GUI, it has nothing to do with protocol exposure. Next, the idea is not irrational but already happening as OS X is obviously booting fine. Finally, Apple doesn't use UGA for quite some while now, even though there still is support. Link to comment Share on other sites More sharing options...
Slice Posted March 16, 2016 Share Posted March 16, 2016 and Clover a... well, in the UEFI world there is no name for it, I would call it a Boot Manager with driver characteristics? Anyway it is not an "OS Loader" - UEFI's word for bootloader. Strictly speaking Clover just call boot.efi that is topic question "stock Apple bootloader" 1 Link to comment Share on other sites More sharing options...
mhaeuser Posted March 16, 2016 Share Posted March 16, 2016 Aye, that was the point. 1 Link to comment Share on other sites More sharing options...
qrzx Posted March 16, 2016 Author Share Posted March 16, 2016 Thanks everyone for the replies I'll look into all the references and links. Slice - I'll take a closer look at Clover and how it works when I have the time... really interested in what kind of adaptations are necessary to boot OS X. Also, do you think it's possible to build some kind of bootstrapper that will launch the native OS X bootloader from UEFI? Does Clover already do this? If so, would it be possible to boot the native OS X bootloader from Clover? Again, just curious. Will play around with the idea more seriously when I have good hardware Link to comment Share on other sites More sharing options...
mhaeuser Posted March 16, 2016 Share Posted March 16, 2016 As Slice said, Clover DOES boot the OS X bootloader... Link to comment Share on other sites More sharing options...
Slice Posted March 16, 2016 Share Posted March 16, 2016 ... really interested in what kind of adaptations are necessary to boot OS X. three years tens developers did this 1 Link to comment Share on other sites More sharing options...
distro Posted March 16, 2016 Share Posted March 16, 2016 Curious about this as well. Just clarifying -- the OS X boot picker (with the disks) is part of the BIOS, not the bootloader, correct? Link to comment Share on other sites More sharing options...
mhaeuser Posted March 16, 2016 Share Posted March 16, 2016 aye Link to comment Share on other sites More sharing options...
qrzx Posted March 16, 2016 Author Share Posted March 16, 2016 Okay... it's more complicated than I thought. I didn't realize the disk picker was part of BIOS and not the bootloader. I had the impression it was part of the EFI image. Link to comment Share on other sites More sharing options...
mhaeuser Posted March 16, 2016 Share Posted March 16, 2016 Why would the boot disk selector be part of the local OS X bootloader? That wouldn't make any sense and would mean an OS X installation is required to boot any OS... BootPicker is just Apple's equivalent of the Boot Manager on UEFI boards. 1 Link to comment Share on other sites More sharing options...
distro Posted March 16, 2016 Share Posted March 16, 2016 I think he was confused because Clover has its own boot selector Link to comment Share on other sites More sharing options...
Slice Posted March 17, 2016 Share Posted March 17, 2016 The question is about OS selector? Bootcamp? I think it is possible to change Clover GUI (refit) to Apple's GUI. The job is about 1000 man*hours. Link to comment Share on other sites More sharing options...
qrzx Posted March 17, 2016 Author Share Posted March 17, 2016 Well my original intent was to figure out how much stock Apple software could be used... including boot selector, bootloader, etc. But I guess it's impossible (or nearly impossible) to extract code from Apple's BIOS... I'm sure there are Clover themes that mimic Apple boot selector? Link to comment Share on other sites More sharing options...
mhaeuser Posted March 17, 2016 Share Posted March 17, 2016 What is impossible? https://www.github.com/cupertinonet/applepkg Link to comment Share on other sites More sharing options...
Slice Posted March 17, 2016 Share Posted March 17, 2016 I'm sure there are Clover themes that mimic Apple boot selector? named "bootcamp theme". As expected. Link to comment Share on other sites More sharing options...
qrzx Posted March 17, 2016 Author Share Posted March 17, 2016 What is impossible? https://www.github.com/cupertinonet/applepkg Wow, wasn't expecting that. Link to comment Share on other sites More sharing options...
Recommended Posts