Macos Ubuntu Vm

Posted on  by 



On Mac OS (host): Shutdown your VM and do: VirtualBox Settings Network Add (you will get vboxnet0) On a terminal ifconfig will show you new interface vboxnet0. VM's Settings System check 'Enable I/O APIC.' VM's Settings Network Adapter 2 host-only vboxnet0. On Ubuntu (guest): Install OpenSSH Server. Notice: There is now an official release of checkra1n for linux! This method is outdated!New guide: #Checkra1n #Tutorial #.

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)

  1. prerequirements
  2. Setting WSL2
  3. Enable KVM
  4. set QEMU VM
  5. create macOS-Simple-KVM on QEMU
  6. Launch
  1. KVM supporting Intel CPU.
  2. Device to install MacOS (that does not conflict with EULA)
Macos Ubuntu Vm
  1. 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.
  2. Then You can enable Windows Subsystem Linux at Control - Apps - Programs and Features - Turn Windows features on or off.
  3. 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.
  4. Then go to Microsoft Store. Install Ubuntu.(If you don’t want to use Ubuntu, then you can try any other linux. maybe.. :) )
  5. Sure you should set your Linux. Just follow instruction by starting Ubuntu app.At this moment you have the WSL but not WSL2.
  6. 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.

Macos ubuntu virtualbox
  1. 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.
  2. 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
  3. 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!
  4. Then extract( or clone) code somewhere you set case-sensitive.
  5. 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

$ 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

  1. Let’s build! It takes an hour.
  2. After-build setting:
  3. 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.
  4. Let’s get back to PowerShell(administrator).
  5. You should check your Kernel(and CPU) support KVM in linux shell, after that.
  6. If you cannot get some positive number after last line, then you are a unfortunate guy! (I did. haha)
  7. If you are not, you can go to next step. Otherwise follow below steps.
  8. You need WinDbg Preview in Microsoft store.
  9. Get script from here: https://gist.github.com/steffengy/62a0b5baa124830a4b0fe4334ccc2606 (Thank you Steffengy!)get run-wsl.bat and script.js at same directory.
  10. 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!
  1. You are using Windows as host, thus you may need to install X server on your Windows.
  2. I installed vcXsrv by following this instruction. https://blog.nadekon.net/115(Korean)
  3. It is preferred to add below line in your .bashrc.
  4. We will use KVM, thus should import KVM modules every running. Adding belows to .bashrc are preferred.
  5. Simply check setting is okay:
UbuntuMacos Ubuntu Vm

Ubuntu Vmware Macos Unlocker

  1. this steps are from https://computingforgeeks.com/how-to-run-macos-on-kvm-qemu/ . some are changed but note reference.
  2. Let’s install requirements and code.
  3. Get install disk from server.
  4. make disk image.
  5. add below disk options to ./basic.sh.
  6. You will need to format disk, install macOS from internet, and setting your preferences with ‘Clover’.Details are described at the origin instruction.

Macos Vm On Macos

  1. when you run .basic.sh, you will see a window is opening via vcXsrv!
  2. you may take 2 or more hours to install Catallina on your VM, after that, you are free to use MacOS VM.
  3. Memory and Display settings might be uncomfortable, but you can find options easily from internet: keyword is QEMU mem/vga setting.




Coments are closed