

You should now have a folder containing the Ubuntu ISO and the hard disk which Ubuntu will be installed on.

Advertisements qemu-img create -f qcow2 ~/QEMU/ubuntu-desktop-18.04.qcow2 10G Run the following command to create an 10 GB hard disk (or adjust to your needs) for the virtual machine. Move the ISO to the ~/QEMU folder as it will make the QEMU command easier. Go to the Ubuntu website and download the Ubuntu Desktop 18.04 ISO. Once the install is finished, run the following command to make sure QEMU is installed and ready for the next steps: qemu-system-x86_64 -versionĬopyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developersĪs you can see, as of writing, the latest version is 5.1.0 Step 2: Download Ubuntu ISO With Homebrew installed, run the following command to install QEMU. You’ll need to do that first by following the Homebrew installation guide. We’re gonna use Homebrew to install QEMU, so if you haven’t got Homebrew installed on your machine. You don’t have to do this but it will make following this tutorial easier. This tutorial will show you how to create a Ubuntu Desktop 18.04 virtual machine and run it on macOS with QEMU and hardware acceleration.īefore we begin, I suggest you create a folder on your Mac to store the virtual machine disk image, the Ubuntu ISO and startup script. Perfect for development environments and practice labs.

Run Linux, macOS, vSphere and more on a single PC or Mac. Run Multiple Operating Systems on PC and Macĭownload VMware's Powerful desktop virtualization tool for Developers and IT Professionals.
