Virtual Box
NOTE: did not work well on apple silicon.
Installation
Installation of Virtual Box
brew install --cask virtualbox@beta
Download image: Ubuntu
- Go to https://www.osboxes.org/ubuntu/ get image such as 24.04 (look for LTS or particular version that you are looking for).
- Download it.
Unzip it (can use this util method)
7z.unzip(){
local file="${1:?}"
install_if_missing p7zip 7za
7za x "${file:?}"
}
Create a New Virtual Machine (if you haven't already):
- Click on New to start the creation wizard.
- Enter the name for your VM, choose the type and version of the operating system that matches the contents of the VDI file.
- Continue through the wizard until you reach the "Hard disk" step.