-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MacPro5,1 Snow Leopard -> Mojave Instructions OC/DUDK
- Loading branch information
1 parent
ab9555c
commit fcd25fd
Showing
210 changed files
with
5,079 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<!-- | ||
Copyright (c) 2024 RoyalGraphX, BSD 3-Clause License | ||
Provided to hopefully help those on debian not have to manually | ||
find the OVMF path, as its different on various installs... | ||
--> | ||
|
||
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> | ||
<name>DarwinKVM</name> | ||
<uuid>c44e7384-bc74-4d3e-b6ce-5a6148296fe8</uuid> | ||
<memory unit='KiB'>8388608</memory> | ||
<currentMemory unit='KiB'>8388608</currentMemory> | ||
<memoryBacking> | ||
<nosharepages/> | ||
</memoryBacking> | ||
<vcpu placement='static'>8</vcpu> | ||
<os> | ||
<type arch='x86_64' machine='q35'>hvm</type> | ||
<loader readonly='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader> | ||
<nvram>/var/lib/libvirt/qemu/nvram/DarwinKVM_VARS.fd</nvram> | ||
<boot dev="hd"/> | ||
<bootmenu enable='yes'/> | ||
</os> | ||
<features> | ||
<acpi/> | ||
<apic/> | ||
</features> | ||
<cpu mode='host-passthrough' check='none' migratable='on'> | ||
<topology sockets='1' dies='1' cores='4' threads='2'/> | ||
<cache mode='passthrough'/> | ||
</cpu> | ||
<clock offset='utc'> | ||
<timer name='rtc' tickpolicy='catchup'/> | ||
<timer name='pit' tickpolicy='delay'/> | ||
<timer name='hpet' present='yes'/> | ||
<timer name='tsc' present='yes' mode='native'/> | ||
</clock> | ||
<on_poweroff>destroy</on_poweroff> | ||
<on_reboot>restart</on_reboot> | ||
<on_crash>restart</on_crash> | ||
<devices> | ||
<emulator>/usr/bin/qemu-system-x86_64</emulator> | ||
<memballoon model='none'/> | ||
</devices> | ||
<qemu:commandline> | ||
<qemu:arg value='-global'/> | ||
<qemu:arg value='ICH9-LPC.acpi-pci-hotplug-with-bridge-support=off'/> | ||
<qemu:arg value='-device'/> | ||
<qemu:arg value='isa-applesmc,osk=ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc'/> | ||
<qemu:arg value='-usb'/> | ||
<qemu:arg value='-device'/> | ||
<qemu:arg value='usb-tablet'/> | ||
<qemu:arg value='-device'/> | ||
<qemu:arg value='usb-kbd'/> | ||
<qemu:arg value='-cpu'/> | ||
<qemu:arg value='Cascadelake-Server,vendor=GenuineIntel'/> | ||
</qemu:commandline> | ||
</domain> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule DarwinOCPkg
updated
7 files
+ − | Docs/SSDT-EC-USBX.aml | |
+ − | Docs/SSDT-EC.aml | |
+ − | Docs/SSDT-PLUG.aml | |
+0 −0 | X64/EFI/OC/ACPI/.gitkeep | |
+0 −0 | X64/EFI/OC/Kexts/.gitkeep | |
+0 −0 | X64/EFI/OC/Resources/.gitkeep | |
+0 −0 | X64/EFI/OC/Tools/.gitkeep |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
DarwinKVM Docs Version 2.0.0~prerelease</br> | ||
Copyright © 2024 RoyalGraphX. Distributed by a <a href="https://github.com/royalgraphx/DarwinKVM/blob/main/LICENSE">BSD 3-Clause License</a>.</br> | ||
Last Modified: Tues, 11 Jun 2024 4:38:40 CDT | ||
Last Modified: Thu, 13 Jun 2024 11:38:40 CDT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
layout: default | ||
title: Importing XML | ||
parent: DarwinLegacyKVM.xml | ||
grand_parent: XML Import/Usage | ||
nav_order: 1 | ||
--- | ||
|
||
# Importing XML | ||
#### This imports a blank Virtual Machine titled "DarwinLegacyKVM" ready to be used for macOS Guests. | ||
|
||
Run the following command in the root directory of DarwinKVM: | ||
|
||
``virsh --connect qemu:///system define DarwinLegacyKVM.xml`` | ||
|
||
Which will now allow you to view it in Virt-Manager. | ||
|
||
<a href="https://raw.githubusercontent.com/royalgraphx/DarwinKVM/main/docs/assets/VManTemplateImportLegacyAlt.png"><img src="../../../../assets/VManTemplateImportLegacyAlt.png" alt=""></a> | ||
|
||
Notice this template is missing a few things you must set up. | ||
|
||
- Has no default Display | ||
- Has no drives configured | ||
- Has no NIC configured | ||
|
||
Let's go through these steps quickly. | ||
|
||
## You can now continue to the next <a href="../01-ConfigDisplay">page</a>. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
layout: default | ||
title: Configure Virtio Display | ||
parent: DarwinLegacyKVM.xml | ||
grand_parent: XML Import/Usage | ||
nav_order: 2 | ||
--- | ||
|
||
# Configuring Virtio Display | ||
#### This is required to have a display. | ||
|
||
Select the "Add Hardware" button and navigate to Graphics. Select the ``Listen Type:`` to ``None``. then select the ``Finish`` button. | ||
|
||
<a href="https://raw.githubusercontent.com/royalgraphx/DarwinKVM/main/docs/assets/VManLegacyKVMAddDisplay1.png"><img src="../../../../assets/VManLegacyKVMAddDisplay1.png" alt=""></a> | ||
|
||
Select the Video tab on the left-hand side, and choose the ``VGA`` model. | ||
|
||
<a href="https://raw.githubusercontent.com/royalgraphx/DarwinKVM/main/docs/assets/VManLegacyKVMAddDisplay2.png"><img src="../../../../assets/VManLegacyKVMAddDisplay2.png" alt=""></a> | ||
|
||
## You can now continue to the next <a href="../02-ConfigDrives">page</a>. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
layout: default | ||
title: Configure Storage Drives | ||
parent: DarwinLegacyKVM.xml | ||
grand_parent: XML Import/Usage | ||
nav_order: 3 | ||
--- | ||
|
||
# Configure VirtIO Drives | ||
#### This is required to boot OpenCore and recoveryOS. | ||
|
||
## Adding OpenCore Disk | ||
|
||
Select the "Add Hardware" button to bring up the Storage prompt. Select the OpenCore image via the "Manage..." button. The ``Bus type:`` should be set to SATA. Cache mode set to None, and Discard mode is set to Unmap. | ||
|
||
<a href="https://raw.githubusercontent.com/royalgraphx/DarwinKVM/main/docs/assets/VManLegacyKVMAddSATA.png"><img src="../../../../assets/VManLegacyKVMAddSATA.png" alt=""></a> | ||
|
||
Don't forget to set it as your boot drive. | ||
|
||
<a href="https://raw.githubusercontent.com/royalgraphx/DarwinKVM/main/docs/assets/VManLegacyKVMSetBootDisk.png"><img src="../../../../assets/VManLegacyKVMSetBootDisk.png" alt=""></a> | ||
|
||
## Creating a Virtual SSD for installation | ||
|
||
{: .headsup } | ||
If you're looking to passthrough a physical drive on your system to act as the main storage for the Virtual Machine, substitute this section. Requires macOS compatible SSD/NVMe Hardware. | ||
|
||
To create a virtual SSD, when selecting the "Add Hardware" button to bring up the Storage prompt, there is a + button in the current libvirt images directory. You can choose any size you'd like but I suggest the standard 128G, 256GB, 512GB, 1024GB. | ||
|
||
Here you can see me creating the disk image I'll be installing macOS on. | ||
|
||
<a href="https://raw.githubusercontent.com/royalgraphx/DarwinKVM/main/docs/assets/VManAddVirtIOInstallation.png"><img src="../../../../assets/VManAddVirtIOInstallation.png" alt=""></a> | ||
|
||
## You can now continue to the next <a href="../03-ConfigNIC">page</a>. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
layout: default | ||
title: Configure NIC for Virtual Machine | ||
parent: DarwinLegacyKVM.xml | ||
grand_parent: XML Import/Usage | ||
nav_order: 4 | ||
--- | ||
|
||
# Configure Virtual Machine NIC | ||
#### <span style="color: #ffab52;">This is required to download macOS via recoveryOS</span>, as well as will be the general ethernet connection in the Virtual Machine. | ||
|
||
## Using the Default Network | ||
|
||
Select the "Add Hardware" button and choose the Network category on the left-hand side. You can now see your network source settings | ||
|
||
For the default network you simply have to set the model depending on your target Mac OS X Installation. | ||
|
||
### For Mac OS X 10.11 (El Capitan)+ utilize the ``vmxnet3`` ethernet adapter model. | ||
|
||
<a href="https://raw.githubusercontent.com/royalgraphx/DarwinKVM/main/docs/assets/VManLegacyAddNICvmxnet3.png"><img src="../../../../assets/VManLegacyAddNICvmxnet3.png" alt=""></a> | ||
|
||
### For older OS X Targets, utilize the Intel e1000 ethernet adapter model. | ||
|
||
<a href="https://raw.githubusercontent.com/royalgraphx/DarwinKVM/main/docs/assets/VManLegacyAddNICe1000.png"><img src="../../../../assets/VManLegacyAddNICe1000.png" alt=""></a> | ||
|
||
## You can now continue to the next <a href="../04-Review">page</a>. |
Oops, something went wrong.