Jump to content
qrzx

Has anyone attempted to boot with stock Apple bootloader?

22 posts in this topic

Recommended Posts

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

Share this post


Link to post
Share on other sites
Advertisement

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)

Share this post


Link to post
Share on other sites

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. 

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

 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"  B)

Share this post


Link to post
Share on other sites

Thanks everyone for the replies  :yes:

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  :rofl:

Share this post


Link to post
Share on other sites

Curious about this as well.

 

Just clarifying -- the OS X boot picker (with the disks) is part of the BIOS, not the bootloader, correct?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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...  :blush:

 

I'm sure there are Clover themes that mimic Apple boot selector?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By Slice
      Since rev 4844 Vector Themes are supported and there are ready-to-use Clovy by Clovy, cesium by Slice and BGM_SVG by Blackosx.
      You may see it's structure to create own theme
      -------------------------------------------------------------------------------------------------------------------------------------------------------
       
       
      Now I want to add vector graphics support in Clover. See rev 4560 and later.
      It is not working yet but designers may begin to create Vector Themes.
      It supposed to consist of SVG elements and has design size. It will be rendered to any screen size scaled from design size.
       
      What application in macOS can create SVG graphics?
      Inkscape is not working in macOS 10.11+. Pity.
      LibreOffice Draw works with SVG but buggy.
      Boxy SVG cost 10$ but looks good enough. It creates the best in simplicity files and have more then enough features.
      Illustrator is good but expensive.
       
      How to improve SVG file?
      Clover has restricted support for SVG. It is your job to make compatible file and as small as possible to speedup rendering.
      Some helps:
      Help:Inkscape – From invalid to valid SVG Inkscape files
      From invalid to valid SVG Adobe Illustrator files
      From invalid to valid SVG files of other editors: BKchem, ChemDraw and CorelDRAW
      Help:Illustrator – Assistance with creating and saving SVG images in Adobe Illustrator that will pass W3C validation
      User:Quibik/Cleaning up SVG files manually
      Later I will write own instructions specific to Clover abilities.
       
      How to create SVG fonts?
      You can google to find ready-to-use SVG fonts.  I found some problems with too beaty fonts: slow rendering and overflow crash. Be careful.
      You can get ttf or otf fonts and convert them into svg by using online WEB services. Not a problem to google.
      But then I want to find a way to simplify the font to reduce a size and speedup rendering.
      You can create own font by FontForge It is opensource and available for Windows, Mac and GNU+Linux. It creates otf font which you can convert to svg font.
       
      Pictures from Badruzeus
      https://www.insanelymac.com/forum/applications/core/interface/file/attachment.php?id=301597
    • By thomaspetersen
      Hi All
       
      I'm trying to start a Hackintosh High Sierra 10.13.5 installation:
      - MSI B350 PC Mate
      - Ryzen 5 - 2600
      - Radeon Pro 580 GPU
      - 4 x 8GB DDR4
      (Have a working clover bootloader for HS 10.13.3 - but for some reason, I can't use that setup with the 10.13.5) 
       
      Have tried different bootloader setup, with different outcomes...
      ATM. I get this error/hang - "Unknown CPU: family = 0x17, model = 0x8, Stepping = 0x2"
      Have search google, and can see that the threads ppl. are getting this, is when they look at "About this mac", I haven't yet installed the OSX.
       
      So can someone help...

      I'm running the newest Kexts: AppleALC, FakeSMC, Lilu, RealtekRTL8111, USBInjectAll and WhateverGreen.
      In Bootloader setup, i'm running: -v, -s, -f, -no_compat_check, busratio=34, PCIRootUID=1, npci=0x2000, dart=0 and nv_disable=1
      In SMBIOS i'm using the iMac18,2 and in RT i'm using BooterConfig: 0x28 and CsrActiveConfig: 0x67
      In installed drivers i'm using: AptioMemoryFix, EmuVariableUefi-64, OsxAptioFixDrv-64 (Have tried Fix2 as well)
       
      But i'm, keep getting the Unknown CPU hang/error, can someone help...
      Or do someone have a setup with the same CPU and GPU, that can show me his/her setup for Bootloader/Kexts...
    • By apianti
      Just so you all know I actually have done something. I have pushed the source to both my github and to sourceforge, please commit to the experimental branch and I will merge it into the stable branch once it is safe. Also, nothing meaningful happens yet so don't get too excited. Only the Visual studio build works right now. I haven't set up the Xcode or Makefile builds yet, I'm trying to do them now.
       
      https://github.com/apianti/Clover
      https://sourceforge.net/p/cloverefiboot/Clover
       
      IA32/X64/ARM/ARM64 testing ISO (6/7/2018): Clover-3.0-experimental.iso
    • By cvad
      Bootdisk Utility Make bootable USB Flash Disk for MAC OS X with Latest Clover bootloader revision fast and easy by one click! under OS Windows.
      Special utility from cvad & russian MAC community for new hackintosh users.
       
      BDU_v2.1.2018.023b.zip
      MakeCloverBDUReadyZip.bat.zip
      Enjoy...
       
       
       
      Feel free to "Rate File"
      Submitter cvad Submitted 04/28/2013 Category Bootloaders  
      BDU_v2.1.2015.016b.zip
      BDU_v2.1.2015.018b.zip
      BDU_v2.1.2016.019b.zip
      BDU_v2.1.2016.020b.zip
      BDU_v2.1.2017.021b.zip
      BDU_v2.1.2017.022b.zip
×