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

    Official "FOG on a Mac" thread

    Scheduled Pinned Locked Moved
    Tutorials
    6
    20
    7.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.
    • JunkhackerJ
      Junkhacker Developer
      last edited by

      fyi, for anyone interested. the easiest way i know of, at the moment, to allow a mac to upload or download an image is to:
      [LIST]
      []manually register the mac in the gui
      [
      ]create the directory structure /EFI/boot/ on a FAT32 flash drive
      []put the ipxe.efi file from the tftpboot directory into the /EFI/boot directory, renamed to bootx64.efi
      [
      ]boot the mac from the flash drive (hold option down on startup)
      [/LIST]
      the menu will not come up on the mac, but it will perform upload/download tasks scheduled through the gui
      i can’t guarantee that this will work on all macs, i have had it fail to work on a macbook pro, but it has worked on 2 imacs and a mac mini.

      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
      • Wayne WorkmanW
        Wayne Workman
        last edited by

        [quote=“Junkhacker, post: 43984, member: 21583”]
        [LIST]
        [*]create the directory structure /EFI/boot/ on a FAT32 flash drive
        [/LIST]
        [/quote]When you say that, do you just mean to format a flash drive using FAT32, and then making a folder called EFI, and then one inside that called boot ?
        That simple? Nothing else?

        What options should be chosen for the “Image Type” and “partition”, generally? Assuming OSX.

        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
        • JunkhackerJ
          Junkhacker Developer
          last edited by

          yeah, it seems that the mac uefi system searches volumes for a /EFI/boot/bootx64.efi file when you hold down option on startup. if it finds one, it can try to use it.
          for OS:Apple Mac OS, and
          image type: Multiple partition single disk non-resizeable (though, i think it did resize it anyway)
          partition: everything
          for testing, i successfully deployed windows 7 and windows 8 to the imac, and then back to mac os.

          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
          • Wayne WorkmanW
            Wayne Workman
            last edited by

            Brilliant. I must try this.

            But, I have other questions…

            WHAT IF…

            we make a second partition on the mac, make it FAT32, and make this structure within there?

            Could we simply choose to boot from that partition, and then it’ll do any scheduled tasks we had?

            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
            • JunkhackerJ
              Junkhacker Developer
              last edited by

              in theory, i bet you could make it a small NTFS partition instead of FAT32. then those pesky users wouldn’t be able to edit it’s contents from within Mac OS (read only NTFS suppport unless you install 3rd party software)
              but i really would prefer to find a solution that works “out of the box” without modifying systems first

              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
              • Wayne WorkmanW
                Wayne Workman
                last edited by

                [quote=“Junkhacker, post: 43993, member: 21583”]in theory, i bet you could make it a small NTFS partition instead of FAT32. then those pesky users wouldn’t be able to edit it’s contents from within Mac OS (read only NTFS suppport unless you install 3rd party software)
                but i really would prefer to find a solution that works “out of the box” without modifying systems first[/quote]

                I’m just not in love with the idea of using flash drives for this. I’m so sick of Ghost, and this reminds me of it. Clearly I’m going to try with a flash drive first, then I’m going to play around with making a actual partition for this on the Mac’s hard disk.

                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
                • JunkhackerJ
                  Junkhacker Developer
                  last edited by

                  for me, this is only for “proof of concept” in getting ipxe to work on macs. my goal is to get an open source solution working with (and possibly integrated with) fog, that will respond to mac netboot requests and show up as a valid network boot option without need of modifying anything on the mac.

                  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
                  • Wayne WorkmanW
                    Wayne Workman
                    last edited by

                    Well, what if the network boot option had the same file structure within it?

                    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
                    • JunkhackerJ
                      Junkhacker Developer
                      last edited by

                      my understanding is that’s what i’ve got to do. a server needs to respond to the Macintosh’s netboot request with the location of a .dmg file that will contain the ipxe file (set up with the directory structure and bootx64.efi file mentioned) when mounted by the mac.

                      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
                      • S
                        Sebastian Roth Moderator
                        last edited by

                        Please follow this: [url]http://fogproject.org/wiki/index.php/FOG_on_a_MAC[/url]

                        I’ve got Mac OS X imaging up and running at our university! No USB sticks or CDROMs! I am working on the wiki as I find time to squeeze that in…

                        Any comments are highly appreciated!

                        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
                        • JunkhackerJ
                          Junkhacker Developer
                          last edited by

                          these guys seem to have figured out how to do it with DNSMasq [url]http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2010q1/003638.html[/url]

                          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
                          • Wayne WorkmanW
                            Wayne Workman
                            last edited by

                            [quote=“Uncle Frank, post: 44006, member: 28116”]Please follow this: [url]http://fogproject.org/wiki/index.php/FOG_on_a_MAC[/url]

                            I’ve got Mac OS X imaging up and running at our university! No USB sticks or CDROMs! I am working on the wiki as I find time to squeeze that in…

                            Any comments are highly appreciated![/quote]

                            Pretty good beginnings there. So, that custom code inside of class “AppleNBI-i386” will only execute for Macs, I assume? And, what might a complete dhcpd.conf file look like? One that works for both Mac and PC?

                            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
                            • S
                              Sebastian Roth Moderator
                              last edited by

                              Interesting… looking for a full dhcpd.conf on the web I found this: [url]http://fogproject.org/wiki/index.php/Using_your_FOG_server_to_backup_and_restore_Macintosh_computers[/url]

                              Does anyone know who wrote this?

                              @Junkhacker: Thanks for the link! I’ll read through it and add it to the wiki!

                              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
                              • Wayne WorkmanW
                                Wayne Workman
                                last edited by

                                [quote=“Uncle Frank, post: 44015, member: 28116”]Interesting… looking for a full dhcpd.conf on the web I found this: [url]http://fogproject.org/wiki/index.php/Using_your_FOG_server_to_backup_and_restore_Macintosh_computers[/url]

                                Does anyone know who wrote this?
                                [/quote]

                                According to the WiKi history, “FogFrog02” was the only person who ever made a change to that page, in April of 2012

                                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
                                • S
                                  Sebastian Roth Moderator
                                  last edited by

                                  Saw that… Does anyone know him/her? I also found a post (his/her only post!): [url]http://fogproject.org/forum/threads/how-to-using-your-fog-server-to-backup-and-restore-macintosh-computers.625/[/url]

                                  Should I merge those infos into “FOG on a MAC”?? I don’t like to have similar information in several different places in one wiki… makes it hard to keep it all up to date.

                                  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
                                  • W
                                    Wolfbane8653 Developer
                                    last edited by

                                    yes merge the information. then do a page insertion on the old page. This way both pages will have updated info

                                    Edit:

                                    See this page for what I mean…[url]http://fogproject.org/wiki/index.php?title=Multicast[/url]

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

                                    222

                                    Online

                                    12.0k

                                    Users

                                    17.3k

                                    Topics

                                    155.2k

                                    Posts
                                    Copyright © 2012-2024 FOG Project