![]() The rest of the switches should be left as is. cdrom points to the iso image of the operating system that will be installed on the VM and -drive points to the virtual disk created in the first step. The -m and -smp switches specify how much memory and cpu on the host is to be reserved for the guest VM. ![]() Since this guide is for Intel based Macs, the command used is qemu-system-x86_64. Now that the virtual disk is ready, the next step is to install the operating system onto it. ![]() qemu-img create -f qcow2 mydisk.qcow2 15G Install the OS The format of the disk image is qcow2 and the size of the disk is 15 GB. # Homebrew brew install qemu # MacPorts sudo port install qemu Create a virtual disk imageĬreate a virtual disk image onto which the OS will be installed. The easiest way to install QEMU on MacOS is via HomeBrew or MacPorts. How to Run a Linux Virtual Machine on MacOS With QEMU Installing QEMU
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |