Introduction: How to Create an Ubuntu Virtual Machine With VirtualBox (Mac)

The following instructions will enable you to create an Ubuntu virtual machine. They have been created specifically for a Mac computer, but are essentially the same for Windows. As you follow the instructions, you will see they have been adapted so that even a beginner can complete this task.

Step 1: Download VirtualBox

Visit www.virtualbox.org/wiki/Downloads. Under VirtualBox binaries and VirtualBox platform packages select the most current VirtualBox for OS X hosts. Upon selection, it will trigger the download of a .dmg file. Download the file and follow the install wizard to finish installing it onto the computer. Install all defaults and click on next to go from step to step.

Step 2: Download an Ubuntu Image

Go to www.ubuntu.com/download/desktop and click the Download button. To skip the donation page, scroll down and click, “Not now, take me to the download.” Save the file to the place of your choosing. Keep in mind that once this file is saved, it cannot be moved. Note that the file type is “.iso.” Click “Save.”

Step 3: Open VirtualBox

Select the VirtualBox icon on the Dock to open the program.

Step 4: Start Making Your Virtual Image

Click the “New” button on the top left of the VirtualBox window.

Step 5: Describe Your V.M.

Select the type as “Linux.” Type your name and select the Ubuntu (64 bit) option. Next, click “Continue.”

Step 6: Memory Size

Select the 512 MB memory size for everyday use. If you plan on downloading additional applications within the machine, select 2048 MB. For large projects, select 4096 MB. Click “Continue.”

Step 7: Hard Drive Part 1

Select the “Create a virtual hard drive now” radio button. Click “Create.”

Step 8: Hard Drive Part 2

Select the “VDI (VirtualBox Disk Image)” option as the hard drive file type. Click “Continue.”

Step 9: Hard Drive Part 3

Select the “VDI (VirtualBox Disk Image)” option as the hard drive file type. Click “Continue.”

Step 10: Hard Drive Part 4

To choose the file location and size, leave the name of the new virtual hard drive as it is given and keep the 8 GB option for everyday use, but you probably won't need more than 16 at the most.

Step 11: Start Your Virtual Machine

Select the name of the machine that you just created, and then click the green “Start” arrow.

Step 12: Choose the Virtual Disk to Run

Search for the .iso file that you downloaded in Step 3. Open the file.

Step 13: Install Ubuntu Part 1

Click on “Install Ubuntu.”

Step 14: Install Ubuntu Part 2

Do not select either of the two options to “Download updates while installing” and “Install this third-party software.” Click “Continue.”

Step 15: Install Ubuntu Part 3

Make sure “Erase disk and install Ubuntu” is selected. Click “Continue.”

Step 16: Install Ubuntu Part 4

Follow instructions to select the region where you live, language preferences, and your username and password. Finally, select “Log in later.” The computer will now install the Ubuntu Operating System. This process could take up to 20 minutes, but requires no effort on your part.

When it is done you will have a fully-function Ubuntu Virtual Machine. Congratulations!