Running From Virtualbox

Infrastructure

I use this infrastructure throughout my training material.
I run multiple versions, and cannot "get rid of" my Windows (I don't hate Windows that much :) so using virtualization was a practical solution.

  • first, install VirtualBox from this location.
    (I am currently using is 7.0.12 r159484)
  • There is a version for MAC (only for Intel CPIs).
    I think there are solutions our there for Mac-V(1/2/3), but I'm not a MAC user, so can't help you with that.

Linux Image

  • I currently use the Ubuntu 23.04 Lunar Lobster image:
    Ubuntu 23.04 Lunar Lobster
  • Here's the link to the download page.
  • Make sure that you download:
    • choose the correct image: Ubuntu 23.04 Lunar Lobster
    • a VirtualBox image (select the correct tab)
    • download the file
  • You are downloading a 64bit.7z file, that you will later extract ()
  • Extract the image (I use 7-Zip (Windows) which is an open source software)

Creating the virtual machine

  • Create a new virtual machine, but choose NO virtual disk yet.
    (ignore all warnings for that, you will add it in a moment)
  • Creating the virtual machine will create a directory like this:
    C:\Users<your-username>\VirtualBox VMs
    Eventually, this is where you want your vdi file to go.
  • If you are using the same downloaded file for multiple machines, you will have to change the uuid for the file, with this command:
    VBoxManage internalcommands sethduuid "<your vdi file name>"
  • Alternatively, use File->Tools->Virtual Media Manager to copy an existing file in a correct way.
  • So, copy (or move) the file to the virtual machine directory, and add it to the virtual machine using the GUI (settings->storage->IDE->...)

Running the VM

  • Start the VM from VirtualBox UI
  • Credentials:
    • user: osboxes.org
    • pass: osboxes.org