Install Ubuntu in VirtualBox as a virtual machine for Windows 10

Why Use an Ubuntu Virtual Machine?

Installing Ubuntu in a virtual machine allows you to try the version of Linux without affecting Windows. The virtual Linux operating system will perform the same way as it would when installed to the physical hard drive, and any software installed in the virtual machine remains intact after rebooting. Virtual machines can be easily backed up and restored, so it’s no big deal if you mess something up.

How to Install Ubuntu on Windows 10 With VirtualBox

To install Ubuntu as a virtual machine on Windows 10:

  1. Download VirtualBox for Windows and install it on your computer. VirtualBox download page
  2. Download the Ubuntu ISO file you want to install from the Ubuntu download page.Download Ubuntu for WindowsThe current version of Ubuntu only works on 64-bit machines. Check the Windows Control Panel to tell if you’re running a 32-bit or 64-bit system.
  3. Open VirtualBox and select New in the top taskbar.Open VirtualBox and select New in the top taskbar
  4. Give your VM a name, choose Linux as the Type, then choose Ubuntu as the Version and select Next.Give your virtual machine a name, choose Linux as the type, choose Ubuntu (64-bit) as the version, then select NextIf you’re using a 32-bit version of Windows, you can install an older 32-bit version of Ubuntu instead.
  5. Choose how much RAM you want to assign to the virtual machine and select Next. The recommended minimum is 1024 MB.Choose how much RAM you want to assign to the virtual machine and select NextThe amount of memory you set aside is only used while the virtual machine is running.
  6. Choose Create a virtual hard disk now and select Create.Choose Create a virtual hard disk now and select CreateIf you just want to run Ubuntu as a live image, choose Do not add a virtual hard disk. You must create a virtual hard drive to save the changes you make in Ubuntu.
  7. Choose VDI (VirtualBox Disk Image) and select Next.Choose VDI and select Next
  8. Choose Dynamically allocated or Fixed size for the storage type and select Next.Choose Dynamically allocated or Fixed size and select NextA fixed size disk performs better because the virtual machine doesn’t have to increase the file size as you install software.
  9. Choose how much space you wish to set aside for Ubuntu and select Create.Choose how much space you wish to set aside for your virtual hard drive and select CreateThe amount of space you allocate for your virtual machine determines how much room you have to install applications, so set aside an ample amount.
  10. The name of your virtual machine will now appear on the left side of the VirtualBox manager. Select Start in the toolbar to launch your VM.Select Start in the VirtualBox taskbar
  11. This is the point where you need to choose the Ubuntu ISO file you downloaded earlier. If the VM doesn’t automatically detect it, select the folder next to the Empty field.Select the folder next to the Empty field
  12. Select Add in the window that pops up.Select Add
  13. Choose your Ubuntu disk image and select Open.Choose your Ubuntu disk image and select Open
  14. Select Choose.Select Choose
  15. Select Start.Select Start
  16. Your VM will now boot into a live version of Ubuntu. Choose your language and select Install Ubuntu.Select Install UbuntuIf you select Try Ubuntu, you can run the installer later by double-clicking Install Ubuntu on the desktop.
  17. Choose your keyboard layout and select Continue.Choose your keyboard layout and select Continue
  18. Choose Normal installation or Minimal installation, then select Continue.Choose Normal installation or Minimal installation, then select ContinueCheck the boxes under Other Options to download updates and install third party software for Ubuntu.
  19. Choose Erase disk and install Ubuntu and select Install Now, then select Continue to ignore the warning.Choose Erase disk and install Ubuntu and select Install Now, then select Continue to ignore the warningThis step will not erase your computer’s physical hard drive; it only applies to the virtual machine.
  20. Choose your time zone on the map, then select Continue.Choose your time zone on the map, then select Continue
  21. Set up your user account and select Continue.Set up your user account and select ContinueYou can choose to encrypt your home folder for extra security.
  22. Select Restart Now.Select Restart Now

How to Install Guest Additions for Ubuntu

After restarting your VM and booting into Ubuntu, you may notice that the desktop doesn’t scale correctly if you choose to view it in full-screen mode. You can fix this problem by selecting the VBox_GAs icon to install VirtualBox Guest Additions.

Guest additions must be downloaded and mounted separately from the Ubuntu ISO.

To enable full-screen mode, select the VBox_GAs icon to install VirtualBox Guest Additions

Select the briefcase icon to open the Ubuntu Software app, which lets you install additional applications on your virtual machine.

Leave a Reply