🧩Introduction to VirtualBox

 

📖 Definition

VirtualBox is a free and open-source Type 2 (Hosted) hypervisor developed by Oracle Corporation.

It allows users to create and run multiple virtual machines (VMs) on a single physical computer.

  • Like Workstation, it also lets you create and run virtual machines on your computer
  • Simple and user-friendly interface
  • Great for students, testers, and home users

 

🧠 Simple Meaning

👉 VirtualBox lets you run another operating system inside your current operating system.

Example:

  • Windows installed on your laptop
  • You install VirtualBox
  • Inside VirtualBox, you install Ubuntu

Now Ubuntu runs inside Windows as a virtual machine.

 

🏗️ How It Works

Architecture:

Physical Hardware → Host OS → VirtualBox → Virtual Machines

Since it runs on top of a host OS, it is called a Type 2 Hypervisor (Hosted Hypervisor).

 

🔹 What Can You Do With VirtualBox?

  • Install Linux on Windows
  • Practice networking labs
  • Test software safely
  • Create multiple OS environments
  • Take snapshots and restore

 

🔹 Supported Host Operating Systems

VirtualBox can be installed on:

  • Windows
  • Linux
  • macOS

 

🔹 Key Features

✔ Create multiple virtual machines
✔ Snapshot support
✔ Shared folders
✔ USB device support
✔ Virtual networking (NAT, Bridged, Host-only)
✔ Guest Additions for better performance

 

🎯 Why VirtualBox is Popular?

  • Free to use
  • Easy to install
  • Good for students and beginners
  • Lightweight compared to enterprise hypervisors

 

🖥️ How to Download VirtualBox (Step-by-Step Guide)

VirtualBox is developed by Oracle Corporation and is free to download.

 

🌐 Step 1: Open Official Website

1️⃣ Open your browser
2️⃣ Go to the official VirtualBox website:
👉 Search on Google: “Oracle VirtualBox download”
3️⃣ Open the official Oracle VirtualBox page

⚠️ Always download from the official website to avoid malware.

 

📥 Step 2: Go to Downloads Section

On the homepage:

  • Click on Downloads

You will see different versions for different operating systems.

 

💻 Step 3: Choose Your Host OS

Select the correct version based on your system:

  • 🪟 Windows hosts (for Windows users)
  • 🐧 Linux distributions
  • 🍎 macOS hosts

Most students use:

👉 Windows hosts

Click on it to start downloading.

 

⏳ Step 4: Wait for Download

  • The file size is usually around 100–150 MB
  • It will download as a .exe file (for Windows)

 

🔌 Step 5: (Optional) Download Extension Pack

On the same download page:

You will see:

👉 VirtualBox Extension Pack

Download it too (same version number as VirtualBox).

It provides:

  • USB 2.0 & 3.0 support
  • RDP support
  • Better functionality

 

✅ After Download

You will have:

  • VirtualBox installer file
  • Extension Pack file (optional but recommended)

Next step:

Double-click installer to begin installation.

🌐 Installation of VirtualBox :-

🛠️ STEP-1: Open VirtualBox.exe by double-clicking it or by right-clicking and selecting Open.

🔐 STEP-2: When the UAC (User Account Control) popup appears, click Yes / Allow / OK to continue.

🧭 STEP-3: Wait for the VirtualBox Setup Wizard to open, then click Next on the welcome screen.

⚙️ STEP-4: Continue clicking Next to proceed with the default installation options.

🌐 STEP-5: When the Network Interface Warning appears, click Yes / Next to allow network configuration.

▶️ STEP-6: Click the Install button to begin the installation process.

STEP-7: Wait until the installation completes successfully.

STEP-8: Click Finish to close the setup wizard.

🎉 STEP-9: Oracle VirtualBox is now successfully installed on the system.

 

🐧 Creating VM in VirtualBox & Installing Ubuntu (Step-by-Step)

🖥️ STEP-1 : Open VirtualBox.

➕ STEP-2 : Click on the "New" button.

🧙 STEP-3 : A Virtual Machine Wizard will appear where you have to make some changes.

🏷️ STEP-3.1 : In the "Name" section, provide the name of your virtual machine.

📁 STEP-3.2 : In the "Folder / File Location" section, it shows where your virtual machine will be stored.
If you want to change it, you can.
In this practical, we are going with the default location.

💿 STEP-3.3 : In the "ISO Image" section, you need to assign the ISO file of the operating system you want to install.

🔽 STEP-3.3.1 : Click on the dropdown button and select "Other".

📂 STEP-3.3.2 : A file wizard will appear. Go to the location where you have saved the .iso file of Ubuntu.

📌 STEP-3.3.3 : Select the ISO file and click on the Open button.

✅ STEP-3.3.4 : This is how we allocate the ISO file.

➡️ STEP-3.4 : After completing the above steps, click on the "Next" button.

⚙️ STEP-4 : Now you will be on the "Unattended Guest OS Installation Setup" page.

You will see:

  • Username & Password section
  • Additional Settings section

👤 STEP-4.1 : In the Username & Password section, remove the default username and password and create your own.

🖥️ STEP-4.2 : In the Additional Settings section, you will see options like Hostname.
No need to change anything unless it is specifically required.

⚠️ STEP-4.3 : Click on the "Next" button.

👉 If the Next button is disabled:

  • Check for any exclamation mark (!) in the sections.
  • If the error is in Hostname, remove special characters like (@, $, space, _, etc.).
  • If the error is in Username & Password, recheck both fields.

🧠 STEP-5 : Now you are on the "Hardware" page.

💾 STEP-5.1 : In the Base Memory (RAM) section, allocate minimum 2GB (2048 MB).

🔢 STEP-5.2 : In the Processor section, no need to change anything unless required.

➡️ STEP-5.3 : Click on the "Next" button.

💽 STEP-6 : Now you are on the "Virtual Hard Disk" section where you need to allocate storage space.

📊 STEP-6.1 : By default, it shows 25GB. You can adjust it, but not below 10GB. In this practical, we are setting it to 15GB.

➡️ STEP-6.2 : Click on the "Next" button.

📋 STEP-7 : Now you are on the "Summary" page.

Review all the virtual machine settings carefully.

After reviewing, click on the "Finish" button.

⚡ STEP-8 : As soon as you click Finish, your virtual machine will be created and it will automatically power on.

🚀 STEP-9 : When the VM powers on, Ubuntu installation will start automatically (Unattended Installation).
No manual action is required at this stage.

👤 STEP-10 : After some time, Ubuntu may prompt:

"Who are you?"

Provide your Username and Password (this may appear depending on configuration).

Click Continue.

🔄 STEP-11 : The actual installation process will now begin.

Wait until it completes.

🔐 STEP-12 : Once installation is completed:

  • Your username will appear on screen.
  • Click on it.
  • Enter your password.
  • Press Enter.

🖥️ STEP-13 : After logging in, you will see the Ubuntu Desktop Interface.

Within a few minutes, a setup window will appear asking for additional configurations.

📧 STEP-14 : (Initial Setup Configuration)

📩 STEP-14.1 : It will ask for your Gmail account. Click Skip.

💼 STEP-14.2 : It will ask to enable Ubuntu Pro. Select No, then click Next.

📊 STEP-14.3 : It will ask "Help us improve Ubuntu". Select No, don't send system info. Click Next.

📍 STEP-14.4 : It will ask about Location Services. Select according to your preference. Click Next.

📦 STEP-14.5 : It will show pre-installed applications. Click Done.

🎉 STEP-15 : You have successfully installed Ubuntu OS inside a VirtualBox virtual machine.

 

👉 👉 Want to practice Virtualization & Linux like a pro? Explore our complete training program here

https://www.evisiontechnoserve.com/internships/it/45-days-job-internship-program-live