Learning Center
Debian

Installing Debian on Ubuntu via VirtualBox

29 Mar 2024
JC Brian Refugia
JC Brian Refugia

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.

Prerequisites
Copy link

  • System running on 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
Copy link

  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:

Image20

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
Copy link

To install Debian, follow the instruction below:

  1. Download the Debian ISO file on the Debian official website. Wait for download to finish.

Image11

Downloading Debian ISO file from the official website

  1. Launch the VirtualBox and click New.

  2. Create the Debian machine and name it.

Image8

Creating a virual machine in VirtualBox

  1. Allocate the required memory and click Next.

Image1

Creating a virual machine in VirtualBox

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

Image18

Creating a virual machine in VirtualBox

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

Image9

Creating a virual machine in VirtualBox

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

Image14

Creating a virual machine in VirtualBox

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

Image3

Creating a virual machine in VirtualBox

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

Image10

Creating a virual machine in VirtualBox

Select your Debian ISO file.

Image16

Creating a virual machine in VirtualBox

Click Start.

  1. Follow the instruction prompt.

Image2

Debian installer in VirtualBox

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

Image13

Debian installer in VirtualBox

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

Image7

Debian running on a VM created with VirtualBox

Debian installation is successful.

Conclusion
Copy link

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. 

With Hostman, you can run your workloads on an efficient Amsterdam VPS that support low latency for EU-based users. We have plenty of budget VPS hosting options for your projects. Begin your cloud journey with Hostman's Cloud Servers for only $4.