Here's an overview of what's involved in setting up VirtualBox. We'll first list the main steps, and then go over them in detail.
- Make sure your BIOS is configured to support virtual machines.
- Download and uncompress the boot image for our pre-configured Linux machine.
- Install, launch, and configure VirtualBox. Create a new virtual machine, and set it up by choosing a collection of settings and attaching it to the pre-configured boot image.
OK, let's go.
Many Windows PCs ship with support for virtual machines disabled.
You need to go into your BIOS and find the setting for this.
- Intel processors: look for an option named “Intel Virtualization Technology” and enable.
- AMD processors: look for an option named "Secure Virtual Machine" (SVM) and enable.
Save BIOS changes and reboot.
2. Download and uncompress the boot image.
Download our virtual disk image for VirtualBox.
It's compressed with 7-Zip. Download this to decompress the image.
The decompressed image will be named
Lubuntu 15.04.7.vdi. It's the virtual disk image (hard drive file) for VirtualBox.
This is a minimalistic Linux setupLightweight Ubuntu, http://lubuntu.net/with GCC, Make, SFML 2.3, and Firefox pre-installed.
3. Set up VirtualBox.
First download it from https://www.virtualbox.org/wiki/Downloads.
Run the installer. Then launch the app.
Now you get to configure it. You're going to make a new virtual machine.
Start by clicking on the round gear in the upper left that's labeled New.:
You'll get a dialog labeled Create Virtual Machine. You can give your machine any name you likee.g., Lubuntubut make sure to select Type as Linux and Version as Other Linux (64 bit):
Next, decide how much memory to give your new machine. 2 GB should be enough:
Now, instead of making a new drive image, select the
Lubuntu\ 15.04.vdi pre-configured image:
You'd think you're done, but there's one more critical step. Go into Settings > System > Processor, and check the box labeled Enable PAE/NX:
OK, now you're ready to go. Launch your VM, and you should be rewarded with the Lubuntu desktop screen:
Click the icon in the lower left for some developer tools, like a terminal.
4. Explore your new Virtual Machine.
Read VirtualBox Hints to make your virtual machine do useful things.