-
Notifications
You must be signed in to change notification settings - Fork 248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
High Sierra support #87
Comments
Yes, I've observed the same. I plan to fix this up soon, just haven't yet had the time to. There is some work being done on #82 to this effect too. |
@timsutton I've tried the prepare_iso/prepare_vdi.sh script @jonanh wrote and it worked. I use Parallels Desktop, so I had to convert the resulting vdi into the Parallels' format (hdd). After that I was able to boot a VM from that hdd and build with the packer's parallels-pvm builder. The prepare_vdi.sh script uses a different approach -- install OS into a disk image by means of
The question is: Does macOS 10.13 support unattended installation by OSInstall.collection at all? Is it possible to make an image compatible with parallels-iso and/or virtualbox-iso packer builders? A note for those failing to run prepare_vdi.sh: You must upgrade your host to macOS 10.13 to make |
@timsutton I've implemented what I suggested above in atikhono@44ffc75. This is Parallels Desktop support for AutoDMG-like macOS installation and image. The implementation is based on the branch from #82. |
@atikhono Apple added a security restriction to the 10.12.4+ installers making impossible to include non-Apple packages [1][2]. Also they restricted the target of You are right, unfortunately we can only make AutoDMG-like installs if we are installing the same guest OS as the host. Also the process of creating the vdi/vmdk, creating a OVA/OVF package and then importing it into packer is quite un-optimal. Probably we can improve it further. I wonder if we could create a minimal bootable OS system using the BaseSystem.dmg and how much we could customise it. But I wonder if it would be possible to copy the full installer and from a boot script (like the But what we could improve easily is the packer current pipeline removing the need of exporting the OVF and reimporting it back into packer. I would suggest doing the whole process using VirtualBox since it is free, to reduce the number of scripts and templates to maintain, and make a separate script to convert the generated virtualbox packer box into a parallel packer box o vmware packer box. Also we could research more options to export the fresh install volume (the DMG) to a vdi/vmdk, unfortunately VirtualBox doesn't like the DMG that AutoDMG is producing which is why I ended doing the script instead of using AutoDMG+vFuse. [1] https://derflounder.wordpress.com/2017/03/29/third-party-installer-packages-may-not-be-installable-by-the-macos-10-12-4-os-installer/ |
About how long should it take for My mistake, if the sparseimage is misnamed and so fails to hdiutil attach, then the installer continues to launch against a nonexistent mount point, show a few log messages, and just sit there dumb forever. When I fix the sparseimage name, then the installer begins working. |
Yeah, on a fast machine this should take ~10 minutes, maybe closer to 20-25 in a VM depending on the hypervisor and disk. |
You could check |
Just reporting success with prepare_vdi.sh method with High Sierra 10.13.3 into virtualbox. Thanks very much for your support! |
Is there a plan to update
Has anyone ever seen this? |
@tzeejay not sure on @timsutton's thoughts on this, but I just opened a PR #97 for this. The biggest thing with this is that box creation on High Sierra as it currently stands is currently impossible due to the third-party package signing restrictions implemented by Apple after 10.12.3. However, I still think supporting High Sierra could be useful for future updates or changes to provisioning techniques. |
Hello,
prepare_iso.sh fails with High Sierra installer app:
The InstallESD.dmg layout has changed since 10.12, so that now it contains only Packages directory. BaseSystem.dmg has moved to the install app:
I changed prepare_iso.sh to take BaseSystem.dmg from there, and the script executed without issues. However, the resulting image boots into gray screen with a movable cursor.
The text was updated successfully, but these errors were encountered: