Qonfused / OSX-Hyper-V

OpenCore configuration for running macOS on Windows Hyper-V.
https://github.com/Qonfused/OSX-Hyper-V
BSD 3-Clause "New" or "Revised" License
234 stars 11 forks source link

MacOS BigSur Installer as VHDX Issue #17

Closed excelsi closed 3 months ago

excelsi commented 3 months ago

I converted a MacOSBigSur DMG to VHDX as described with qemu-img and attached the VHDX to the VM but then i got this error:

image

This is my VM Config:

image

and these are my BigSur Files:

image

The DMG was generated after this Guide: https://iboysoft.com/de/nachricht/macos-big-sur-dmg-herunterladen.html

Qonfused commented 3 months ago

The DMG created with hdiutil appears to be a valid target for qemu-img to convert -- I would try converting it back to a DMG and see if you can still mount/open it. I hadn't tested this method above Mac OS Sierra and I'm not sure if you can convert the newer InstallAssistant.pkg image formats this way.

However, as an alternative, you can also manually create the VHDX disk and download the BaseSystem image for BigSur.

If you built the project locally (i.e. with .\scripts\build.ps1), you can also run the create-macos-recovery.ps1 and convert-efi-disk.ps1 scripts from the created dist\Scripts directory. As mentioned in the README, the create-virtual-machine.ps1 script will also do these steps for you and also configure the virtual machine.

excelsi commented 3 months ago

I used now the Phyton Script to download the BasSystem Recovery Image and installed BigSur this way