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

    Mac OS X resizeable disk support

    Feature Request
    4
    8
    1486
    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.
    • P
      PioDer last edited by

      Hello,
      Is there any chance to have ability of making resizable OS X images in FOG ?

      Best Regards,
      Piotr

      1 Reply Last reply Reply Quote 0
      • J
        Joe Schmitt Senior Developer last edited by

        Just make a cron script (see https://developer.apple.com/legacy/library/documentation/Darwin/Reference/ManPages/man5/crontab.5.html#//apple_ref/doc/man/5/crontab)

        So for example

        @reboot /my/expand/script

        Just be sure to delete the cron entry after it runs (you can probably make the script do this).

        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.

        1 Reply Last reply Reply Quote 1
        • Q
          Quazz Moderator @Sebastian Roth last edited by

          @Sebastian-Roth Unfortunately my environment isn’t really suitable to use the fog client since they get sold after installation.

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

            @Quazz Maybe just use a snaping script??

            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

            Q 1 Reply Last reply Reply Quote 0
            • Q
              Quazz Moderator @Sebastian Roth last edited by

              @Sebastian-Roth Would it be possible to create a first boot script similar to setupcomplete.cmd for windows to do this?

              I prefer to automate as much as I can to eliminate as much human error as possible.

              1 Reply Last reply Reply Quote 0
              • P
                PioDer last edited by

                Thank you for your replies.

                I’ll try apply your suggestions (shrink and resize partitions from OS X).

                Best Regards,
                Piotr

                1 Reply Last reply Reply Quote 0
                • J
                  Joe Schmitt Senior Developer last edited by Joe Schmitt

                  Going off of what @Sebastian-Roth said, you could shrink the disk before imaging, and when v0.10.0 of the client is released, create a snapin to auto expand the disk. That way as soon as osx boots up after imaging, the client pulls the auto-expand snapin and runs 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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

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

                    @PioDer AFAIK there is no open source tool to resize HFP+ filesystems (like resize2fs that we use to resize EXT filesystems). I don’t think we will be able to port OS X diskutil to linux any time soon. Please let us know if you know other tools that can resize HFS+!

                    Are you able to image your OS X clients with non-resizable images? Why do you need resizable? You could just image as non-resizable and expand using diskutil in Mac OS X after cloning…

                    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

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

                    104
                    Online

                    10.4k
                    Users

                    16.4k
                    Topics

                    150.5k
                    Posts

                    Copyright © 2012-2023 FOG Project