HyperV黑苹果记录
准备
从imbushuo那里要来了攻略:
imbushuo原版HyperV黑苹果攻略下载安装包
## Prepare macOS Image Big Sur (11.0) works as verified. I haven't checked others. Preferably you should use a Mac to prepare the macOS image, as it saves time doing the online recovery stuff. - Download Big Sur installer from App Store or just [click this link](http://swcdn.apple.com/content/downloads/04/42/002-42341-A_4PL6G0S8GN/cs65avpi1aelh133lc36fy0ste3lihe71n/InstallAssistant.pkg) - Install the `.pkg` (if download from external sources) - Create a 16GB R/W disk image, using GUID partition table and HFS+ file system - Use `createinstallmedia` to prepare the disk image - Use `qemu-img convert -O vhdx -f raw <dmg> <vhdx>` to convert it for Hyper-V use
- 参照:
- imbushuo给出的系统版本(11.0)
- Windows安装包制作教程:https://dortania.github.io/OpenCore-Install-Guide/installer-guide/winblows-install.html#downloading-macos
- windows的安装包教程和mac的不同,无法产生HFS格式的镜像
- 使用实验室m1制作安装镜像
配置HyperV
## Prepare Hyper-V Create a `Generation 2` Virtual Machine, turn off Secure Boot, give it enough memory and vCPUs. Use **only single SCSI controller** because the driver only knows about the first one. You might want to either automatically or manually take snapshots, but that's up to you. Production checkpoints are not supported.
配置OpenCore
Read [OpenCore manual](https://dortania.github.io/OpenCore-Install-Guide/prerequisites.html) first. The following section will be supplemental to the manual. Download a set of OpenCore, and apply a set of ACPI patches: [hv-macos-acpi.zip](/microsoft/hv-macos/hv-macos-acpi.zip) (macOS needs standardized ACPI `_HID`, which Hyper-V doesn't have), and apply a Hyper-V specific `config.plist`. Download required KEXTs: [MacHyperVSupport.kext](https://github.com/acidanthera/MacHyperVSupport/releases/tag/0.7), [Lilu.kext](https://github.com/acidanthera/Lilu/releases/tag/1.5.9), [VirtualSMC.kext](https://github.com/acidanthera/VirtualSMC/releases) (note: no plugin needed), [WhatEverGreen.kext](https://github.com/acidanthera/WhateverGreen/releases/tag/1.5.6) Some explaination: SIP and Secure Bootis disabled, Vault disabled (so no KeyVault!), verbose mode is on for diagnostics, KEXT is injected. We use the SMBIOS information from Mac Mini (w/o T2) to prevent the installer updating T2 (which doesn't exist, thus it will complain and fail the installation.)
MacHyperVSupport v0.7:21年10月4号更新
WhateverGreen v1.5.6:22年1月11号
Lilu v1.5.9:22年1月11号
所以我选了OC v0.7.7
- 问题1:imbushuo给的配置文件配不出来
- 改用0.7.5,配置成功,但是经常panic
- 问题2:网络流量大时经常panic
- 原因不明