🐧

Installing Ubuntu 22.04 on VirtualBox Guide

Sep 11, 2024

Installing Ubuntu 22.04 on VirtualBox (Windows 11)

Introduction

  • Goal: Install Ubuntu version 22.04 (LTS) on VirtualBox.
  • Minimum requirements:
    • RAM: At least 4 GB
    • Hard Disk Space: 25 GB minimum
    • CPU: 2 cores
    • Software: Ubuntu ISO, VirtualBox, Extension Pack

Downloading Ubuntu ISO

  1. Open the browser and navigate to the Ubuntu download page.
  2. Click on the download link for Ubuntu 22.04 (LTS).
    • Supported until April 2027.
  3. Wait for the download to complete (file size: 3.4 GB).

Setting Up VirtualBox

  1. Open VirtualBox Manager.
  2. Create a new virtual machine:
    • Click on "New".
    • Name: Ubuntu
    • Type: Linux
    • Version: Ubuntu (64-bit)
  3. Configure settings:
    • Memory: At least 4 GB (more recommended for smoother performance).
    • Hard Disk: Create a virtual disk now.
    • File type: VDI
    • Storage: Dynamically allocated
    • Size: Minimum 25 GB (30 GB recommended).
  4. Modify settings:
    • Processors: At least 2 CPUs (max out for performance).
    • Display: Set video memory to 128 MB.
    • Storage: Point to the downloaded ISO file.

Installing Ubuntu

  1. Start the virtual machine.
  2. Select the option to install Ubuntu.
  3. Follow the installation steps:
    • Language: English
    • Updates: Download updates during installation
    • Installation type: Erase disk and install Ubuntu (erases virtual drive only).
  4. Confirm changes and set up user profile:
    • Enter your name, username, and password.
  5. Wait for installation to complete, then reboot.
    • Log in with the created password.

Final Setup

  1. Install Guest Additions for better performance:
    • Open Terminal.
    • Run: sudo apt update
    • Install Guest Additions:
      • Go to Devices -> Insert Guest Additions CD Image
      • Run autorun.sh script.
  2. Restart the system after installation.
  3. Set virtual machine to full-screen mode:
    • View -> Full Screen Mode -> Switch.

Conclusion

  • Successfully installed Ubuntu 22.04 on VirtualBox.
  • Encourage viewers to like and comment with questions.
  • Mention of related guides on a dedicated channel.