Back to course

4. Preparing for Installation: Understanding Virtual Machines (VMs)

Linux Basics: From Zero to CLI Hero

The Safe Way to Learn: Virtualization

Installing Linux directly on your computer (dual-booting) can be complex and risky for beginners. We will use a Virtual Machine (VM).

What is a VM?

A VM is a software-based emulation of a computer system. It allows you to run a full operating system (the Guest OS, e.g., Ubuntu) within a window on your current OS (the Host OS, e.g., Windows/macOS).

Advantages of using a VM:

  • Safety: Errors in the VM cannot harm your Host OS.
  • Portability: You can easily back up, move, or reset the VM.
  • Isolation: The Guest OS is isolated from your primary system.

Required Software

We need two main components:

  1. Hypervisor (Virtualization Software):
    • VirtualBox (Free and Open Source, highly recommended for beginners).
    • VMware Workstation Player (Free for non-commercial use).
  2. ISO Image: The installation file for the chosen Linux distribution (e.g., ubuntu-22.04-desktop-amd64.iso).