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

PXE boot iMacs

Scheduled Pinned Locked Moved
Linux Problems
6
14
8.6k
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
    Stephen Wilson
    last edited by Oct 2, 2014, 8:36 AM

    Hello Community

    We have 31 iMacs that I need to image with a Win7 image on our Fog system. I am trying to make a boot pen that will allow me to PXE boot them into the fog screen. I have tried ( [url]http://www.fogproject.org/wiki/index.php/Bootable_Media[/url] ) but found that the folder in the fog files has changed and even following the instructions to the letter my syslinux pen prep produces no boot partition on the pen.

    I’m no network tech, so a laymen’s tutorial on making a bootable iMac pen drive that PXE boots is what I need, or to simply be told this is not feasible 🙂

    Any help would be greatly appreciated.

    1 Reply Last reply Reply Quote 0
    • R
      Raff
      last edited by Oct 2, 2014, 9:52 AM

      [url]http://ipxe.org/download[/url]

      If they have drives use the prebuilt ISO or make USB

      1 Reply Last reply Reply Quote 0
      • S
        Stephen Wilson
        last edited by Oct 2, 2014, 10:41 AM

        Going to try this now, just got to burn an Ubuntu live CD so I can use the DD commands 🙂

        Awesome, think it is working, but now I need to get the correct fog files onto the pen too, and is a config file need also?

        1 Reply Last reply Reply Quote 0
        • J
          Junkhacker Developer
          last edited by Oct 2, 2014, 3:32 PM

          if the fog server and network are configured correctly you don’t need any fog files on the disk, though Macintosh support is still experimental. best of luck to you

          signature:
          Junkhacker
          We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

          1 Reply Last reply Reply Quote 0
          • A
            ArchFan
            last edited by Oct 3, 2014, 1:24 AM

            I didn’t have luck with usb booting iPXE media, but I didn’t spend much time on it. I’ve successfully used the ROM-o-matic site to build an iPXE ISO which I burned to CD and booted from. I haven’t found a Mac it doesn’t work on yet and I’ve tried quite a few ranging in age from 2006 to 2010.

            Here’s how I did it and the method that works for me - I’m not saying it’s 100% correct or the only way to do it. There was talk on another forum about creating a netboot image containing iPXE somehow, but I haven’t looked into it.
            [LIST=1]
            []Go to [url]https://rom-o-matic.eu/[/url]
            [
            ]Choose the ‘Advanced’ option
            []Choose the desired output format - I chose ISO, but you may want to try the .usb - I’ve never tried it
            [
            ]I left the NIC options set to default ‘all-drivers’ for compatibility - don’t know if it’s necessary or not
            []Under the configuration options, choose the options listed here: [url]http://www.fogproject.org/wiki/index.php/Building_undionly.kpxe[/url] - you want to check all options from the rom-o-matic page except for those on the Building_undionly.kpxe page with the “//” preceding them
            [
            ]In the ‘Embedded script’ box, paste the custom iPXE script shown on the Building_undionly.kpxe page, remembering to edit the IP to reflect that of your FOG server.
            []Leave the rest of the options as-is, and click ‘Proceed’
            [
            ]It will then generate the iPXE media in the requested format and download it to your local machine.
            []Burn or copy the generated file to its intended media as you would via any image - likely ‘dd’ or similar
            [
            ]Insert the media into the Mac you wish to image and boot from it using the ‘Option’ key or ‘C’ key
            [/LIST]

            1 Reply Last reply Reply Quote 0
            • R
              Raff
              last edited by Oct 3, 2014, 7:56 AM

              If you have your dhcp setup correctly with the address of your fog server, all you had to do was burn [URL=‘http://boot.ipxe.org/ipxe.iso’][U][COLOR=#0066cc]http://boot.ipxe.org/ipxe.iso[/COLOR][/U][/URL]

              1 Reply Last reply Reply Quote 0
              • T
                Tom Elliott
                last edited by Oct 3, 2014, 10:02 AM

                You all are aware, you can also use the svn *pxe files to attempt to do what you’re trying to do? All it would require is some user class redirections in the dhcp server to tell the systems what file to download. Specifically, you’ll want to use the snp.efi or ipxe.efi files.

                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
                • A
                  ArchFan
                  last edited by Oct 3, 2014, 12:12 PM

                  [quote=“Raff, post: 37317, member: 298”]If you have your dhcp setup correctly with the address of your fog server, all you had to do was burn [URL=‘http://boot.ipxe.org/ipxe.iso’][U][COLOR=#0066cc]http://boot.ipxe.org/ipxe.iso[/COLOR][/U][/URL][/quote]

                  While this worked for some of our Macs, we had others that wouldn’t boot from their pre-built iso - at least the version they had on the website at the time, which was fixed by the method I explained. I assume the rom-o-matic site is more up-to-date, but I don’t know

                  1 Reply Last reply Reply Quote 0
                  • A
                    ArchFan
                    last edited by Oct 3, 2014, 12:19 PM

                    [quote=“Tom Elliott, post: 37318, member: 7271”]You all are aware, you can also use the svn *pxe files to attempt to do what you’re trying to do? All it would require is some user class redirections in the dhcp server to tell the systems what file to download. Specifically, you’ll want to use the snp.efi or ipxe.efi files.[/quote]

                    Tom, I haven’t yet been able to find a way to do what you’re suggesting with Microsoft DHCP, although I’ve seen directions and examples when using FOG for DHCP, thus-far it’s a no-go if you’re using Windows Server for DHCP. Even then, I don’t see a way around the physical boot media unless you re-bless the Mac using the legacy boot flag. I was able to boot from the *.efi files when using the boot CD without re-blessing, but not without. I believe that’s why someone else created a netboot image for iPXE - so that they could netboot from Mac Server which then pointed to the FOG server. Just my experience

                    1 Reply Last reply Reply Quote 0
                    • D
                      d4rk3
                      last edited by Oct 6, 2014, 7:32 PM

                      On our Server 2012 R2 DHCP Server I set up a policy for EFI boot files for matching MAC addresses of our UEFI-only PXE boot stations. It works great 🙂

                      1 Reply Last reply Reply Quote 0
                      • A
                        ArchFan
                        last edited by Oct 6, 2014, 11:54 PM

                        [quote=“d4rk3, post: 37496, member: 23583”]On our Server 2012 R2 DHCP Server I set up a policy for EFI boot files for matching MAC addresses of our UEFI-only PXE boot stations. It works great :)[/quote]

                        Are you using the specific MAC addresses of each individual Apple host in your organization in said policy, or just the prefix of the MAC address (OUI) where the manufacturer is Apple? The first method sounds tedious, which is why I ask. If you can apply the policy to those with an OUI matching Apple’s using regex that would be awesome. Here: [url]http://standards.ieee.org/develop/regauth/oui/public.html[/url] when searching for Apple lists the OUIs that belong to Apple. Can you tell me where to find this option in 2012 R2?

                        1 Reply Last reply Reply Quote 0
                        • D
                          d4rk3
                          last edited by Oct 7, 2014, 12:02 AM

                          Specific MAC’s, sorry…tedious I know, but you only have to enter them once and then update the policy as needed.

                          1 Reply Last reply Reply Quote 0
                          • A
                            ArchFan
                            last edited by Oct 7, 2014, 12:32 AM

                            [quote=“d4rk3, post: 37526, member: 23583”]Specific MAC’s, sorry…tedious I know, but you only have to enter them once and then update the policy as needed.[/quote]

                            I’ve found the policies section you’re referring to and I’m going to try to test the second method I suggested this week. I would think one could create a new policy called something like ‘EFI iPXE booting’, set the ‘Condition’ to ‘MAC Address’, ‘Operator’ to ‘Equals’, and create a ‘value’ for each MAC OUI assigned to Apple, using the ‘append wildcard’ option for each option and ‘OR’, not ‘AND’, then specifying the correct option 66 and 67. We’ll see how it goes

                            1 Reply Last reply Reply Quote 0
                            • D
                              d4rk3
                              last edited by Oct 7, 2014, 12:45 AM

                              It’s very possible, I haven’t even tried that route due to lack of time over the summer when I just had to put the legacy/UEFI boot file issue to rest.

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

                              253

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project