How to Install Debian in VirtualBox

Table of Content
    Add a header to begin generating the table of contents
    Install Debian in VirtualBox
      Add a header to begin generating the table of contents

      Introduction

      If you’re a Linux user planning to switch to Debian, it’s better to try it as a virtual machine before making it your host or primary operating system. Once you’re satisfied, you can replace your current operating system with Debian.

      This article provides a brief introduction to Debian and guides you on how to install it in VirtualBox to explore its features.

      What is Debian?

      Debian GNU/Linux is a free, open-source distribution created by Ian Murdock in 1993. It serves as the foundation for many Linux distributions, i.e. Ubuntu, Linux Mint, and Kali Linux. Debian is known for its ease of use and offers DVD and CD images for installation on desktop environments like GNOME and Cinnamon. Overall, it’s the most widely used Linux distribution after Ubuntu.

      Installation of Debian in VirtualBox

      Let’s begin with the installation of Debian as a virtual machine in VirtualBox.

      Prerequisites

      Before proceeding with the installation of Debian in VirtualBox, you require the following things in your system:

      • VirtualBox
      • Debian ISO file
      • Minimum 20GB disk space
      • Minimum 4GB RAM

      NOTE: If you’ve already installed VirtualBox on your system, you may skip this section and jump directly to the installation of Debian.

      If you don’t have VirtualBox installed on your system, you can install it via your system’s package manager or directly from Oracle’s official site. To install VirtualBox from Oracle, simply download and install it from Oracle VirtualBox.

      Install Debian 12 as a Virtual Machine

      After successfully installing VirtualBox, you can begin installing Debian in VirtualBox.

      Firstly, head to the official download page on Debian’s website. Then, download the ISO file of the latest Debian:

      Download ISO image of Debian from the official site

      The installation will take some time, depending on your internet connection. Wait until the Debian 12 ISO file downloads completely:

      debian ISO image download is complete

      Afterward, open the VirtualBox and click on the New button:

      open the VirtualBox and select New to create virtual machine.

      Next, enter the name of your Virtual machine:

      Now, enter the name of your Virtual machine

      Now, select the ISO image you downloaded. You can search for it on your system by selecting Other if it’s not listed in the options below. Finally, click Next to proceed further:

      Select the ISO image from your PC that you previously downloaded

      Now, set the Username and Password of your Virtual Machine. Additionally, you may change the Hostname of your machine. Then, click Next to proceed:

      Set the username and password of the user. you may change the hostname also.

      Subsequently, you must select the maximum amount of RAM and CPU count that your virtual machine can use. To increase the performance of your machine, you should select a larger amount of RAM and increase the CPU count. However, you can leave the settings as they are if you’re just creating the VM for test purposes, as you can modify them later. Afterward, click Next:

      set the maximum limit of RAM that the machine can take and set the CPU count. this will affect the performance of your virtual machine.

      Then, select a Virtual Hard Disk size and click Next to proceed:

      select the hard disk size for the virtual machine.

      Finally, you’ll see the complete summary of your VM. If you want to edit or change something, select Back, or press Finish to proceed:

      Here's the complete summary of your Virtual Machine. you may edit anything by selecting back. If not, select finish to proceed further.

      You have successfully created your Debian 12 virtual machine. Now, it’s time to install Debian 12. To begin the installation, start the virtual machine and wait for the installation to complete:

      the Virtual machine has been created successfully. Now, the configuration of Debian components will start. this may take some time

      Finally, Debian is successfully installed:

      The installation and configuration of Debian in VirtualBox is complete. To proceed, login to your user

      Enter the password of the user that you’d set while creating the virtual machine:

      enter the password that was previously set while creating the Virtual machine

      Finally, the installation is complete. Now, you’ll receive post-installation configuration prompts for setting the keyboard layout and online accounts. Set them according to your preferences and enjoy using Debian:

      Debian running in VirtualBox

      Thus, we’ve successfully installed Debian 12 in VirtualBox.

      Conclusion

      Debian is a popular, user-friendly Linux distribution that offers many useful features. This article has covered the process of installing Debian as a virtual machine in VirtualBox. This way, users can explore Debian and decide if they want to make it their primary operating system.

      Latest Post

      Contents
        Add a header to begin generating the table of contents
        Install Debian in VirtualBox
        Latest Post
        Do You Enjoy My Blog

        Supports from reader you like keeps this blog running. By a cup of coffee for me , its a affordable way to show your appreciation

        Previous Post
        ABOUT THE AUTHOR
        Maryam Nasir

        I'm currently pursuing my Bachelor's degree. Alongside my studies, I specialize in jotting down my knowledge about Linux by effectively and practically using my hobby of writing.

        Scroll to Top