Debian 11 Install Guide Using VirtualBox 🌱

  1. Download Debian 11 Download
  2. Launch Virtualbox
  3. Create a New VM by selecting Machine > New

    Name: Debian 11
    Machine Folder: C:\VMs
    Type: Linux
    Version: Debian (64-bit)
    Memory Size: 4096 MB
    Hard disk: Create a virtual hard disk now

  4. Click Create
  5. On the Create Virtual Hard Disk dialog

    Name the virtual disk image Debian 11.vdi
    File size: 30 GB
    Hard disk file type: VDI
    Storage on physical hard disk: Dynamically Allocated

  6. Click Create
  7. Select the VM and Click Settings
  8. Select System > Processor
  9. Give the VM at least 2 processors
  10. Select Display
  11. Slide the Video Memory to 128 MB
  12. Select Network
  13. Set the attached to dropdown to Bridged Adapter
  14. Select Storage
  15. Click on the CD-ROM drive
  16. Select the disc dropdown to the right > Choose a virtual optical disc file...
  17. Browse to and select the downloaded Debian 11 .iso file
  18. Click OK
  19. Make sure the Debian 11 VM is selected and click Start > Normal
  20. When the install dialog displays press Enter to select Graphical Install
  21. Select a language > Click Continue
  22. Select a Location > Click Continue
  23. Select a keyboard layout > Click Continue
  24. Enter a hostname for the VM > Click Continue
  25. Enter a Domain name or leave it empty > Click Continue
  26. Enter and confirm a root password > Click Continue
  27. Enter the full name for the new user > Click Continue
  28. Enter the username for the new user > Click Continue
  29. Enter and confirm a password for the new user > Click Continue
  30. Select a timezone > Click Continue
  31. Select Guided - user entire disk > Click Continue
  32. Select the VBOX HARDDISK > Click Continue
  33. Select All files in one partition > Click Continue
  34. Select Finish partitioning and write changes to disk > Click Continue
  35. Select Yes to confirm writing the changes > Click Continue
  36. Wait for Debian to copy and install files
  37. When prompted, select Yes to enable a network apt mirror > Click Continue
  38. Select a country to use for the apt mirror > Click Continue
  39. Select a mirror from the list > Click Continue
  40. Setup a HTTP proxy if necessary > Click Continue
  41. Select No to participating in package survey > Click Continue
  42. Select the software to install > Click Continue
  43. Select Yes to install GRUB > Click Continue
  44. Select /dev/sda for the boot loader location > Click Continue
  45. After the bootloader is installed select reboot to finish the installation
  46. Welcome to Debian 11

Optional Steps

  1. Click the Applications button > Search "terminal" > Click Terminal
  2. Run the following commands to install updates
    # authenticate as root, using the root password set earlier
    su -
    # add the normal user to sudo group, replace i12bretro with your user name
    usermod -aG sudo i12bretro
    # exit out of root terminal
    # re-authenticate with regular user (you may need to reboot if this doesn't take effect)
    su $USER
    # edit apt sources.list file
    sudo apt /etc/apt/sources.list
  3. Comment out the deb cd-rom: repositories by adding a # to the beginning of the line
  4. Press CTRL+O, Enter, CTRL+X to write the changes to sources.list
  5. Select Devices > Insert Guest Additions CD image...
  6. Open the Files application > Select the Guest Additions Disc > Right click in the white space > Open terminal here
  7. In the Terminal window run the following commands
    # update software repositories
    sudo apt update
    # install available software updates
    sudo apt upgrade -y
    # clean apt cache
    sudo apt clean
    # install prerequisites
    sudo apt-get install build-essential dkms linux-headers-$(uname -r)
    # run the virtualbox guest additions installer
    sudo sh ./
    # restart the VM
    sudo reboot
  8. The VM will reboot
  9. Upon rebooting, you can now full screen the VM and the internal resolution will automatically change to match the window size
  10. Log back into Debian