Mac OS X resizeable disk support
-
Hello,
Is there any chance to have ability of making resizable OS X images in FOG ?Best Regards,
Piotr -
@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 Xdiskutil
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… -
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.
-
Thank you for your replies.
I’ll try apply your suggestions (shrink and resize partitions from OS X).
Best Regards,
Piotr -
@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.
-
@Quazz Maybe just use a snaping script??
-
@Sebastian-Roth Unfortunately my environment isn’t really suitable to use the fog client since they get sold after installation.
-
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).