Virtual Machine Instructions for Mac

There are two ways to create a virtual machine (VM) on a Mac. You can either use an existing image or create a new image. Either way, you will need to install the UTM virtual machine application on your Mac. Note that something will not work as expected since the UTM is emulating a completely different architecture. For example, copy and paste will not work nor multiple touchpad gestures.

Use Existing Image

Step 1: Install UTM

Download the .dmg file from the UTM website (Free) or the Mac App Store (Paid costs $10 to support development).

UTM website: https://mac.getutm.app
App Store: https://apps.apple.com/us/app/utm-virtual-machines/id1538878817

UTM-Web

If you download the free version, to install the application by dragging it to the Applications folder.

UTM-Install

Step 2: Download Prebuilt UTM Image

Download the Prebuilt SEED Ubuntu 12.04 image: https://web.eecs.utk.edu/~asaucer/CS366/SEED-Ubuntu-12.04.utm.zip

Pre-Download

Step 3: Unzip the Image

Double-click the downloaded .zip file to unzip it or use the following command in the terminal.

unzip SEED-Ubuntu-12.04.utm.zip
Pre-Unzip

Step 4: Open UTM

Open the UTM application.

UTM-Open

Step 5: Import the Image

Double-click on the SEED-Ubuntu-12.04.utm file to import the image into UTM.

Pre-Open

Step 6: Start the Virtual Machine

Click the Start button to start the virtual machine.

Pre-VM

The default username and password are seed and dees. Root access is root and seedubuntu. It will be slow since it emulating a completely different architecture. Ignore the warning about the OS being outdated.

UTM-Load

Step 7: Get the IP Address

Open a terminal in the virtual machine and run the following command to get the IP address.

ip -4 a

Now you can ssh/scp into the virtual machine using the IP address. Since copy and paste doesn’t work. Make sure you disable VPNs and firewalls that may block.

SSH

Create New Image

This section will guide you through creating a new virtual machine image using the normal SEED Ubuntu 12.04 image. This process is more involved than using an existing image, but it is useful if you want to customize the image or if you are unable to use the existing image for some reason. Additionally, this process assumes that you are using a Mac with Homebrew already installed.

Step 1: Install UTM

Download the .dmg file from the UTM website (Free).

UTM website: https://mac.getutm.app

UTM-Web

Install the application by dragging it to the Applications folder.

UTM-Install

Step 2: Download SEED Ubuntu 12.04 Zip

Ubuntu 12.04 (VMWare): http://www.cis.syr.edu/~wedu/SEEDUbuntu12.04.zip

Build-Download

Step 3: Unzip the Image

Double-click the downloaded .zip file to unzip it or use the following command in the terminal.

unzip SEEDUbuntu12.04.zip
Build-Unzip

Step 4: Download qemu

qemu is a free and open-source VM convert tool that can convert between different VM formats.

brew install qemu

Step 5: Convert the Image

qemu-img convert -f vmdk ./SEEDUbuntu12.04/SEEDUbuntu12.04.vmdk -O qcow2 SEEDUbuntu12.04.qcow2 -p
Build-Convert

Step 6: Open UTM

Open the UTM application and click “Browse UTM Gallery”.

UTM-Open

Step 7: Download Ubuntu 14.04

Download UTM Image from: https://mac.getutm.app/gallery/ubuntu-14-04

Build-Download-1

Step 8: Import the Ubuntu 14.04 Image

Open the UTM application and double-click on the Ubuntu 14.04.utm image to import it.

Build-Open

Step 9: Clone to Disk

Right-click on the Ubuntu 14.04 image and select Clone. Then restart UTM.

Build-Clone

Step 10: Change the IDE Drives

Click on the Ubuntu 14.04 image and go to the Settings gear in the top right. Delete the existing IDE drive (ubuntu-14.04.qcow2) and add a new one. Select the SEEDUbuntu12.04.qcow2 file as the new IDE drive. Drag it to be above the CD/DVD drive.

Build-Drive-Del
Build-Drive-Import
Build-Drive-Sel
Build-Drive-Drag

Step 11: Change the Network Adapter

Change the network adapter to Shared Network in the settings.

Build-Network

Step 12: Change other settings

Change the memory and CPU settings as needed. The default settings should be fine to start with. I recommend at least 2GB of memory and changing the generic information to not be confused.

Build-RAM
Build-Name

Step 13: Start the Virtual Machine

Click the Start button to start the virtual machine. The default username and password are seed and dees respectively. Root access is root and seedubuntu. It will be slow since it emulating a completely different architecture. Ignore the warning about the OS being outdated.

UTM-Load

Step 14: Get the IP Address

Open a terminal in the virtual machine and run the following command to get the IP address.

ip -4 a

Now you can ssh/scp into the virtual machine using the IP address. Since copy and paste doesn’t work. Make sure you disable VPNs and firewalls that may block.

SSH

Resources