• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.
  • S
    Sebastian Roth Moderator
    last edited by Sep 16, 2015, 12:26 PM

    What do you mean by “it works for Macbook PRO”. Do you see iPXE coming up, getting an IP via DHCP and then showing the FOG menu?

    The bless command won’t help you as ipxe is coming up already (hanging with the message “initialising devices”). Bless is only one way to make a Mac boot iPXE. Seams like you’ve already achieved this.

    Some Mac models are different than others. Mine all work perfectly (BMC 57765 NIC chip). Please provide the exact model and serial number. Here you see how to find those on your Mac. Plus provide vendor id and product id of the NIC (found in System Report -> Hardware -> Ethernet Cards).

    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
    • N
      Nicolas Bricet
      last edited by Sep 16, 2015, 1:48 PM

      It works by simulating the PXE via a USB key, this loads the DHCP configuration with the filename and nex-server and then gets the FOG menu. This manipulation works on Macbook.

      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
      • S
        Sebastian Roth Moderator
        last edited by Sep 16, 2015, 5:21 PM

        Sorry, I forgot to post the URL: http://www.macobserver.com/imgs/tmo_articles/20120906-04-MacSysInfo_1.jpg
        Here you see where to get the information (model, serial number of model, ethernet vendor and device id). I just want to make sure that you have the exact same network cards and we are not talking about different things here.

        Well, making iPXE work using USB has been done years ago. But with current iPXE you should be able to really network boot as well as the ipxe-devs have made a lot of progress.

        One way is to configure your DHCP server properly to talk BSDP (https://static.afp548.com/mactips/bootpd.html). I have done this with isc-dhcp-server on linux but usually I prefer the ‘bless’ way. You don’t need BSDP then, just DHCP (even Windows DHCP should work). Just a day ago I had a Macmini here which wouldn’t netboot the ‘bless’-way. Maybe it’s because it had a newer firmware!? Not sure.

        Before I tell you more about BSDP, please let us know a little more about your environment. Which version of FOG do you use? Is FOG your DHCP server or which other DHCP server do you use?

        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
        • N
          Nicolas Bricet
          last edited by Nicolas Bricet Sep 17, 2015, 4:21 AM Sep 17, 2015, 9:38 AM

          Hello,

          We currently have the SVN version (4543) of FOG 1.2.0

          The DHCP server is remote, this is the configuration of the network and the configuration of the machine causing problems

          dhcp_1.PNG

          dhcp_2.PNG

          In your opinion should we proceed with DHCP side or modifications on the client machine?

          Thanks for your help.

          W 1 Reply Last reply Sep 17, 2015, 1:24 PM Reply Quote 0
          • W
            Wayne Workman @Nicolas Bricet
            last edited by Sep 17, 2015, 1:24 PM

            Have you tried other EFI files? There are both 64bit and 32 bit files available.

            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/

            N 1 Reply Last reply Sep 18, 2015, 12:47 PM Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by Sebastian Roth Sep 17, 2015, 10:50 PM Sep 18, 2015, 4:48 AM

              Please provide the exact model and serial number. Here you see how to find those on your Mac: http://www.macobserver.com/imgs/tmo_articles/20120906-04-MacSysInfo_1.jpg
              Plus provide vendor id, device/product id of the NIC (found in System Report -> Hardware -> Ethernet Cards).

              IMHO you seam to have to go with extending your DHCP configuration as bless obviously does not work for you. Lately I stumbled upon Macs that seam to not work with bless because of a newer Boot ROM or SMC Version. Please send us those information as well, while you have the system report tool open: https://support.apple.com/library/content/dam/edam/applecare/images/en_US/osx/yosemite-system-information-hardware-overview.png

              I am willing to provide more information about how to extend DHCP as soon as you post all the information I asked for.

              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
              • N
                Nicolas Bricet
                last edited by Sep 18, 2015, 12:45 PM

                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 Sep 18, 2015, 12:47 PM

                  @Wayne-Workman

                  Hello,

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

                  Best regards

                  T 1 Reply Last reply Sep 18, 2015, 1:07 PM Reply Quote 0
                  • T
                    Tom Elliott @Nicolas Bricet
                    last edited by Sep 18, 2015, 1:07 PM

                    @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 Sep 18, 2015, 1:31 PM Reply Quote 0
                    • N
                      Nicolas Bricet @Tom Elliott
                      last edited by Sep 18, 2015, 1:31 PM

                      @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
                      • T
                        Tom Elliott
                        last edited by Sep 18, 2015, 1:37 PM

                        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 Sep 18, 2015, 5:37 PM Sep 18, 2015, 5:43 PM

                          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

                          W 1 Reply Last reply Sep 19, 2015, 2:26 AM Reply Quote 2
                          • S
                            Sebastian Roth Moderator
                            last edited by Sep 19, 2015, 1:23 AM

                            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
                            • W
                              Wayne Workman @Sebastian Roth
                              last edited by Sep 19, 2015, 2:26 AM

                              @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 Sep 22, 2015, 5:14 AM Sep 22, 2015, 7:03 AM

                                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 Sep 22, 2015, 4:28 PM

                                  @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
                                  1 / 1
                                  • First post
                                    11/17
                                    Last post

                                  195

                                  Online

                                  12.0k

                                  Users

                                  17.3k

                                  Topics

                                  155.2k

                                  Posts
                                  Copyright © 2012-2024 FOG Project