Log In

Installing Debian on Ubuntu via VirtualBox

Installing Debian on Ubuntu via VirtualBox
29.03.2024
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.

Prerequisites

  • 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

Image12

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

sudo apt-get install virtualbox

Image4

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

sudo dpkg -l virtualbox

Image20

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

Image19

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.

Image11

  1. Launch the VirtualBox and click New.

Image15

Image17

  1. Create the Debian machine and name it.

Image8

  1. Allocate the required memory and click Next.

Image1

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

Image18

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

Image9

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

Image14

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

Image3

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

Image10

Select your Debian ISO file.

Image16

Click Start.

  1. Follow the instruction prompt.

Image2

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

Image13

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

Image7

Debian installation is successful.

Conclusion

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.


Share