relf108 / OSX-KVM-installer

An automation of the cli based installation steps for the kholia/OSX-KVM project. OSX-KVM-installer allows users to set up a fully functioning OSX VM with one command. Tested on Arch and Debian based Linux environments
Other
26 stars 3 forks source link

Running

wget https://github.com/relf108/OSX-KVM-installer/releases/download/1.0.3/osx_kvm_installer
chmod +x osx_kvm_installer
./osx_kvm_installer

Thats it, you've just run the installer, now go to post installation for more info on setting up your install.

Building

An automation of the cli based installation process for the kholia / OSX-KVM project.

Running the script form source

In order to run this you will need to have dcli installed. Do so with these commands.
wget https://github.com/bsutton/dcli/releases/download/latest-linux/dcli_install
chmod +x dcli_install
./dcli_install
Next, clone this code to your local device, navigate to OSX-KVM-installer and type ./installer.dart.
Answer requested input as the program runs and you're done.

Post installation

After the script has been run a qemu view will pop up with the osx installer.
Select the base-osx drive with your keyboard, another window will pop up.
Open the disk utility and select the drive with storage set to whatever you passed in (64 is the default).
Select erase on this drive and once that process is finished close the window. You should be taken back to the program select screen.
Select reinstall macOS and follow the installation process.
To run your new macOS installation any time simply navigate to the OSX-KVM-runner directory created inside the OSX-KVM-installer directory.
and run the osx_kvm_runner file with
./osx_kvm_runner
You're good to go, chief.