Virtual Machine Pre-install

If you're looking to install Linux in a Virtual Machine, you need to make sure of two things:

  • Virtualisation is enabled in BIOS
  • Installing VirtualBox

You will need:

This guide will tell you how!

Enabling virtualisation in BIOS

Reboot your computer and go into your BIOS/UEFI. You usually need to press F1, but check for your specific key. Google is your friend :-) Your BIOS/UEFI might look different than the images below, but they all have these functions!

Once you are in the BIOS/UEFI navigate to the Security tab. You probably don't have mouse, so just use the arrow keys.

./images/bios-security.png

Once in the Security Settings, navigate to the Virtualisation settings and press Enter. Enable both Intel Virtualisation Technology and Intel VT-d Feature.

./images/virt-enabled.png

Then press F10 to save and exit. Confirm you want to save the settings.

./images/bios-confirm.png

Done! You're ready to get started on your VM journey!

Installing VirtualBox

Download VirtualBox from the above link and run it. Make sure all the features are enabled.

./images/vbox-features.PNG

Proceed by clicking Next and confirm installation when notified network might disconnect while VirtualBox is installing.

You will be prompted to install drivers for it, proceed their installation.

./images/vbox-drivers.PNG

Congrats! You can now start VirtualBox!

Installing VirtualBox Extension Pack

VirtualBox Extension Pack will add some extra functionality to the VM, which you might find convenient, most important being support for virtual USB 2.0/3.0 controllers.

Open VirtualBox, then go to File -> Preferences -> Extensions. Click the + button (on the right hand side of the window) to add the extension. Navigate to where the Extension Pack was saved and select it.

You will be prompted that you are about to install an extension pack. Confirm by pressing Install, then Agree with the T&C.

Upon successful addition you should see the pack in the list:

./images/vbox-extpack.PNG

That's it. Now let's install your chose Linux distribution!

Head to either: