Qonfused/OSX-Hyper-V

Booting Mac OS X 10.4-10.12

Qonfused opened this issue · 0 comments

CPU Support:

  • CPUs lacking RDAND instruction support require the HfsPlusLegacy driver instead of the HfsPlus driver provided (applicable to Sandy Bridge and older -- as well as low-end i3/Celeron Ivy Bridge).
  • 32-bit CPUs require the HfsPlus32 driver. Use this instead of HfsPlusLegacy and do not mix with other HFSPlus/HfsPlusLegacy drivers.

Partition Mapping + Image Loading:

  • For Mac OS X 10.9 and older, OpenPartitionDxe (provided w/ the OpenCore package) is required to boot into macOS Recovery. This is typically indicated with OCB: LoadImage failed - Unsupported in the OpenCore log due to the older Apple partition mapping.
  • For Mac OS X 10.12 and older, FixupAppleEfiImages can preprocess boot.efi images to fix W^X errors that corrupt image loading for newer PE/COFF loaders (which the generation 2 VM in Hyper-V uses).

EfiBoot + Kernel Loading:

  • Kernel sliding (KASLR) is not supported in Mac OS X 10.7 and older -- the AllowRelocationBlock booter quirk must be used (which is already enabled as part of this project's --legacy build).