Sosumi, an easy way to install macOS on Ubuntu Linux, but didn’t work

Do you want to install macOS on Linux using Virtual Machine? The Sosumi could be an easy option, though there is no 100 percent guarantee it will work.

What is Sosumi?

To install macOS on Linux using Qemu virtual machine, the developer Alan Pope (popey) has created a bundled snap package known as Sosumi. It is easy to install and works on Ubuntu, Fedora, Debian, and other major Linux distributions. Here is the Github page and source of this snap package. Or directly visit the Snap page of Sosumi.

After the installation of the Sosumi packages, the Clover bootloader will pop up and boot to the macOS recovery system. One thing that we need to note down is the Sosumi itself doesn’t contain macOS instead when we fire up snap packages based macOS-Simple-KVM virtual machine to install macOS Catalina desktop it downloads an installer image for the same.

The VM created by this snap package will have a fixed resolution window, initial launch with 2GB of memory, bundles qemu-virgil, which includes virtio-vga, a paravirtual 3D graphics driver.

I tried to use it on Ubuntu 18.04 LTS and faced a couple of issues. Let me take you through the steps of macOS installation on Linux using Sosumi and in between, I will discuss what problems I have faced; And why finally I gave it up.

If you are using Ubuntu or Linux Mint’s latest operating system version then SNAP will be by default installed on your system and you can simply run the following installation command. But for other supported Linux systems you need to install the SNAPD, the steps can be found here in the SNAP installation documentation. 

sudo snap install sosumi

To start or initialize it after the installation, simply type:


in the command terminal.

Install Sosumi via SNAP
Install Sosumi via SNAP

But after installing the above stable package of the Sosumi and later initializing it, I continuously got an error couldn’t connect to KVM, although everything was working fine and tried all the rings and whistles but couldn’t take it forward. Later, I removed the stable package and installed the developer one using the below command:

sudo snap install sosumi --edge

Yes, this time it did work and connected the KVM successfully but again with one more error.

could not initialize SDL (x11 not available) - exiting

So, I enable the xhost access control program by the following commands:

xhost local:
xhost localhost

Once, it done, ran again sosumi command and this time I successfully able to start the process, first it downloaded the macOS installer image and then it triggered the Qemu machine with the Clover interface to install macOS on it.

Downloading macOS Catalina base system for sosumi Virtual machine
Downloading macOS Catalina base system for Virtual machine

Few things which we should keep in mind before moving further to install macOS on Linux virtual machine.

  1. CPU should support hardware virtualization.
  2. Once up and running the VM could use more than 30 GB of storage on the physical hard drive, thus make sure you have enough space. You can check your Sosumi folder size at ~/snap/sosumi
  3. The script of Sosumi will automatically assign Virtual RAM, storage, CPU and other Virtual resources to macOS, if you want to customize that, it can be done in ~/snap/sosumi/common/launch
  4. The running of macOS could be slow.
  5. Even after spending hours, installing and setting up the macOS Catalina on Linux Qemu via this SNAP package, there is no surety it will work. Thus, this is just for experiment and incase it work fine, voilà enjoy it.

Clover Bootloader on Sosumi VM

If everything goes well soon you will see Clover bootloader, simply press the Enter button to start booting macOS.

Note: To release the mouse pointer or take out and to focus it on host operating system press CTRL + Alt + G simultaneously.

Sosumi Clover Qemu
Sosumi Clover Qemu

macOS Utilities

If you are a user of macOS then you already know what to do next, however, if not then first we create a Disk partition to install on macOS on Linux VM. Select the Disk Utility option.

Disk Utility mac
Disk Utility mac

Apple Disk Partition

Select the first partition created by the Sosumi script which will be of 68.72 GB, enough to start with. Now, click on Erase button given in the top menu.

Virtual Drive size for partition

Format Disk in mas OS Extended (Journaled)

Simply give a name to the disk while leaving the rest of the options as it is, click on the Erase button. 

Erase and name partition
Erase and name the partition

Once done close the Disk Utility and get back to the macOS Utilities screen.

Erased complete
Erased complete

Reinstall macOS

As here we are showing the system that we are not installing macOS from zero instead assume there is some problem and we want to reinstall a new copy of macOS, that’s why we have the “Reinstall macOS” option, so just select that and hit the Continue button.

Re-install MacOS
Re-install macOS

Click the Agree button.

Sosumi MACOS Catalina
MACOS Catalina

Select the Disk

The disk we have created above will show in this step, select that and hit the Install button to get the macOS on Linux Virtual Machine.

Select Hard drive
Select Hard drive

So, now if everything goes well it will install in around 50 minutes and if not then even I don’t know how much time it would take because in my case, first, it showed 23 minutes than 11 hours.

It was kind of stuck here. I even went through the developer page of Sosumi but didn’t find any relevant way to solve this problem, thus in my case I was not able to install it. I know running macOS on hardware and environment which is not meant for it is always a cumbersome job.

Installing macOS on sosumi Linux Qemu VM
Installing macOS on Linux Qemu VM

So, this was my predicament, however, if you have some time and want to experiment with it you can try Sosumi on your machine may be it work fine in your case. Nevertheless, I will also try the source of this snap package VM that is macOS-Simple-KVM, a set of tools to set up a quick macOS VM on QEMU, accelerated by KVM and will let you know my experience with it. Till then be safe and keep experimenting with Linux.

9 thoughts on “Sosumi, an easy way to install macOS on Ubuntu Linux, but didn’t work”

  1. I’m getting an error when I try to install that say “Could not access KVM kernel module: No such file or directory
    qemu-system-x86_64: failed to initialize KVM: No such file or directory”. Any idea on how to fix this? I’m made sure kvm is installed.

  2. I can install it successfully, thanks. I try to upgrade to Big Sur but it says disk space is not enough. Is there anyway to allocate enough disk space for it? I have 1-TB in the Linux box.

    • As it uses Qemu Image to install the OS, the resizing is possible using the Qemu command that is

      qemu-img resize image.qcow2 +SIZE

      where SIZE is the size (e.g. 100G for 100 gibibytes)

  3. I did install it and it worked fine. however when i try to connect my phone by adding the line -device usb-host,vendorid=0x05ac,productid=0x12a8 to the launch file it does nothing. I also tried add guest-reset=false wich i saw someone suggest when searching on it. Saddly this didn´t help either but it gave this output in hostterminal “qemu-system-x86_64: libusb_set_configuration: -6 [BUSY]”.
    Is there any easy way to connect an iphone to sosumi? pci passthrough isn’t an option since i’ve only have one usbcontroller.

  4. sosumi closes when i open it
    It says something about “”Unsupported host””
    and then closes

  5. Sosumi didn’t work for my system (i5-8300H, 16Gb RAM, 500GB NVMe). I got pulseaudio error messages, but Sosumi-Edge worked perfectly. But it took up 63Gb+ in size.. I will reduce the size of the Virtual Disk later.

  6. how is the processor type changed and is there a list somewhere of the options?


    p.s. I have a fully working 2009 iMac at the moment.


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.