The Ultimate Guide to Installing Ubuntu 18.04 in VirtualBox

May 17, 2018
The Ultimate Guide to Installing Ubuntu 18.04 in VirtualBox

The Ultimate Guide to Installing Ubuntu 18.04 LTS in VirtualBox covers the entire process of installing Ubuntu 18.04 LTS as a virtual machine inside of VirtualBox. Screenshots of every step of the process are included for reference. This guide assumes that Virtual Box is already installed on your system and that you have already downloaded the iso from the official Ubuntu website. Now that formalities are out of the way, let’s install Ubuntu!

1. Launch VirtualBox and click the “New” button on the ribbon at the top of the application window.

The Ultimate Guide to Installing Ubuntu 18.04 in VirtualBox

2. The prompt that opens next requests some general information about the new virtual machine. Name your VM whatever you prefer. For the sake of convenience, this one is named “Ubuntu_18.04.” Ensure that the “Type:” field has “Linux” selected and verify that the “Version:” field is set to “Ubuntu (64-bit).” Click the “Next” button.

The Ultimate Guide to Installing Ubuntu 18.04 in VirtualBox

3. Select the appropriate amount of RAM for your new virtual machine. The amount of RAM that can be dedicated to a virtual machine varies because of differences in host machine specs. Generally, anything above 2GB will suffice though.

The Ultimate Guide to Installing Ubuntu 18.04 in VirtualBox

4. You will need to create a hard disk for your new virtual machine. Ensure that the middle option, “Create a virtual hard disk now,” is selected and click the “Create” button.

The Ultimate Guide to Installing Ubuntu 18.04 in VirtualBox

5. Select the first option, “VDI (VirtualBox Disk Image),” and click the “Next” button.

The Ultimate Guide to Installing Ubuntu 18.04 in VirtualBox

6. Choose the first option, “Dynamically allocated,” and click the “Next” button.

The Ultimate Guide to Installing Ubuntu 18.04 in VirtualBox

7. The default size for the disk is 10GB, but that will leave little room for extra goodies. Since we selected to dynamically allocate the hard disk in the previous step, we can choose a larger disk size without actually using the entire allocated space. Change the disk size to at least 30GB if you plan on using the virtual machine for anything other than test driving. Click the “Create” button. The initial configuration of your new virtual machine is now complete.

The Ultimate Guide to Installing Ubuntu 18.04 in VirtualBox

8. Click the “Settings” button on the ribbon at the top of the application window. The settings prompt will appear. In the pane on the left side of the prompt, click “System,”, then in the right pane click the “Processor” tab. Adjust the slider to the position where the green meets the red. We are now finished with settings and can safely click the “OK” button.

The Ultimate Guide to Installing Ubuntu 18.04 in VirtualBox
The Ultimate Guide to Installing Ubuntu 18.04 in VirtualBox

9. Ensure that your Ubuntu VM is highlighted in the left pane of the application window and click the “Start” button on the ribbon at the top of the application window.

The Ultimate Guide to Installing Ubuntu 18.04 in VirtualBox

10. The prompt that appears requests the location that you downloaded the Ubuntu 18.04 iso to. Click folder icon on right and navigate to you Ubuntu 18.04 iso and then click the “Start” button.

The Ultimate Guide to Installing Ubuntu 18.04 in VirtualBox

11. The Ubuntu installer now begins and you will be prompted for your preferred language. Select your language and then click the “Install Ubuntu” button.

The Ultimate Guide to Installing Ubuntu 18.04 in VirtualBox

12. Next, choose your keyboard layout and click the “Continue” button.

The Ultimate Guide to Installing Ubuntu 18.04 in VirtualBox

13. You can choose between “Normal” and “Minimal” for an installation type. A normal installation will install all of the default apps needed for an ordinary user. A minimal installation only installs necessities, allowing the user to customize his or her experience while using much less disk space. If you are new to Linux, we recommend the normal installation so that you can get a feel for some of the tools that Ubuntu provides with the operating system. Ensure that both options in the “Other options” section are checked and click the “Continue” button.

The Ultimate Guide to Installing Ubuntu 18.04 in VirtualBox

14. Next we need to configure how we install Ubuntu. The default option is fine in most cases, but the privacy-focused can choose to encrypt the installation. Click the “Install Now” button.

The Ultimate Guide to Installing Ubuntu 18.04 in VirtualBox

15. If you chose to encrypt, you will next be asked for a security key (password). Choose a good, strong password and click the “Install Now” button.

The Ultimate Guide to Installing Ubuntu 18.04 in VirtualBox

16. Click the “Continue” button on the pop up window to verify the installation configuration.

The Ultimate Guide to Installing Ubuntu 18.04 in VirtualBox

17. Choose your timezone and click the “Continue” button.

The Ultimate Guide to Installing Ubuntu 18.04 in VirtualBox

18. Next, enter your name, the desired computer’s name, a username, and a password for your user account. Ensure that “Require my password to log in” is checked and click the “Continue” button.

The Ultimate Guide to Installing Ubuntu 18.04 in VirtualBox

19. Ubuntu now begins to install as a few welcome messages are displayed. The installation will take a few moments.

The Ultimate Guide to Installing Ubuntu 18.04 in VirtualBox

20. When the installation has completed, you will be greeted with a pop up verifying installation success. You must now restart the virtual machine to begin using it. Click the “Restart Now” button to restart the virtual machine.

The Ultimate Guide to Installing Ubuntu 18.04 in VirtualBox

21. A prompt will request that you remove the installation media and press “Enter.” Since this is a virtual machine, removal of installation media is not necessary so just press the “Enter” button on your keyboard.

The Ultimate Guide to Installing Ubuntu 18.04 in VirtualBox

22. The Ubuntu virtual machine will restart. If you chose encryption, you will be prompted for the disk encryption password before the system starts. Enter it. After a brief success message, the Ubuntu operating system will begin loading.

The Ultimate Guide to Installing Ubuntu 18.04 in VirtualBox

23. Click on your name to view the login page.

The Ultimate Guide to Installing Ubuntu 18.04 in VirtualBox

24. Enter the password for your user account and click the “Sign In” button.

The Ultimate Guide to Installing Ubuntu 18.04 in VirtualBox

25. Finally! At long last, the Ubuntu desktop. A welcome screen is displayed touting some new Ubuntu features. Click the “Next” button on all pages and lastly click the “Done” button to close the welcome screen. That’s it! After a successful mission, it is time to enjoy your new Ubuntu 18.04 LTS virtual machine.

The Ultimate Guide to Installing Ubuntu 18.04 in VirtualBox

Continue to Part 2