{"id":10054,"date":"2021-08-16T16:43:39","date_gmt":"2021-08-16T13:43:39","guid":{"rendered":"https:\/\/kifarunix.com\/?p=10054"},"modified":"2024-03-18T18:54:05","modified_gmt":"2024-03-18T15:54:05","slug":"install-debian-11-on-virtualbox","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/install-debian-11-on-virtualbox\/","title":{"rendered":"Install Debian 11 on VirtualBox"},"content":{"rendered":"\n<p>Follow through this tutorial to learn how to install Debian 11 on VirtualBox. The <em><a href=\"https:\/\/www.debian.org\/News\/2021\/20210814\" target=\"_blank\" rel=\"noreferrer noopener\">Debian<\/a> project is proud to present its new stable version 11 (code name&nbsp;<q>bullseye<\/q>)<\/em>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Installing Debian 11 on VirtualBox<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Download Debian 11 ISO<\/h3>\n\n\n\n<p>Navigate to Debian CD\/DVD images page and grab a stable release version ISO file for your specific system arch.<\/p>\n\n\n\n<p>We are using the amd version in this guide.<\/p>\n\n\n\n<p>You can simply get the ISO link and pull it down using wget command.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>wget https:\/\/cdimage.debian.org\/debian-cd\/current\/amd64\/iso-cd\/debian-11.0.0-amd64-netinst.iso  -P ~\/Downloads<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Create New Virtual Machine<\/h3>\n\n\n\n<p>Once you have the Focal Fossa ISO file in place, launch VirtualBox and create a new Virtual Machine.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"643\" height=\"397\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/08\/new-machine.png\" alt=\"\" class=\"wp-image-10056\" title=\"\"><\/figure><\/div>\n\n\n<p>Assign the virtual Machine a memory of at least 1024 MB.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"643\" height=\"401\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/08\/memory.png\" alt=\"\" class=\"wp-image-10057\" title=\"\"><\/figure><\/div>\n\n\n<p>Create a virtual hard disk for the virtual machine.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"643\" height=\"398\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/08\/create-harddisk.png\" alt=\"\" class=\"wp-image-10058\" title=\"\"><\/figure><\/div>\n\n\n<p>Choose the type of virtual hard disk to create. In this demo, we choose the default VDI.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"612\" height=\"467\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/08\/vdi.png\" alt=\"\" class=\"wp-image-10059\" title=\"\"><\/figure><\/div>\n\n\n<p>Next, choose how the disk should be allocated. Dynamic allocation is selected in this demo.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"615\" height=\"465\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/08\/dynamic-allo.png\" alt=\"\" class=\"wp-image-10060\" title=\"\"><\/figure><\/div>\n\n\n<p>Set the size and location of the disk image.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"620\" height=\"470\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/08\/disk-size.png\" alt=\"\" class=\"wp-image-10061\" title=\"\"><\/figure><\/div>\n\n\n<p>Click create to create the Virtual Machine.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Attach Installation ISO File<\/h3>\n\n\n\n<p>Once the virtual machine is created, select it and press <strong>Ctrl+s<\/strong> to launch the VM settings wizard.<\/p>\n\n\n\n<p>Click storage settings and attach the ISO file as IDE controller.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"707\" height=\"554\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/08\/attach-iso.png\" alt=\"\" class=\"wp-image-10062\" title=\"\"><\/figure><\/div>\n\n\n<p>You might also want to attach more Network interfaces. Click on Network settings.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"711\" height=\"565\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/08\/vm-network.png\" alt=\"\" class=\"wp-image-10064\" title=\"\"><\/figure><\/div>\n\n\n<p>Feel free to configure any other setting to your preference, like adjusting the size of memory and number of CPU cores to assign to the VM etc.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Installing Debian 11 on VirtualBox<\/h3>\n\n\n\n<p>Click on the VM and hit the <strong>Start<\/strong> button to launch the installation.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"657\" height=\"495\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/08\/debian-11-install.png\" alt=\"\" class=\"wp-image-10065\" title=\"\"><\/figure><\/div>\n\n\n<p>Let\u2019s install Debian 11 by hitting ENTER, to launch the installation Wizard.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Set the Language and System Locae<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Choose your installation Language and click <strong>Continue<\/strong>.<\/li>\n\n\n\n<li>Select your Location. This will be used to update your timezone and set system locale.<\/li>\n\n\n\n<li>If your country is not listed, click Other to see more listings.<\/li>\n\n\n\n<li>Once done, click <strong>Continue<\/strong> to proceed with installation of Debian 11 on VirtualBox.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Configure the networking<\/h3>\n\n\n\n<p>In my setup, I attached two interfaces to my Debian 11 vm.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Select Primary Network interface\n<ul class=\"wp-block-list\">\n<li>NAT interface to provide the VM with Internet access (enp0s3).<\/li>\n\n\n\n<li>Host-Only Interface to allow the VM to be access from the host (enp0s8).<\/li>\n\n\n\n<li>Thus, at this point, I select the first interface as the primary Networking interface.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Set the system hostname<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Create Users and Passwords<\/h3>\n\n\n\n<p>Next, create user accounts and passwords.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Begin by setting the root user account password.<\/li>\n\n\n\n<li>Next, add the standard user accounts.<\/li>\n\n\n\n<li>Click <strong>Continue<\/strong> when done setting up the user accounts\/passwords.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Disk Partitioning<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Select the disk partitioning scheme. We use the entire disk in this setup.<\/li>\n\n\n\n<li>Create a single partition (All files in one partition recommended for new users)<\/li>\n\n\n\n<li>Finish partitioning and write changes to disk.<\/li>\n\n\n\n<li>Confirm that you want to write disk partitioning changes.<\/li>\n<\/ul>\n\n\n\n<p>The system the begins the installation.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"823\" height=\"621\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/08\/base-install.png\" alt=\"Install Debian 11 on VirtualBox\" class=\"wp-image-10066\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/08\/base-install.png?v=1629111243 823w, https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/08\/base-install-768x579.png?v=1629111243 768w\" sizes=\"(max-width: 823px) 100vw, 823px\" \/><\/figure><\/div>\n\n\n<h3 class=\"wp-block-heading\">Configure the Package Manager<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Scan extra installation media? Select <strong>No<\/strong> and continue.<\/li>\n\n\n\n<li>Select the Debian Archive Mirror country that is close to you on the network.<\/li>\n\n\n\n<li>Choose the mirror from the list<\/li>\n\n\n\n<li>If you go through proxy, set the proxy server details. Otherwise, leave blank for none.<\/li>\n<\/ul>\n\n\n\n<p>Popularity contest, select No and proceed.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Software Selection<\/h3>\n\n\n\n<p>At this point, you can select the kind of software to install.<\/p>\n\n\n\n<p>Whether to install the desktop version or the headless version.<\/p>\n\n\n\n<p>Since we are installing headless Debian 11, we only select the SSH server and standard system utilities.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"817\" height=\"608\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/08\/software-install.png\" alt=\"\" class=\"wp-image-10069\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/08\/software-install.png?v=1629118918 817w, https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/08\/software-install-768x572.png?v=1629118918 768w\" sizes=\"(max-width: 817px) 100vw, 817px\" \/><\/figure><\/div>\n\n\n<p>Otherwise, to install Debian GUI based, select the desktop environment of your choice from the list and click <strong>continue<\/strong> to proceed.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Install Grub Bootloader<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Select <strong>Yes<\/strong> to install Grub bootloader on to your primary vm disk. Click <strong>continue<\/strong>.<\/li>\n\n\n\n<li>Select the device, usually <strong>\/dev\/sdx<\/strong>, where x can be a, b &#8230;<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"811\" height=\"601\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/08\/grub-device.png\" alt=\"\" class=\"wp-image-10070\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/08\/grub-device.png?v=1629118938 811w, https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/08\/grub-device-768x569.png?v=1629118938 768w\" sizes=\"(max-width: 811px) 100vw, 811px\" \/><\/figure><\/div>\n\n\n<h3 class=\"wp-block-heading\">Installation Complete<\/h3>\n\n\n\n<p>Let the installation run. When done, you see such screen.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"806\" height=\"608\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/08\/install-complete.png\" alt=\"\" class=\"wp-image-10071\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/08\/install-complete.png?v=1629119009 806w, https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/08\/install-complete-768x579.png?v=1629119009 768w\" sizes=\"(max-width: 806px) 100vw, 806px\" \/><\/figure><\/div>\n\n\n<p>Next, click continue finish the installation.<\/p>\n\n\n\n<p>Once the installation completes, click restart now.<\/p>\n\n\n\n<p>The VM is then rebooted. And you are welcomed by server login prompt.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"816\" height=\"623\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/08\/server-login-interface.png\" alt=\"\" class=\"wp-image-10072\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/08\/server-login-interface.png?v=1629119135 816w, https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/08\/server-login-interface-768x586.png?v=1629119135 768w\" sizes=\"(max-width: 816px) 100vw, 816px\" \/><\/figure><\/div>\n\n\n<p>Login to your Debian 11 vm using the credentials set before.<\/p>\n\n\n\n<p>And there you go.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"816\" height=\"619\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/08\/debian-11.png\" alt=\"\" class=\"wp-image-10073\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/08\/debian-11.png?v=1629119756 816w, https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/08\/debian-11-768x583.png?v=1629119756 768w\" sizes=\"(max-width: 816px) 100vw, 816px\" \/><\/figure><\/div>\n\n\n<p>You have successfully installed Debian 11 on VirtualBox. Enjoy your testing of this awesome OS. Sample Gnome desktop.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"812\" height=\"613\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/08\/sample-ui-gnome.png\" alt=\"\" class=\"wp-image-10078\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/08\/sample-ui-gnome.png?v=1629143103 812w, https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/08\/sample-ui-gnome-768x580.png?v=1629143103 768w\" sizes=\"(max-width: 812px) 100vw, 812px\" \/><\/figure><\/div>\n\n\n<p>Other Tutorials<\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-rocky-linux-8-on-virtualbox\/\" target=\"_blank\" rel=\"noreferrer noopener\">Install Rocky Linux 8 on VirtualBox<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-virtualbox-guest-additions-on-rocky-linux-8\/\" target=\"_blank\" rel=\"noreferrer noopener\">Install VirtualBox Guest Additions on Rocky Linux 8<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Follow through this tutorial to learn how to install Debian 11 on VirtualBox. The Debian project is proud to present its new stable version 11<\/p>\n","protected":false},"author":3,"featured_media":10076,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[36,121],"tags":[3958,3959,3956,3954,3957,3955],"class_list":["post-10054","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-virtualization","category-howtos","tag-debian-11","tag-debian-11-bullseye","tag-debian-11-install","tag-install-debian-11-on-virtualbox","tag-install-debian-11-server","tag-virtualbox-debian-11","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-50","resize-featured-image"],"_links":{"self":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/10054"}],"collection":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/comments?post=10054"}],"version-history":[{"count":6,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/10054\/revisions"}],"predecessor-version":[{"id":21694,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/10054\/revisions\/21694"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media\/10076"}],"wp:attachment":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media?parent=10054"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/categories?post=10054"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/tags?post=10054"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}