MacOS VM Setup - umrover/mrover-ros2 GitHub Wiki

[!NOTE] This installation requires at least 40GB of free space but allocating more is highly recommended.

  1. If you have a Mac with a silicon chip, download this arm server image from here. Otherwise download this image here
  2. Install the UTM application here. UTM will allow you to virtualize Ubuntu and essentially work out of a Ubuntu machine.
  3. Open UTM, select 'Create a New Virtual Machine', then 'Virtualize', then for the operating system select 'Other', allocate a minimum of 4gb of memory
  4. Then choose CD/DVD Image for the boot device and then browse for and select the ubuntu image you just downloaded as the boot ISO image
  5. Specify how much storage you want the machine to have(64GB is sufficient) and continue
  6. No shared directory is needed so continue. Then set the name of your VM and save.
  7. Launch your new VM by clicking the play button and select 'Try or Install Ubuntu Server'

[!NOTE] If you have a non silicon chip mac and are using the desktop server image(the second link in step 1), then setup the machine and skip to step 15. Otherwise, during this setup stage, you won't have a cursor because we are configuring a 'server' so to move around options use the arrow keys and to select and option press enter.

  1. Select your preferred language, then continue without updating
  2. Until you reach profile configuration, select done for all the next steps(you will have to wait on the 'Ubuntu archive mirror configuration' step) and confirm destructive action on the storage configuration
  3. On profile configuration, setup the machine to your liking(as if you were setting up an entirely new computer)
  4. Continue to select Done and do not setup anything with ssh configuration and skip the featured server snaps step(no server snaps are required)
  5. On the installation step, once finished, you will be prompted to reboot your machine. After selecting that option, close your VM and in UTM clear the iso
  1. Run the following commands and restart your machine again
sudo systemctl set-default graphical.target
sudo systemctl start graphical.target
sudo apt update
sudo apt upgrade
sudo apt install ubuntu-desktop
  1. Run sudo reboot and sign into your VM.

  2. Now follow the Ubuntu ROS installation steps here