Unlock AI power-ups — upgrade and save 20%!
Use code STUBE20OFF during your first month after signup. Upgrade now →

By ProgrammingKnowledge
Published Loading...
N/A views
N/A likes
VirtualBox Installation and Purpose
📌 VirtualBox is a free and open-source host hypervisor that allows users to run different operating systems virtually on their host operating system (e.g., running Ubuntu on Windows 10).
💾 The installation process involves downloading the VirtualBox EXE (approximately 108 MB) from virtualbox.org and running the setup wizard, accepting default settings.
🛠️ After installation, the Oracle VM VirtualBox Manager allows creating new virtual machines (VMs) for various OS types like Windows, Linux, Solaris, etc.
Setting up the Ubuntu Virtual Machine
💿 Creating a VM requires an ISO file of the desired operating system, such as the Ubuntu Desktop ISO file (around 2.5 GB for version 20.04 LTS).
🖥️ When creating the new VM, specify the name (e.g., "Ubuntu 20.04"), type (Linux), and version (Ubuntu 64-bit).
💾 Allocate memory up to the green mark in the memory size setting and select dynamically allocated for the virtual hard disk image (VDI), setting a size like 100 GB, which expands as needed.
Configuration and Ubuntu Installation
⚙️ Before starting, adjust Advanced Settings under the General tab: set Shared Clipboard and Drag and Drop to Bi-directional for seamless host/guest interaction.
💿 In the VM Storage settings, mount the downloaded Ubuntu ISO file by clicking the CD icon under the controller and selecting the ISO file.
▶️ Start the VM and proceed with the Ubuntu installation, typically choosing Normal Installation, downloading updates, and installing third-party software.
👤 Set your location, username, and password during the installation prompts.
Post-Installation: Enabling Full Functionality
🔄 After installation is complete and the VM restarts, log in to the Ubuntu desktop.
💻 To enable proper screen resizing and better resolution, VirtualBox Guest Additions must be installed.
💻 Open the terminal in Ubuntu and first run the command: `sudo apt install build-essential dkms linux-$(uname -r)` to install necessary prerequisites.
🔌 Go to the VirtualBox menu: Devices > Insert Guest Additions CD Image, then click Run in the prompt, provide the Ubuntu password to authenticate, and finally, Power Off the VM before restarting it.
Key Points & Insights
➡️ VirtualBox enables running other operating systems virtually on a host system like Windows 10 without erasing the host disk.
➡️ Always use the LTS (Long-Term Support) version of Ubuntu for stability when installing in a VM.
➡️ Setting Shared Clipboard and Drag and Drop to Bi-directional is crucial for file and text sharing between the host (Windows) and the guest (Ubuntu).
➡️ VirtualBox Guest Additions must be manually installed after the OS installation to achieve features like dynamic screen resizing and better resolution.
📸 Video summarized with SummaryTube.com on Mar 11, 2026, 04:10 UTC
Find relevant products on Amazon related to this video
As an Amazon Associate, we earn from qualifying purchases
Full video URL: youtube.com/watch?v=VZJ6KZUc25M
Duration: 23:48

Summarize youtube video with AI directly from any YouTube video page. Save Time.
Install our free Chrome extension. Get expert level summaries with one click.