Debian VM (w/ VirtualBox)
VirtualBox is a free and open-source virtual machine monitor (software that creates and runs virtual machines, i.e. emulated computer systems) developed by Oracle. VirtualBox can run virtual machines (VMs) running a variety of operating systems.
These instructions will go over how to set up a VirtualBox VM running Debian 13.
Installing VirtualBox
Section titled âInstalling VirtualBoxâNavigate to the VirtualBox Downloads page and follow the following instructions based on your operating system.
- Download the appropriate VirtualBox package for your Macâs architecture (Intel or Apple silicon).
- Double-click the downloaded
.dmgfile to mount it. - Double-click the installer and follow the installation wizard.
- Download the VirtualBox package for Windows.
- Double-click the downloaded
.exefile and follow the installation wizard.
-
Download the appropriate VirtualBox package for your Linux distribution.
VirtualBox provides distribution-specific
.deband.rpmpackages, as well as an executable.runinstaller. -
Install the downloaded package. If you downloaded a
.debor.rpm, using your distributionâs package manager will automatically handle dependencies.
Download Debian
Section titled âDownload DebianâDownload the appropriate Debian 13 ISO for your computerâs architecture from the Debian website.
The download may take a few minutes.
Create the Virtual Machine
Section titled âCreate the Virtual MachineâOpen VirtualBox. You will be asked to choose an Experience Model, Basic Mode is fine.
Select Create a new virtual machine (VM).
Virtual Machine Name and Operating System
Section titled âVirtual Machine Name and Operating SystemâUnder âVirtual machine name and operating systemâ:
- Give your virtual machine a name.
- Select the Debian 13 ISO you downloaded.
- You can leave Proceed with Unattended Installation checked.
Unattended Guest OS Installation
Section titled âUnattended Guest OS InstallationâUnder âSet up unattended guest OS installationâ:
Set the password for the user that will be created inside the virtual machine.
Virtual Hardware
Section titled âVirtual HardwareâUnder âSpecify virtual hardwareâ and âSpecify virtual hard diskâ:
Choose how many resources from your computer will be temporarily allocated to the virtual machine.
A reasonable starting point is:
| Resource | Recommended |
|---|---|
| Memory | 4 GB |
| Storage | 16 GB |
Debian can run with fewer resources if necessary. Its recommended minimums are 512 MB of memory and 4 GB of storage.
Finish Installation
Section titled âFinish InstallationâSelect Finish and boot into Debian 13!
VirtualBox will use the Debian ISO and the settings you provided to install Debian 13.
Once installation is complete, you can use the Debian VM like a separate computer running inside your existing operating system.
Shutting Down the VM
Section titled âShutting Down the VMâWhen you are finished using your virtual machine, use Save State or Shut Down.
Additional Resources
Section titled âAdditional ResourcesâMore information is available in the official VirtualBox documentation.