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

    Mac capture and deploy solutions

    Scheduled Pinned Locked Moved Unsolved
    Mac Problems
    3
    13
    3.7k
    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.
    • M
      msnyder
      last edited by

      Server
      • FOG Version: 1.4.3
      • OS: Ubuntu 16.04.2 LTS
      Client
      • Service Version:
      • OS:
      Description

      How does eveyone handle MacOS, since you can’t resize the partition? I’m new to Fog, and have Windows working, starting on trying to get Mac working too. I’m able to boot via iPXE on USB and capture the image, but the machine I used is 512GB. I’d have to deploy to the same size drive, correct?

      Could I install MacOS on a 16GB USB drive and capture that image? But then when I deploy to other Mac machines, would I be stuck with a 16GB OS drive?

      Currently we use Kace to image Windows and Apple Server to image Mac, Fog would let us consolidate and add Linux support…

      1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator
        last edited by

        First let me say, we do have people who are successful deploying MacOS. I can also say I have no practice experience imaging Mac computers. You have got over the initial hump of being able to boot into the FOG menu. That is where most are getting hung up.

        Are you saying that you captured the master image as single disk resizeable and its not resizing after deployment?

        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!

        1 Reply Last reply Reply Quote 0
        • M
          msnyder
          last edited by

          ItIt’s my understanding, from reading these forums, that MacOS partitions are not resizable…

          george1421G 1 Reply Last reply Reply Quote 0
          • george1421G
            george1421 Moderator @msnyder
            last edited by

            @msnyder said in Mac capture and deploy solutions:

            MacOS partitions are not resizable << @Developers opinion please??

            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!

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

              @george1421 @msnyder From my point of view FOG should be able to resize and deploy to a bigger disk as it can handle GPT. But I have to admit that I haven’t tried it myself so far as we always only had same Macs with identical disk size back at my old working place. Give it a try and see how it goes. If there is an issue with resizing on Mac then we should be able to fix this.

              Make sure you don’t use CoreStorage or disk encryption as this would most likely make resizing impossible.

              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
              • M
                msnyder
                last edited by

                I will try…

                1 Reply Last reply Reply Quote 0
                • M
                  msnyder
                  last edited by george1421

                  Nope… Same error I remember getting the first time I tried capturing MacOS: Invalid Operating System id: Apple Mac OS (8) (validResizeOS)

                  alt text

                  Moderator inserted image copied from imgur (geo1421)
                  0_1498170410023_vEskGOV.jpg

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    msnyder @msnyder
                    last edited by

                    Here is the post I saw that made me believe MacOS cannot be resized: https://forums.fogproject.org/topic/7627/invalid-operating-system-id-apple-mac-os-8/4

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

                      @msnyder Wohooo, obviously I haven’t thought enough before writing. Missing some sleep here. 😉

                      Right, resizing the partitions on a GPT disk is not the actual issue. It’s the HFS+ filesystem that cannot be resized. Looks like GParted is at least able to shrink HFS+ filesystems but we wouldn’t be able to grow it.

                      I am sure you can use Mac’s diskutil to grow the filesystem after deploying it. Would that be an option for you?

                      Here is a kind of funny conversation on this on the net as well: https://www.reddit.com/r/linux/comments/1mwgpl/could_we_add_grow_support_to_hfsprogs/

                      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

                      M 1 Reply Last reply Reply Quote 1
                      • M
                        msnyder @Sebastian Roth
                        last edited by

                        @Sebastian-Roth So you are saying to use my idea of installing MacOS on a small 16GB USB key for the capture, then deploy to Macs that have a much larger hard drive and expand using Apple disk utility?

                        george1421G 1 Reply Last reply Reply Quote 0
                        • george1421G
                          george1421 Moderator @msnyder
                          last edited by

                          @msnyder If I understand Sebastian’s post correctly. The source size of the disk doesn’t matter much since FOG can shrink the disk image. The issue is fog can’t expand it because of the HFS format.

                          I can tell you before we switched to FOG 1.3.x, 1.2.0 didn’t expand disks (in windows) very well at all. What we would do is build our reference image on a 40GB VM and then capture and deploy that. That 40GB disk was smaller than any hardware that we would deploy to. Then in windows there is a batch file that gets run after windows setup completes call setupcomplete.cmd. Inside there we would run the diskpart commands to expand the deployed 😄 drive size to the entire size of the physical disk. This method worked well, but now it works much better that we don’t need to do that anymore.

                          You may have to do something similar for MacOS.

                          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!

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            msnyder @george1421
                            last edited by

                            @george1421 Ok, makes sense, except can’t do a Mac VM, but like you said, that’s not as important than expanding the disk…

                            Thanks

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

                              @msnyder Maybe this will be of interest to you? https://forums.fogproject.org/topic/7261/mac-os-x-resizeable-disk-support

                              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

                              163

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project