UnixDroid

Foundations · Beginner

VirtualBox tutorial for beginners

Run a whole second computer inside your computer

VirtualBox screen demo — an illustration with sample data

What is VirtualBox?

Oracle VirtualBox is free software that creates virtual machines — complete computers inside a window. It is the easiest way to build a safe practice lab for Linux and cybersecurity.

How VirtualBox works

  1. 1

    Host and guest

    Your real computer is the host; each virtual machine is a guest.

  2. 2

    Virtual hardware

    CPU, RAM, disk and network cards are shared safely.

  3. 3

    Snapshots

    Save the exact state and return to it any time.

  4. 4

    Network modes

    NAT gives internet; Host-only keeps a lab private.

What is a virtual machine?

A pretend computer with its own disk, memory and network, running inside your real one.

Why it matters

You can break things, test them and roll back with a snapshot in seconds.

First lab

  1. Install VirtualBox from virtualbox.org
  2. Create a new VM (2 CPUs, 4 GB RAM, 25 GB disk)
  3. Install Ubuntu from its ISO
  4. Take a snapshot called clean

VirtualBox first steps

VBoxManage --version

Check the installed version

VBoxManage list vms

List your virtual machines

VBoxManage snapshot "Ubuntu" take clean

Save a snapshot

VBoxManage snapshot "Ubuntu" restore clean

Go back to it

Use VirtualBox safely and legally

For practice labs use a Host-only network so test machines can never reach other devices.

Practise only on your own computer, your own network or a lab that gives you permission. Using security tools on systems that are not yours can be a crime (in India under the IT Act).

VirtualBox — common questions

What is VirtualBox used for?

Oracle VirtualBox is free software that creates virtual machines — complete computers inside a window. It is the easiest way to build a safe practice lab for Linux and cybersecurity.

VirtualBox kya hai?

VirtualBox ek free software hai jisse aap apne computer ke andar doosra virtual computer chala sakte ho.

Why is virtualization disabled?

Turn on Intel VT-x or AMD-V in your BIOS/UEFI settings.

How much RAM do I need?

8 GB in the laptop lets you run one comfortable VM.

Related topics: virtualbox tutorial · virtual machine kya hai · install ubuntu virtualbox · cybersecurity home lab