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 partha.slg123
      Hackintosh High Sierra 10.13.3 USB Installer Boot Into USB DIrectly Enter Exit Option Menu. Clover Boot Menu Not Showing. Plz Help .................
       

       
      My System Specification :

      CPU : Core i5 6400
      MB : Asus H110M-CS
      RAM : 8GB DDR 4
      HDD : WD 1TB For Windows And WD 500 GB For Hackintosh
      Bootloader : Clover
    • By cvad
      View File 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...
       
      For more information and complete instructions please see this topic.
       
       
       
       
      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
    • By cvad
      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.
       
      Enjoy...
       
      For more information and complete instructions please see this topic.
       
       
       
       
      Feel free to "Rate File"
    • By MacNB
      Recently transition from ###### to Clover.
      All work great on my raging Dell530 (with Quad-core Xeon E5450).
      I can triple boot Snow-Leopard, Mavericks or Yosemite.
      Really love the way clover does dynamic patching.
       
      Decided to add a second drive that had the original Dell-installed Windows Vista.
       
      Question for the community: Is it even possible to boot legacy Vista on the second drive using Clover ?
       
      I ask because I cannot. I have searched and all topics discuss UEFI boot which is OK for Win7 and up.
      Vista does not support UEFI boot.
      And this good old Dell only has BIOS.
       
      Clover GUI lists two new partitions after the Recovery HD partition.
      The last one is called "Boot Windows from OS" (screenshot0):
       
      When I hit enter, the screen clears to black and Clover windows badge is displayed but does not boot.
      If I hit enter again, I see the Clover GUI again.
       
      It just will not boot Vista.
       
      Disk details are as shown:
      OSX-YS-Pro:~ MacNB$ diskutil list /dev/disk0    #:                       TYPE NAME                    SIZE       IDENTIFIER    0:      GUID_partition_scheme                        *1.0 TB     disk0    1:                        EFI EFI                     209.7 MB   disk0s1    2:                  Apple_HFS OSX-SL                  803.3 GB   disk0s2    3:                  Apple_HFS OSX-MV                  153.3 GB   disk0s3    4:                  Apple_HFS OSX-YS                  42.4 GB    disk0s4    5:                 Apple_Boot Recovery HD             650.0 MB   disk0s5 /dev/disk1    #:                       TYPE NAME                    SIZE       IDENTIFIER    0:     FDisk_partition_scheme                        *750.2 GB   disk1    1:                 DOS_FAT_16 DellUtility             74.0 MB    disk1s1    2:               Windows_NTFS RECOVERY                10.7 GB    disk1s2    3:               Windows_NTFS OS                      739.3 GB   disk1s3 OSX-YS-Pro:~ MacNB$ OSX-YS-Pro:~ MacNB$ sudo fdisk440 /dev/disk1 Password: Disk: /dev/disk1 geometry: 91201/255/63 [1465149168 sectors] Signature: 0xAA55          Starting       Ending  #: id  cyl  hd sec -  cyl  hd sec [     start -       size] ------------------------------------------------------------------------  1: 06    0   1   1 -    8 254  63 [        63 -     144522] DOS > 32MB    2: 07    9  13   5 - 1023 254  63 [    145408 -   20971520] NTFS         *3: 07 1023 254  63 - 1023 254  63 [  21116928 - 1444028416] NTFS          4: 00    0   0   0 -    0   0   0 [         0 -          0] unused       OSX-YS-Pro:~ MacNB$    FDISK shows that the 3rd partition is ACTIVE on the Vista drive (disk1).
       
      Clover is installed on EFI partition on the OS X drive (disk0).
       
      Config.plist attached.
      debug.log attached.
       
      If I boot from a Chameleon USB-stick, I can select the OS partition and it boots, but Clover does not.
       
      Edit: I can boot Vista via the BIOS by hitting F12 and selecting the vista hdd.
      screenshot0.bmp
      MacNB-debug.log.zip
      MacNB-config.plist.zip
      MacNB-530-Generic.zip
    • By Soeren_DK
      Hi there.
      I'm new to this site but not totally new to hack. I've had a hack since 10.4 and the latest version I ran was 10.9, not totally fixed but it worked to what I needed. Now I want to make the machine run as good as it can. I can see there has been a lot of changes/upgrades/new solutions since I installed my hack and I have a hard time to catch up.  
      I've been able to boot and install macOSX and now I need the POST installation.
      I tried to install the clover EFI boot loader with these settings:
       
      and found the DSDT.aml and SSDT-0.aml from HERE
      found the apfs.efi
      and placed it in EFI -> EFI -> CLOVER -> driver64
      and these kext in here:

       
       
      But when I boot it up this is the first bootscreen I have. No partions, no mouse control, no nothing.

      if I exit clover this screen appear.

      and now everything works. 
       
      What is wrong?
      Cheers
      Soren
×