• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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 Jun 22, 2017, 5:24 PM

    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
    • G
      george1421 Moderator
      last edited by Jun 22, 2017, 5:34 PM

      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 Jun 22, 2017, 6:15 PM

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

        G 1 Reply Last reply Jun 22, 2017, 6:47 PM Reply Quote 0
        • G
          george1421 Moderator @msnyder
          last edited by Jun 22, 2017, 6:47 PM

          @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 Jun 22, 2017, 8:42 PM

            @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 Jun 22, 2017, 9:15 PM

              I will try…

              1 Reply Last reply Reply Quote 0
              • M
                msnyder
                last edited by george1421 Jun 22, 2017, 4:27 PM Jun 22, 2017, 9:24 PM

                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 Jun 22, 2017, 9:40 PM Reply Quote 0
                • M
                  msnyder @msnyder
                  last edited by Jun 22, 2017, 9:40 PM

                  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 Jun 22, 2017, 10:56 PM

                    @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 Jun 23, 2017, 1:44 PM Reply Quote 1
                    • M
                      msnyder @Sebastian Roth
                      last edited by Jun 23, 2017, 1:44 PM

                      @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?

                      G 1 Reply Last reply Jun 23, 2017, 8:39 PM Reply Quote 0
                      • G
                        george1421 Moderator @msnyder
                        last edited by Jun 23, 2017, 8:39 PM

                        @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 Jun 23, 2017, 8:46 PM Reply Quote 0
                        • M
                          msnyder @george1421
                          last edited by Jun 23, 2017, 8:46 PM

                          @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 Jul 19, 2017, 10:15 PM

                            @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

                            180

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project