Run macOS on Linux with 1 COMMAND


Get your free proof of concept for TuxCare:

Most of you probably know that you can only run macOS on hardware that Apple sells, at least if you’re not willing to go the hackintosh route, which can be painful and complex. Still, some of us might want, or need to test stuff out on Apple’s operating system, fortunately, there is now a simple solution to do just that, with just one command line.

Become a channel member to get access to a weekly patroncast and vote on the next topics I’ll cover:

Support the channel on Patreon:

Follow me on Twitter :

My Gaming on Linux Channel:

Follow me on ODYSEE:
Or join ODYSEE:

The Linux Experiment merch: get your goodies there!

Link to SOSUMI:
How to install snap:
Mac OS Simple KVM:

Sosumi is a SNAP package that lets you install a Qemu virtual machine running Mac OS Catalina. It’s nothing you couldn’t do on your own with a bit more time, but this snap package has the advantage of being just one command line away, and taking care of all the setup for you.

Now be warned that Apple’s End User Licence Agreement doesn’t allow to run Mac OS in a VM on hardware that isn’t made by Apple, so do this at your own risk!

As always with virtual machines, you need to ensure that your CPU supports virtualization in the BIOS.

Once you’re all set, you just open a terminal window, and run this command:

sudo snap install sosumi

Let the installation run its course, and you should get a menu entry called, you guessed it, SOSUMI.

Run that to initialize the VM. You should get a terminal window which shows you the download progress for the system image that will let you install macOS.

Click inside the window to focus is, and then press enter to start the installer.
After a while, you should end up in the installer window for Mac OS.

To begin with, you’ll have to format the virtual disk that the VM has created for you. Double click on “disk utility”, and select the disk called “Apple Inc. VirtIO Block media”, with a size of 68Gb.

Then, click on “Erase”, and select the format you’d prefer using, I used APFS, as that’s the most recent Apple Filesystem, but it will work fine if you use Mac OS Extended.
Click the “Erase” button.

The operation should be pretty fast, and you can then close the disk utility window, and start the installer by double clicking on “Reinstall macOS”.

Once the installation is complete, your VM will reboot and let you complete the first-run setup. You’ll end up in Clover again.
One last reboot, and you’ll be able to select the “Boot mac OS frm Mac HD” option in Clover, the last option on the right.

Once the boot process is complete, you’ll have to sift through a few settings screen, and log in using an Apple ID, or create one if you don’t already have one.

Close the VM by shutting it down, and open your file manager. Snaps create a folder in your /home directory, to store everything, so head over there, and go to Sosumi, then Common.

Here, you’ll find a file called “launch”.
First, make a copy, in case something goes wrong, so you can restore the previous version, open the file with your text editor of choice.

In this file, you’ll see all the parameters for the Qemu virtual machine.

-m defines the memory usage of the VM, in gigabytes. By default, it’s 2, but as I have 32Gb on my device, I’ll put 16 in there.

Now, for the window resolution, it’s a bit more involved.

Type diskutil list

Grab the identifier for the disk that reads EFI, it should be the same as mine, disk2s1.

Then type
sudo diskutil mount disk2s1

or replace disk2s1 by the correct identifier for your EFI disk.

Now open the Finder, and go to the EFI disk in the sidebar. Open the CLOVER folder, and ediut the config.plist file, using textedit.

Here, you’ll find a line that reads screenresolution. Change the default of 1280×720 by what you want to use, in my case, 1920×1080. Save the file.

Now, shut down the VM, and restart it.
Right when you see the terminal window open, hit “escape”. You’ll see an interface that looks like a BIOS. Select device manager, OVMF Platform Configuration and then “change preferred”.

Press the F10 key to save, and then escape until you get back to the main menu, where you’ll then select “Continue”.

You can also change the CPU core count affected to the VM. By default, you’ll get 4 threads for 2 cores, listed in the line “-smp 4,cores=2”.
You can change that by putting another number.

Nguồn: https://ninhbinhtrekkingtours.com/

Xem thêm: https://ninhbinhtrekkingtours.com/category/cong-nghe

About admin

Check Also

Biến laptop Win thành máy Mac OS | hackintosh LAPTOP

Biến laptop Win thành máy Mac OS | HACKINTOSH LAPTOP Nguồn: https://ninhbinhtrekkingtours.com/ Xem thêm: https://ninhbinhtrekkingtours.com/category/cong-nghe

34 comments

  1. Very nice! Many thnks. But can you change storage size from 64GB to something more? Also can you use an external SSD as the targeted drive instead of the Hard Drive in the laptop?

  2. In elementary OS 5 dont work

  3. Which linux distro are you using? It looks good on its own

  4. ah yes the two things i hate: MacOS and snaps

  5. Hey in 6 minutes 46 secs you selected "France". Are you a Frensh youtuber but you decide to speak english on youtube or this just a error ?

  6. Is everyone in France obsessed with tea over coffee? (Made this assumption from the 2 French people I know lol)

  7. Super Video. The efi Tip to bump Up the Resolution was handy. I have to other tips i think you didnt mentioned.
    First is to change the disk size before the first install by changing the Image size of the qemu Image in the terminal. Later on is difficult.

    Second tip is to Turn Off Hardware acceleration at least If you dont use gpu passthrough…helps me to increase the speed of Chrome and Spotify and some other stuff significant.

  8. I take your tutorial with a pinch of salt. Can't trust people who spit out water pretending it's coffee 😛

  9. Has anyone successfully installed the following after complete installation of Sosumi/Catalina:
    1. macOS Catalina Security Update 2021-005 10.15.7, and
    2. macOS Big Sur

    I managed to download load both (need to enlarge the QEMU virtual disk by at least 10Gb prior to 1st installation of macOS Catalina after installation of Sosumi to accommodate the Big Sur downloads) and system notified for restart to install after completion of download. However, after restarting, it goes back to Catalina and notification to restart for completion of either appeared again. After each restart, it does the same.

    Is it because Sosumi/Catalina can't be updated/upgraded or is there other per-requisite configuration needed?

    Thank You.

    Note: I have allocated 8Gb RAM and 4 cores to Sosumi. My Linux system is a i5-8300H with 16Gb RAM on a 256Gb SATA-SSD.

  10. Buttplug… Mutahar fans will understand.

  11. Nice video…if you install Catalina on this virtual machine, can you then run the “MacOS update” to update your Catalina to BigSur or Monterey? Thank you!

  12. Do you think I can airplay??

  13. The software makes more confusion. ..

    What I hate is different version of same thing like piece of clothes and choices is hard to understand and have to listen the sales person who is selling certain product…

  14. can we upgrade to big sur or something after ??

  15. Can you please tell me exactly where do we have to press esc to access BIOS like menu to chane resolution?

  16. Loved your Video.
    I was trying to change the resolution…But the contents of EFI are not visible..What to do?
    EDIT: Mine was disk0s1 🙂

  17. a question how i make a big disk partition 68 gbs isn't enough

  18. I'm a newbee at this so when you got to the step and said, "Once you're all set…" wait a minute, what did you do before you were all set? How did you get all set?

  19. Sosumi not launching! Help!
    I did everything as you said and when the terminal finishes its job it should open clover right. For me nothing is happening! I again tried to open sosumi but then a terminal window opens and just closes.
    I am on zorin os based on ubuntu 18.04

  20. How to revert this?
    I mean, if I want to remove this vm and the virtual partition can i do it?

  21. Would be GREAT to have a guide showing how to do a GPU passthrough using the iGPU, thus leaving the main GPU free for the host OS and giving MacOS full graphical acceleration on another monitor. I'll buy you a tea if you can help. 🙂

  22. This is so cool!
    I'm just not sure why would I possibly need that.

  23. What is the size of the installer that will be downloaded ? i m on a limited bandwidth connection , this info would come in handy

  24. What distro is your host on?

  25. who would actually like snap? I'm lazy, but next ubuntu installation I'll definitely get rid of snap

  26. Do you know if this supports nested virtualization for running xcode simulated devices?

  27. Sosumi–ahh…the name brings me back to my early Mac user days. So what could be next? “Wild Eep”? haha

  28. Still one command more than installing Windows.

  29. I can’t use any usb devices on it? Anyone know how to fix

  30. they should rename it to Sumiden in case apple files a trademark violation. sosumi is already the name of a macos chime.