Support for offline installation

This commit is contained in:
Kwadwo Kyeremeh 2023-09-09 10:06:17 +00:00 committed by GitHub
parent 7e885b8bae
commit 3209cfee8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 18 additions and 0 deletions

18
run_offline.md Normal file
View File

@ -0,0 +1,18 @@
### How to run the Installation offline without macOS
- Download the ventura file (InstallAssistant.pkg) from https://mrmacintosh.com/macos-ventura-13-full-installer-database-download-directly-from-apple/(https://mrmacintosh.com/macos-ventura-13-full-installer-database-download-directly-from-apple/)
- Create an iso file `InstallAssistant.iso` with the InstallAssistant.pkg(https://swcdn.apple.com/content/downloads/13/14/042-43677-A_H6GWAAJ2G9/6yl1pnz2f3m5sg2b4gpic7vz2i1s1n9n23/InstallAssistant.pkg) and `run_offline.sh` in the `scripts/run_offline.sh` files
- Add the following to your `OpenCore-Boot.sh`
```
-drive id=MacDVD,if=none,file="./InstallAssistant.iso",format=raw
-device ide-hd,bus=sata.5,drive=MacDVD
```
- Create your qcow2 file
`qemu-img create -f qcow2 -o preallocation=off mac_hdd_ng.img 256G`
- Run ./OpenCore-Boot.sh from the terminal
- - Use the `Disk Utility` tool within the macOS installer to partition, and format the virtual disk attached with name **macOS**
- When completed, close `Disk Utility`
- Go to the Terminal in your virtual machine, Click `Utilities`, select `Terminal`
- Run the cmd `sh /Volumes/InstallAssistant/run_offline.sh`
- Wait for a few minutes for the installation window