Log In

Installing Debian on Ubuntu via VirtualBox

Installing Debian on Ubuntu via VirtualBox
Reading time: 3 min
Hostman Team
Technical writer

In the world of Linux distributions, the connection between Debian and Ubuntu is a remarkable combination of reliability, variety, and use. While both Debian and Ubuntu are capable operating systems in their own right, the ability to install Debian atop Ubuntu opens up a world of possibilities, providing users with a distinct set of features and benefits that distinguish it from other solutions.

In this article, deep dive into how to install Debian on Ubuntu and how the two well-known distributions work together seamlessly. Discover the benefits and advantages of this hybrid architecture, which provides users with unrivaled customization, software diversity, and system reliability.


  • System running in Ubuntu
  • User with Root access on the terminal
  • At least 10GB disk space (recommended 20GB)
  • At least 512 GB RAM (recommended 4GB)
  • Debian ISO file (will be described below)
  • VirtualBox (will be described below)

Once all requirements are met, proceed with installation.

Installing VirtualBox

  1. Install VirtualBox on Ubuntu.

Access the terminal and update the package index.

sudo apt-get update


  1. Run the below command to install and type yes or y to proceed.

sudo apt-get install virtualbox


  1. Check if installation was successful by running the command:

sudo dpkg -l virtualbox


Or login to Ubuntu Desktop and look for VirtualBox on the application search box.


After successful installation of VirtualBox, it is now ready to install Debian.

Installing Debian with VirtualBox

To install Debian, follow the instruction below:

  1. Download the Debian ISO file on official website of Debian: https://cdimage.debian.org/debian-cd/current/amd64/iso-dvd/. Wait for download to finish.


  1. Launch the VirtualBox and click New.



  1. Create the Debian machine and name it.


  1. Allocate the required memory and click Next.


  1. Select the hard disk file type and click Next.


  1. Choose if the hard disk is dynamically or fixed sized then click Next.


  1. Allocate the required size of disk and click Create.


  1. Validate details and click start to proceed with installation.


  1. Locate the Debian ISO file that has been downloaded on the previous step.


Select your Debian ISO file.


Click Start.

  1. Follow the instruction prompt.


  1. Reply to the system's prompts such as selecting the language and location.


  1. Wait for the installation to complete. Once done, it will look like below. 


Debian installation is successful.


As technology advances and user expectations increase, Debian and Ubuntu's collaboration paves the road for open-source innovation and excellence. Embracing this synergy not only improves individual users' capacities, but it also adds to the global advancement of Linux-based solutions. Hostman allows you to launch a server for as low as $4 per month, in case you were wondering.