timsutton / osx-vm-templates

macOS templates for Packer and VeeWee.
MIT License
1.12k stars 248 forks source link

Prepare VDI Recovery Partition Empty #94

Open RLovelett opened 6 years ago

RLovelett commented 6 years ago

I am successfully using the new prepare_vdi.sh script to generate a macOS 10.13.2 VM.

Unfortunately, it looks like Recovery Partition is not present in the resulting disk image. I assume that is committed on purpose to save disk space. Is there an easy way to transfer that partition from the sparse bundle?

I am using VMware Fusion Professional so that I can make use of the NVRAM to disable SIP and enable Kexts to be default imported.

atikhono commented 6 years ago

Hi, I have this issue as well. The script should disable SIP when DISABLE_SIP=1, but in the resulting image I still have it enabled. @jonanh @timsutton

jonanh commented 6 years ago

Unfortunately I haven't tried generating an image with a recovery partition, but I will try to research it a little bit. :-)