How to Install Linux (Ubuntu Server 18.04) on a Mac with VMware Fusion
This post shows you how to create a Ubuntu virtual machine that runs on a Mac, giving you the ability to use Linux without needing extra hardware.
VMware Fusion* is a desktop virtualization program that lets you run multiple different operating systems on your Mac at the same time. This is useful if you’re a developer because you can test your software before putting it into production.
It’s also good for creating virtual labs to test the design of IT infrastructure, or to get hands-on experience with new technology when practicing for a certification.
In this post, we’ll use VMware Fusion to create a Ubuntu Server 18.04 VM so you can run Linux on your Mac without needing extra hardware.
Before we begin, you should have VMware Fusion* installed on your Mac and have downloaded the Ubuntu Server ISO.
The steps in this tutorial have been tested on VMware Fusion 11.5* using the alternative download of Ubuntu Server 18.04.
Create the Ubuntu VM
Open VMware Fusion, click + then New…
Select Create a custom virtual machine then click Continue.
Select Linux > Ubuntu 64-bit then click Continue.
Leave the firmware on Legacy BIOS then click Continue.
Select Create a new virtual disk then click Continue.
Click Customize Settings.
Give the virtual machine a name, for example ubuntu, select a location on your Mac to save its files, then click Save.
The virtual machine Settings screen will load, and from here, we can change the virtual hardware before powering it on. Let’s reduce the memory by clicking on Processors & Memory.
Change the amount of memory to 512 MB, which is the minimum requirement for Ubuntu 18.04, then click Show All to view all the settings again.
We also need to attach the Ubuntu ISO to the CD/DVD ROM drive so that when you power on the VM, the installer is loaded. We’ll do that now by clicking on CD/DVD (SATA).
Select Choose a disc or disc image… from the dropdown.
Browse to the location of the Ubuntu image located on your Mac, then click Open.
Tick the Connect CD/DVD Drive option so that the drive is connected to the VM at startup then close the Settings screen.
Click the play button to start the VM.
The Ubuntu Server installer should load and you’re now ready to install the operating system.
Walkthrough the installer as you would on other hardware or virtualization software. Choose your language, keyboard layout, network config and user settings. When you get to the end of the installer, install the OpenSSH server, so you can connect to the VM from the Mac terminal using SSH.
In this tutorial, we learned some of the reasons why you might want to use virtualization to run a Linux virtual machine on your Mac. We used VMware Fusion* to create a Ubuntu 18.04 VM, and we learned how to edit its virtual hardware by adjusting the amount of memory.
Written by Tony
I do stuff with computers, mainly virtualization. Contact me: email@example.com