From 11138bf7735153b644cbc8eb83c940ea5aa53dfe Mon Sep 17 00:00:00 2001 From: notAperson535 <95918679+notAperson535@users.noreply.github.com> Date: Wed, 19 Jan 2022 15:37:49 -0500 Subject: [PATCH] Update README.md --- README.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4d4d87b..340c7b8 100644 --- a/README.md +++ b/README.md @@ -37,8 +37,7 @@ sudo emerge -a qemu python:3.4 pip # for Gentoo ``` ## Step 1 -Run `fetch-macOS-v2.py` to download installation media for macOS (internet required). You can also bring your own BaseSystem.dmg file and convert it. (If you are trying to run an older version of macOS, use legacy.sh instead of basic.sh. -``` +Run `fetch-macOS-v2.py` to download installation media for macOS (internet required). ./fetch-macOS-v2.py ``` Then run @@ -46,6 +45,16 @@ Then run qemu-img convert BaseSystem.dmg -O raw BaseSystem.img ``` +## Bringing Your Own macOS bootable file +If you want to bring your own bootable file, whether it be for an older version of macOS or you already have a file, Check if it is named BaseSystem. If not, rename it. +If the file is now named BaseSystem.dmg, you must run this command to convert it to BaseSystem.img +``` +qemu-img convert BaseSystem.dmg -O raw BaseSystem.img +``` +If it is named BaseSystem.dmg, you are good to go + +Hint (If using an older version of macOS, instead of running sudo `./basic.sh` run `sudo ./legacy.sh` + ## Step 2 Create an empty hard disk using `qemu-img`, changing the name and size to preference: ```