How to Install Ubuntu on VirtualBox – Step by Step guide
Stay updated with latest technology trends
Join DataFlair on Telegram!!
1. Install Ubuntu on VirtualBox
This step by step tutorial will explain how to install Ubuntu on VirtualBox. Learn how to create ubuntu virtual machine. Moreover, we will learn how to maximize the size of the Ubuntu desktop.
Virtualbox provides a virtualization framework using which we can run guest OS in parallel to host operating system. This could be useful when certain setups/services cannot be configured on host OS. Alternatively, you can create virtual machine and install Ubuntu using VMWare Player
So, let’s start the Installation of Ubuntu on VirtualBox.
2. How To Install Ubuntu On Virtual Box?
Before starting you need to install VirtualBox, follow this tutorial to install virtual box on Windows / Mac
2.1. Open VirtualBox
2.2. Click on “New” to create a virtual machine
2.3. Enter Name for your Virtual Machine
Enter the name for your Virtual Machine (Ex: dataflair)
2.4. Select “Linux” Operating System from “Type”
2.5. Click “Next”
2.6. Enter amount of memory (RAM) =1024 MB and click “Next”
2.7. Click “Create” to create hard drive
2.8. Click “Next”
let the options be default ie hard drive file type VDI (virtual disk image)
2.9. Click “Next”
let the options be the default (Dynamically allocated)
2.10. Enter Size of Virtual Hard Drive= 20 GB and Click “Create”
2.11. Select Virtual Machine
Now on the left-hand side Select Virtual Machine (Ex: dataflair)
2.12. Click on “Start” to start the virtual machine
2.13. Select disk file source
Please Select disk file source by clicking on the folder icon to start an installation of OS.
2.14. After selecting the OS file to be installed click “Open”
2.15. Click “Start”
2.16. Click “Ok”
2.17. Click “Install Ubuntu”
2.18. Click “Continue”
2.19. Click “Install Now”
2.20. Click “Continue”
2.21. Select location and click “Continue”
2.22. Select keyboard layout & click “Continue”
2.23. Fill all the details and Click “Continue”
2.24. Now the installation process will start and installation window will appear
2.25. Click “Restart Now”
After the completion of the installation process, a message will appear to restart the system, click Restart Now.
2.26. When the system will get restarted the following message will appear. Press “Enter”
2.27. Close the pop-up messages by clicking on the Close (×) button
3. Steps To Maximize The Size Of Ubuntu Desktop
3.1. Go to “Devices”
3.2. Click “Insert Guest Additions CD Image…”
3.3. Click “Run”
3.4. Click “Authenticate”
3.5. Press “Enter”
“VirtualBox Guest Additions installation” process will start and after the completion of the installation process you will get a message “Press Return to close this window”. Press “Enter” after reading this message.
3.6. Now “Restart” your system for the changes to be applied.
3.7. After the system gets restarted. Go to “View”
3.8. Click “Switch to Fullscreen”
3.9. Click “Switch”
Congratulations You have successfully created Virtual machine and installed Ubuntu OS Oracle VirtualBox.
So, this was all about how to Install Ubuntu on VirtualBox. Hope you like our explanation. Furthermore, if you have any query, feel free to ask in the comment box.