

The next step is to set the memory size allocated to the virtual machine. Exatly how much RAM to allocate depends on the tasks you're using it to perform. The more memory you allocate, the smoother and more powerful it will be. However, a good rule of thumb recommendation is to not exceed 50% of your total memory.
The memory allocated will only be utilized when the VM is beeing run. You can also easily change the assigned amount of RAM to your VM at any time later. |






We now need to install the chosen OS (in this case XUbuntu OS) onto our new virtual machine.
If you want to install Windows on your macOS, check out this guide, as the VirtualBox interface is a bit different than the one used in this guide. For how to get the Windows ISO file, see step 3 below. |


Navigate then to the .iso (Disc Image File/Plateavbildingsfil) with your OS, and choose it.
In order to locate the correct file, you will first have to download it yourself. This is easily done by visiting the offical webpage of your chosen OS. For Windows, see NTNU Innsida's guide using Microsoft Azure Dev Tools for Teaching. |






Guest Additions are designed to be installed inside a virtual machine after the guest operating system has been installed. They consist of device drivers and system applications that optimize the guest operating system for better performance and usability
. VirtualBox's manual on guest additions can be found here.



Turn then on your VM by double-clicking on it. Open the disc VBox_GAs_6.0.8 and locate the correct guest additions for your OS (since I have XUbuntu installed, I need the Linux additions). Right-click and choose "Open Terminal Here".
This installation was made on the Linux distribution XUbuntu. The last steps showing how to install guest additions may therefore deviate a bit for other OS's. |


