Sitemap
mrcloudexplorer

mrcloudexplorer

👨‍💻

Oracle Virtual box Instalation

Create Ubuntu Virtual Machine

6 min readSep 9, 2023

--

Introduction

Virtualization technology has revolutionized the way we use computers, enabling us to run multiple operating systems on a single physical machine. One popular virtualization tool is Oracle VirtualBox, which allows you to create and manage virtual machines (VMs) with ease. In this blog, we’ll walk you through the steps to install Oracle VirtualBox and set up your first Ubuntu virtual machine.

Step 1: Installing Oracle VirtualBox

  1. Download and Install: Begin by downloading the latest version of Oracle VirtualBox from the official website. Choose the appropriate installer for your host operating system (Windows, macOS, or Linux) and follow the installation instructions.
  2. Launch VirtualBox: Once the installation is complete, launch Oracle VirtualBox. You’ll be greeted with the VirtualBox home page.
Press enter or click to view image in full size
Launch VirtualBox

Step 2: Creating an Ubuntu Virtual Machine

  1. Creating a New VM: To create a new virtual machine, click on the “New” button on the VirtualBox home page, or you can simply press Ctrl + N.
Press enter or click to view image in full size
Creating a New VM

2. VM Settings: In the “Create Virtual Machine” window, provide a name for your VM, such as “Ubuntu.” Below, change the “Type” to “Linux,” and the “Version” to “Ubuntu (64-bit),” then click “Next.”

Press enter or click to view image in full size
VM Settings

3. Assigning Memory: Allocate memory to your VM. It’s recommended to assign a minimum of 4 GB (4096 MB) for smooth performance. Adjust the slider accordingly and click “Next.”

Press enter or click to view image in full size
Assigning Memory

4. Hard Disk: Choose whether to create a new virtual hard disk or use an existing one. Typically, for a new VM, you should select “Create a virtual hard disk now” and click “Create.”

Press enter or click to view image in full size
Hard Disk

5. Hard Disk File Type: Choose the file type for the virtual hard disk. “VDI (VirtualBox Disk Image)” is a commonly used option. Click “Next.”

Press enter or click to view image in full size
Hard Disk File Type

6. Storage on Physical Hard Disk: Select “Dynamically allocated” to allow the virtual hard disk to grow in size as needed. Click “Next.”

Press enter or click to view image in full size
Storage on Physical Hard Disk

7. File Location and Size: Allocate a minimum of 15 GB for your Ubuntu VM to ensure it has enough space to operate. You can set a larger size if you have more space available. Click “Create” to proceed.

Press enter or click to view image in full size
File Location and Size

8. VM Created: Congratulations! You’ve now created your first virtual machine. You can see it listed on the VirtualBox home page.

Press enter or click to view image in full size
VM Created

Step 3: Configuring VM Settings

  1. General Settings: Before starting your VM, click on “Settings” to configure its options. In the “General” tab, explore the “Advanced” settings and customize them according to your preferences. Features like clipboard sharing and drag-and-drop can be configured here.
Press enter or click to view image in full size
General Settings

2. Storage Settings: In the “Storage” section, click on “Controller: IDE” and under “Attributes,” select “Optical Drive.” Choose “Choose a disk file” and locate the downloaded Ubuntu ISO image file on your computer. This file will be used to boot the VM.

Press enter or click to view image in full size
Choose a disk file
Press enter or click to view image in full size
Ubuntu ISO image file on your computer

3. Starting the VM: Confirm that the ISO image is attached to the virtual machine by checking the “Controller: IDE.” Now, click “OK” to save your settings and return to the VirtualBox home page.

Press enter or click to view image in full size
Starting the VM

4. Starting the VM: Click on your newly created VM and then click “Start.”

Press enter or click to view image in full size
Starting the VM

Step 4: Installing Ubuntu

  1. The VM will boot, and you’ll be presented with the GNU GREB option to “Try or Install Ubuntu” Select your preference to begin the Ubuntu installation process.
Press enter or click to view image in full size
GUI GREB

After loading you’ll be presented with the option to “Try Ubuntu” or “Install Ubuntu.” Select your preference to begin the Ubuntu installation process.

Press enter or click to view image in full size
Install Ubuntu

2. Installation Wizard: Follow the Ubuntu installation wizard, where you’ll choose your preferred language, keyboard layout, and other settings.

Press enter or click to view image in full size
Installation Wizard
Press enter or click to view image in full size
Update other software

3. Installation Type: Select your preferred installation type, such as “Erase disk and install Ubuntu” or “Something else” if you want more advanced partitioning options. Click “Install Now” to proceed.

Press enter or click to view image in full size
Installation Type

4. Location and User Details: Set your time zone, provide your name, company name, username, and a secure password for your Ubuntu installation. You can also choose whether to require a password to log in to your VM.

Press enter or click to view image in full size
Location
Press enter or click to view image in full size
User Details
Press enter or click to view image in full size
loading…….
Press enter or click to view image in full size
still loading…..

5. Installation: The installation process may take some time. Once completed, you’ll see a notification indicating the installation is finished. Click “Restart Now.”

Press enter or click to view image in full size
Installation

6. Logging In: After restarting, you’ll be prompted to log in. Enter the username and password you set during installation.

Press enter or click to view image in full size
Logging In

7. Final Steps: You may be presented with options to upgrade to Ubuntu Pro; choose according to your preferences. Your Ubuntu virtual machine is now ready for you to explore the world of Linux.

Press enter or click to view image in full size
Final Steps

Your Ubuntu virtual machine is now ready for you to explore the world of Linux.

Press enter or click to view image in full size

Conclusion

Get mrcloudexplorer’s stories in your inbox

Join Medium for free to get updates from this writer.

Congratulations! You’ve successfully installed Oracle VirtualBox, created an Ubuntu virtual machine, and installed the Ubuntu operating system. You’re now ready to dive into the rich ecosystem of Linux and explore all the possibilities it offers within your virtual environment. Enjoy your journey into the world of virtualization and open-source software!

Happy Learning ;)

Reach me 👨‍💻

--

--