• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Boot PXE Macbook - Imac

    Scheduled Pinned Locked Moved Solved
    Linux Problems
    4
    17
    23.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      Nicolas Bricet
      last edited by

      Hello,

      Here are the references of Apple computers :

      Macbook.jpg

      Imac.jpg

      Here is the information of the two network cards:

      MacBook PRO :
      Broadcom 57765-B0
      57765-v1.37, 0x7287af41

      IMac :
      Broadcom 57765-B0
      57765-v1.37, 0x7cfcc847

      1 Reply Last reply Reply Quote 0
      • N
        Nicolas Bricet @Wayne Workman
        last edited by

        @Wayne-Workman

        Hello,

        I tested ipxe.efi and ipxe_i386.efi without success.

        Best regards

        Tom ElliottT 1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott @Nicolas Bricet
          last edited by

          @Nicolas-Bricet Would you try the snp.efi, or the snponly.efi files maybe?

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          N 1 Reply Last reply Reply Quote 0
          • N
            Nicolas Bricet @Tom Elliott
            last edited by

            @Tom-Elliott

            Hello,

            Yes I have tested ipxe.efi files snp.efi, snponly.efi, ipxe_i386.efi, snp_i386.efi, snponly_i386.efi without success.

            Does not it come from a problem with the DHCP?

            1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott
              last edited by

              You could try the vendor specific efi files. If I recall correctly, BMC is Broadcom/Realtek, maybe try the realtek.efi file?

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by Sebastian Roth

                Which iPXE binaries do you use? Those provided by FOG or different ones (maybe older versions)?

                I am still not exactly sure about the ethernet cards as it is almost impossible to find the PCI IDs of things assembled into Macs on the internet… So I just hope that there are “normal” BCM57765 chips in both of your Macs.

                Anyhow. Lets give it a try. Please add this line to your subnet section:

                subnet ... {
                    authoritative;
                    ....
                }
                

                and add this class definition anywhere in your DHCP config:

                class "Apple-Intel-Netboot" {
                    # Limit this class to only Intel Apple machines
                    match if substring (option vendor-class-identifier, 0, 14) = "AAPLBSDPC/i386";
                    option dhcp-parameter-request-list 1,3,17,43,60;
                    if (option dhcp-message-type = 1) {
                        option vendor-class-identifier "AAPLBSDPC/i386";
                        option vendor-encapsulated-options 08:04:81:00:00:67;
                    }
                    filename "ipxe.efi";
                    next-server x.x.x.x;
                }
                

                Restart the DHCP service, power up your Mac - pressing ‘n’ on the keyboard till you see a globe spinning.
                This is the most simple configuration I could find to talk BSDP. It works with MacBook1,1 and MacBook6,1 which I happend to have here for testing. It might not work for newer Macs. I’ll be updating the before mentioned wiki page to explain different settings.
                I think you can remove ‘filename’ and ‘option bootfile-name’ from your host section. It is set via the new class definition.

                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                Wayne WorkmanW 1 Reply Last reply Reply Quote 2
                • S
                  Sebastian Roth Moderator
                  last edited by

                  Alright, wiki is up to date for now: https://wiki.fogproject.org/wiki/index.php/FOG_on_a_MAC

                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                  1 Reply Last reply Reply Quote 1
                  • Wayne WorkmanW
                    Wayne Workman @Sebastian Roth
                    last edited by

                    @Uncle-Frank said:

                    Which iPXE binaries do you use? Those provided by FOG or different ones (maybe older versions)?

                    I am still not exactly sure about the ethernet cards as it is almost impossible to find the PCI IDs of things assembled into Macs on the internet… So I just hope that there are “normal” BCM57765 chips in both of your Macs.

                    Anyhow. Lets give it a try. Please add this line to your subnet section:

                    subnet ... {
                        authoritative;
                        ....
                    }
                    

                    and add this class definition anywhere in your DHCP config:

                    class "Apple-Intel-Netboot" {
                        # Limit this class to only Intel Apple machines
                        match if substring (option vendor-class-identifier, 0, 14) = "AAPLBSDPC/i386";
                        option dhcp-parameter-request-list 1,3,17,43,60;
                        if (option dhcp-message-type = 1) {
                            option vendor-class-identifier "AAPLBSDPC/i386";
                            option vendor-encapsulated-options 08:04:81:00:00:67;
                        }
                        filename "ipxe.efi";
                        next-server x.x.x.x;
                    }
                    

                    Restart the DHCP service, power up your Mac - pressing ‘n’ on the keyboard till you see a globe spinning.
                    This is the most simple configuration I could find to talk BSDP. It works with MacBook1,1 and MacBook6,1 which I happend to have here for testing. It might not work for newer Macs. I’ll be updating the before mentioned wiki page to explain different settings.
                    I think you can remove ‘filename’ and ‘option bootfile-name’ from your host section. It is set via the new class definition.

                    This needs added to the WiKi…

                    I’m thinking I named the BIOS and UEFI coexistence article wrong… it should be simply entitled “Network Booting Coexistence”… idk… What name could it possibly be given?

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                    Daily Clean Installation Results:
                    https://fogtesting.fogproject.us/
                    FOG Reporting:
                    https://fog-external-reporting-results.fogproject.us/

                    1 Reply Last reply Reply Quote 0
                    • N
                      Nicolas Bricet
                      last edited by Tom Elliott

                      Hello

                      First, thank you to everyone.
                      PXE works on my two types of machinery by putting this in the DHCP with the ALT key or the “N” key :

                      subnet ... {
                          authoritative;
                          ...
                      }
                      
                      class "Apple-Intel-Netboot" {
                          match if substring (option vendor-class-identifier, 0, 14) = "AAPLBSDPC/i386";
                          option dhcp-parameter-request-list 1,3,17,43,60;
                          if (option dhcp-message-type = 8) {
                              option vendor-class-identifier "AAPLBSDPC";
                              if (substring(option vendor-encapsulated-options, 0, 3) = 01:01:01) {
                                  # BSDP List
                                  option vendor-encapsulated-options 01:01:01:04:02:80:00:07:04:81:00:05:2a:09:0D:81:00:05:2a:08:69:50:58:45:2d:46:4f:47;
                              }
                              elsif (substring(option vendor-encapsulated-options, 0, 3) = 01:01:02) {
                                  # BSDP Select
                                  option vendor-encapsulated-options 01:01:02:08:04:81:00:05:2a:82:0a:4e:65:74:42:6f:6f:74:30:30:31;
                                  filename "ipxe.efi";
                                  next-server *.*.*.*;
                              }
                          }
                      }
                      

                      This configuration was not enough:

                      class "Apple-Intel-Netboot" {
                          match if substring (option vendor-class-identifier, 0, 14) = "AAPLBSDPC/i386";
                          option dhcp-parameter-request-list 1,3,17,43,60;
                          if (option dhcp-message-type = 1) {
                              option vendor-class-identifier "AAPLBSDPC/i386";
                              option vendor-encapsulated-options 08:04:81:00:00:67;
                          }
                          filename "ipxe.efi";
                          next-server x.x.x.x;
                      }
                      

                      For Macbook snp.efi and / or ipxe.efi work, should you use one over the other?

                      Thanks for your help.
                      See you soon.

                      Nicolas.

                      Mod edited to properly display information rather than having random smilies show up throughout

                      1 Reply Last reply Reply Quote 0
                      • S
                        Sebastian Roth Moderator
                        last edited by

                        @Nicolas-Bricet Thanks for reporting back on this! I am still working on improving this article. Knowing what works and what not for different machines is very helpful. I am marking this thread as solved. If you see new issues with Mac OS you might want to open up a new post.

                        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post

                        236

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project