This instruction is only care how to install MacOS on WSL2, but not whether you have right permission to install MacOS on your device or not. (EULA)
MacOS Catalina 10.15.5 introduces battery health management in the Energy Saver settings for notebooks, an option to control automatic prominence of video tiles on Group FaceTime calls,.
Environment pip version: 20.0 Python version: 3.6.8 OS: Ubuntu 14.04.6 (Don't judge) Description During our build process, we automatically upgrade to the newest version on pip. After upgrading. Linux users on Arch or Manjaro attempting to install macOS/OSX in VMWARE, or QEMU/KVM, will greatly benefit from this tutorial. UPDATED 3rd July 2020. Docker-OSX version: good to have a look, instantly run; Virt-Manager: import macOS-libvirt-Catalina.xml script from the xml file in OSX-KVM; OpenCore script./OpenCore-Boot.sh.
- prerequirements
- Setting WSL2
- Enable KVM
- set QEMU VM
- create macOS-Simple-KVM on QEMU
- Launch
- KVM supporting Intel CPU.
- Device to install MacOS (that does not conflict with EULA)
- First of all you need to check your Windows 10 version is greater than 2004 (means it was released at April 2020 in general).If you are not, then you update your Windows and come back here.
- Then You can enable Windows Subsystem Linux at
Control
-Apps
-Programs and Features
-Turn Windows features on or off
. - I have not enough idea that you will need Hyper-V feature for this work, but if you can, please enable Hyper-V and virtualization feature.
- Then go to Microsoft Store. Install
Ubuntu
.(If you don’t want to use Ubuntu, then you can try any other linux. maybe.. :) ) - Sure you should set your Linux. Just follow instruction by starting
Ubuntu
app.At this moment you have the WSL but not WSL2. - After all, upgrade WSL to version 2. This official instruction is kind and easy enough.https://docs.microsoft.com/en-us/windows/wsl/install-win10
Congrats, you have WSL2 now! but it is just first step.
- You may think it was dizzy work to set WSL2, but it is absolutely clear than this step. So, take a deep breath before start.
- First you should get WSL2 Kernel codes. It is preferred to have code of released version. (I am using 4.19.104)https://github.com/microsoft/WSL2-Linux-Kernel
- Before clone or unzip the code, you may need to set
per-directory case sensitivity
.Its quite hassle but if you skip this, you will fail to build after all! - Then extract( or clone) code somewhere you set case-sensitive.
- Following below instruction. It cames from Accelerated KVM guests on WSL 2```bash$ sudo apt update && sudo apt -y upgrade$ sudo apt -y install build-essential libncurses-dev bison flex libssl-dev libelf-dev cpu-checker qemu-kvm aria2
Macos Catalina Install Is Damaged
$ tar -xf WSL2-Linux-Kernel-4.19.104-microsoft-standard.tar.gz$ cd WSL2-Linux-Kernel-4.19.104-microsoft-standard/
$ cp Microsoft/config-wsl .config$ make menuconfig
- Let’s build! It takes an hour.
- After-build setting:
- Are you done? then make a
.wslconfig
on your windows user home directory (C:Users<username>
).Below is assuming your build image was copied to user home directory. - Let’s get back to PowerShell(administrator).
- You should check your Kernel(and CPU) support KVM in linux shell, after that.
- If you cannot get some positive number after last line, then you are a unfortunate guy! (I did. haha)
- If you are not, you can go to next step. Otherwise follow below steps.
- You need
WinDbg Preview
in Microsoft store. - Get script from here: https://gist.github.com/steffengy/62a0b5baa124830a4b0fe4334ccc2606 (Thank you Steffengy!)get
run-wsl.bat
andscript.js
at same directory. - If you launch
run-wsl.bat
: then you will see WinDbg window and the WSL terminal after few seconds.now you can try below again!
- You are using Windows as host, thus you may need to install X server on your Windows.
- I installed vcXsrv by following this instruction. https://blog.nadekon.net/115(Korean)
- It is preferred to add below line in your
.bashrc
. - We will use KVM, thus should import KVM modules every running. Adding belows to
.bashrc
are preferred. - Simply check setting is okay:
Osx Catalina Install Pip
- this steps are from https://computingforgeeks.com/how-to-run-macos-on-kvm-qemu/ . some are changed but note reference.
- Let’s install requirements and code.
- Get install disk from server.
- make disk image.
- add below disk options to
./basic.sh
. - You will need to format disk, install macOS from internet, and setting your preferences with ‘Clover’.Details are described at the origin instruction.
Macos Catalina Install Iso
- when you run
.basic.sh
, you will see a window is opening via vcXsrv! - you may take 2 or more hours to install Catallina on your VM, after that, you are free to use MacOS VM.
- Memory and Display settings might be uncomfortable, but you can find options easily from internet: keyword is
QEMU mem/vga setting
.