How to Install Debian Linux in VirtualBox on Windows 10 | Beginners Guide | (Buster)

Поділитися
Вставка
  • Опубліковано 7 лют 2025
  • How to Install Debian Linux in VirtualBox on Windows 10 a 2021 Tutorial. We'll run through the steps to Install Debian Linux Buster in VirtualBox on Windows 10. This Debian Linux Install on VirtualBox is intended for beginners. The guide will show you How to Install Debian Linux on VirtualBox. Install and Try Debian Linux for the first time today.
    Debian is great and many other distributions are based off of it. Debian is totally free and the community focuses on stability making it one of the most reliable linux distributions out there. Debian is also tailored for intermediate to advanced users and is great for using as a server or firewall setup. Debian mainly covers the middle ground where the barriers of entry are large enough that some newer users will steer away from this distribution, but the vast documentation and helpful community should be a reason that newer users decide to go with Debian. It's great for learning and expanding your knowledge about operating systems.
    My Linux Bundle is here:
    📚 savvynik.com
    Share this free tool and support Small UA-camrs
    editbulk.com
    (I made this tool to help creators)
    Discord Link: / discord
    Useful Links:
    Beginners Guide to VirtualBox - • VirtualBox for Beginne...
    Debian - debian.org
    Debian Download - www.debian.org...
    Balena Etcher - www.balena.io/...
    VirtualBox Linux Installs:
    Debian Linux on VirtualBox - • How to Install Ubuntu ...
    Kali Linux on VirtualBox - • How to Install Kali Li...
    Linux Install Videos:
    ExTiX - • ExTiX Linux Install Tu...
    Ubuntu 19 - • Ubuntu 19.10 Eoan Ermi...
    Ubuntu 18 - • Ubuntu 18.04.3 Bionic ...
    Kali Linux - • Kali Linux Install Tut...
    openSUSE: • openSUSE Tumbleweed In...
    Fedora 31: • Fedora 31 Workstation ...
    MX Linux 19: • MX Linux 19 Install | ...
    CentOS 8 NetInstall : • CentOS 8 NetInstall Li...
    Parrot Security OS: • Parrot Security OS | L...
    CentOS 8: • CentOS 8 Install Linux...
    Arch Linux : • Arch Linux Install 201...
    Linux Talk :
    Talk #1 ZFS vs EXT4 Storage Benchmark - • Linux Talk : Ubuntu 19...
    Talk #2 ZFS vs EXT4 Memory Usage - • Linux Talk #2: Ubuntu ...
    Talk #3 Supervisor Process Control - • Linux Talk #3: Supervi...
    Talk #4 LVM vs Standard Partition - • Logical Volume Managem...
    Talk #5 Linux Static IP Address - • Linux Talk #5: Static ...
    Talk #6 Flatpak Install - • Linux Talk #6: Flatpak...
    Talk #7 Linux Static IP Setup (GUI) - • Linux Talk #7: Static ...
    Talk #8 Desktop Setup and Must Have Programs - • Desktop Setup and My M...
    Talk #10 Live Wallpapers - • Install Komorebi and S...
    Review and Walkthrough:
    Kali Linux - • Kali Linux Review & Wa...
    PCLinuxOS - • PCLinuxOS Review, Prev...
    Fedora 31 - • Fedora 31 Workstation ...
    MX Linux - • MX Linux 19 Review, Pr...
    ArcoLinux - • ArcoLinux Review, Prev...
    CentOS 8 - • CentOS 8 Review, Previ...
    Parrot Security OS: • Parrot Security OS 4.7...
    MX Linux: • MX Linux 18.3 Review &...
    C++ Programming Episodes:
    Episode 1 - Visual Studio Setup: • C++ Tutorial for Begin...
    Episode 2 - Adding the Makefile Extension and Compiling: • C++ Tutorial for Begin...
    Episode 3 - Creating our first program: • C++ Tutorial for Begin...
    Episode 4 - For Loops & Vectors: • C++ Tutorial for Begin...
    Episode 5 - Classes & Objects: • C++ Tutorial for Begin...
    Episode 6 - Git Source Control: • C++ Tutorial for Begin...
    Episode 7 - Read/Write a File: • C++ Tutorial for Begin...
    Episode 8 - 2D Vector Read: • C++ Tutorial for Begin...

КОМЕНТАРІ • 109

  • @SavvyNik
    @SavvyNik  3 роки тому +2

    Download a 25 page Linux Checklist here - learn.savvynik.com

  • @SavvyNik
    @SavvyNik  4 роки тому +15

    00:20 - Download Debian
    01:40 - Starting up VirtualBox
    02:16 - Create new Virtual Machine
    04:20 - Editing Properties and Attach Debian Disk File
    06:30 - Start Debian Install
    12:25 - Debian Desktop Selection
    14:04 - Starting Debian in Virtual Machine after Installing
    15:10 - Inserting Guest Additions CD
    15:40 - Exploring the Desktop

  • @maya_tl
    @maya_tl 4 роки тому +3

    Thank you so much for this video! I followed a tutorial the first time I did this, but I had to reset my PC and install VirtualBox all over again, and I'd lost the tutorial-you helped me immensely!!

    • @SavvyNik
      @SavvyNik  4 роки тому

      Awesome Maya, super glad it helped you out! Thanks for the comment. =)

  • @YaTuSabez89
    @YaTuSabez89 4 роки тому +6

    Thank you so much! Amazing video. I went through tons of installation guides and i kept getting failed system install. Your guide was 100% on the first try. Keep up the good work

    • @SavvyNik
      @SavvyNik  4 роки тому

      No problem!! Glad you found it helpful and thanks for posting the kind remarks. It's great to hear =)

  • @kennynelcon56
    @kennynelcon56 4 роки тому +1

    I was having issues with installing GRUB ,but your steps fixed it.
    Thank You

    • @SavvyNik
      @SavvyNik  4 роки тому

      Awesome! Glad you found it helpful. Make sure to smash that like button for me if you haven't already on the vid =)

  • @AndersJackson
    @AndersJackson 4 роки тому +11

    Same comments as the previous video.
    I usually run 1-2 GB RAM for graphical installation and if only CLI I can go down to 256 MB RAM and then from there add whatever the applications do need. RAM is easy to add after and Debian do create a Swap disk partition which size is dependent on the RAM used. And Swap files/partitions can be added later.
    The virtual disk size do need to be adjusted depending on the RAM size (remember the Swap storage). So if you set RAM size to 4 GB RAM, you need to add at least 4 GB Disk to the 8 GB minimum disk suggested. And as always, virtual disks can be added later, but if you know that your application you want to run in your virtual machine need more storage, add that when installing.
    About virtual CPU:s, go for one or two when installing, you probably doesn't need more which installing. Again, easy to add more if you really need that for your application.
    The ISO files are better stored in a map of them own. And I uses bit torrent to download and share the ISO images, as it save resources for Debian.
    About installation of Debian.
    1) Name the machine same as your virtual machine name in VirtualBox, to reduce confusion.
    2) If you don't have a domain, you could use example.com or example.org. Surf to example.com/ for some fun.
    3) Don't set root password! Not set the password for root will lock root from being able to log in, which increases security. It will also install sudo(8) and add your user to the sudo group so you can use sudo(1) to manage your machine. The you only need one secure password, and not two.
    4) You could use your full name, and the installer will suggest a login name. You can change that.
    5) If you use a minimal machine, then consider using LVM, as it is much easier to add/remove (virtual) disks to your virtual machine later.
    A tip is to create a virtual machine with the base system/software/configuration you want. Then you don't run that more then upgrade the software. (sudo apt update; sudo apt upgrade; sudo apt clean)
    Then later you can clone that machine each time you need new virtual machine with same distribution. No need to wait through the installation when you create a new machine, just clone and create new MAC addresses for each NIC you have in your virtual machine.
    After you cloned the machine, you then need to adjust the new machine. You basically only need to change at least the files /etc/hostname, /etc/hosts, /etc/mailname and a file under /etc/exim4/ (easy to do with sed(1), so you could even make a script that does this).
    After that, reboot the machine, and if you have openssh-server installed, remove /etc/ssh/ssh_host* and recreate with 'sudo dpkg-reconfigure openssh-server'. Now you have a clean new clone that you can install all needed software.
    This is at least how I work with virtualization software like VirtualBox and Debian.

    • @SavvyNik
      @SavvyNik  4 роки тому +1

      @Anders Jackson - Again, I really appreciate it!! Thanks for posting this here as well it will help many other ^^ (pinned)

  • @AndersJackson
    @AndersJackson 4 роки тому +2

    VirtualBox support in Debian.
    1) Login in using Xorg. The VirtualBox companion installation script will complain if you don't do that
    2) Install package build-essential and linux-headers-amd64 'sudo apt install build-essential linux-headers-amd64'
    3) Mount the VirtualBox CD, do not run the installation script
    4) Run the installation as root. 'sudo ./autostart.sh' (from memory, you need to check that up)
    5) If the previous stage take time and doesn't complain, then reboot and you have support installed
    I think this will work, it is basically written down from memory.

    • @SavvyNik
      @SavvyNik  4 роки тому +1

      @Anders Jackson - Thanks!

    • @AndersJackson
      @AndersJackson 4 роки тому +1

      @@SavvyNik test it to see if it works. :-)

    • @SavvyNik
      @SavvyNik  4 роки тому +1

      @@AndersJackson - I've actually done this already on another video haha! I think for the most part you have a good lay out of how it should go =)
      ua-cam.com/video/NH2kQPDPvks/v-deo.html

    • @ihyfxntazy
      @ihyfxntazy 4 роки тому

      A virtual machine within a virtual machine within a virtual machine.

  • @giovanni4856
    @giovanni4856 2 роки тому +2

    damn dude thanks a lot ure a lifessaver god bless u

  • @luisfernandohuancachurata1700
    @luisfernandohuancachurata1700 2 роки тому +1

    thanks bro! gretings from bolivia

  • @krypteiawxb
    @krypteiawxb 3 роки тому +1

    thank you for the detailed guide!

    • @SavvyNik
      @SavvyNik  3 роки тому

      You're welcome! Glad you found the video helpful.

  • @ziym162
    @ziym162 4 роки тому +4

    Great tutorial, really informative.

    • @SavvyNik
      @SavvyNik  4 роки тому

      Awesome! Thanks, Chris. Glad you found it helpful =)

  • @david-memes
    @david-memes 4 роки тому +3

    Thank you so much, man. You've really helped me out. Cheers!

    • @SavvyNik
      @SavvyNik  4 роки тому +1

      Awesome! No problem. Make sure you smash that like button for me if you haven't already on the vid =)

    • @david-memes
      @david-memes 4 роки тому +2

      @@SavvyNik Already did ;D

    • @SavvyNik
      @SavvyNik  4 роки тому +1

      @@david-memes you the best :D

  • @vishalmanikanta6051
    @vishalmanikanta6051 4 роки тому +2

    After all setup it asks for grub and the if I give it to virtual box then it goes black and a hifen blinking

    • @Caroline23777
      @Caroline23777 4 роки тому +2

      I have the same problem. Does anybody know what to do?

  • @marcel_max
    @marcel_max 2 роки тому +1

    Hello and thanks for the video, I got it right on the first try. Only now I can't see de virtual debian in the network, also, debian can't connect to the company's network. What did I miss?

    • @SavvyNik
      @SavvyNik  2 роки тому +1

      Try using a bridged adapter for your network adapter

    • @marcel_max
      @marcel_max 2 роки тому +1

      @@SavvyNik it worked, thank you. Now the virtual debian can access other computers and the NAS on the network. Still, I can't access debian from other computers. I used the mac to ping the ip of debian and got responses. I'm going to work on that again tomorrow.

  • @cntrlengr
    @cntrlengr 4 роки тому +1

    Great tutorial...very helpful! Thanks!

    • @SavvyNik
      @SavvyNik  4 роки тому

      You're welcome!! Glad you found it helpful. If you haven't already make sure to destroy that like button for me =)

  • @knightbean8109
    @knightbean8109 4 роки тому +1

    thank you soo much now I finally can use linux

    • @SavvyNik
      @SavvyNik  4 роки тому +1

      許瀚文 - Awesome!! I'm glad you finally found a way to use it ^^ make sure to destroy that like button for me if you haven't already.

  • @silvansowino3846
    @silvansowino3846 3 роки тому

    please help, i try installing debian 11 only to end up on a command line (tty1). what can i do to boot up to a GUI

  • @Mohamed-sc6so
    @Mohamed-sc6so 4 роки тому

    Greeting
    1- when instal on real harddisk i know that "the boot partition is the only partition that should be physical partition".
    2- my question " there's any different will happen if i make one physical partition for boot and one extend partition and then divided the extend partition to (root, home, swap + partition for long time save data ntfs) ?
    3- or i should make physical partition?
    Thanks in advance

  • @frezzy8880
    @frezzy8880 4 роки тому +1

    This was so helpful thank you for your upload

    • @SavvyNik
      @SavvyNik  4 роки тому

      You're welcome! Glad you found it helpful. Make sure to smash that like button on the video if you haven't already =)

  • @gioelebovolenta254
    @gioelebovolenta254 4 роки тому +2

    i don't have the white bar that is on the bottom of the desktop at the end of the video. do you know why?

    • @SavvyNik
      @SavvyNik  4 роки тому +1

      Check your settings in the user interface. There's a checkbox of the settings to add/remove the bar.

  • @RehanPlayzYT
    @RehanPlayzYT 3 роки тому

    Thx for the Tutorial, really useful and informative

    • @SavvyNik
      @SavvyNik  3 роки тому

      You're welcome! Glad you enjoyed it. Make sure to smash that like button for me if you haven't already.

    • @RehanPlayzYT
      @RehanPlayzYT 3 роки тому +1

      But I'm having some issues while installing Debian in VirtualBox on a old PC
      I get this error
      Install the GRUB boot loader on a hard disk
      Installation step failed
      An installation step failed. You can try to run the failing item again
      from the menu, or skip it and choose something else. The failing step is:
      Install the GRUB boot loader on a hard disk
      I went back and selected no bootloader and now my VM Doesn't Start

    • @SavvyNik
      @SavvyNik  3 роки тому

      Usually this issue happens when you don't give enough storage to the system. I suggest at least 32GB disk storage for Debian.

    • @RehanPlayzYT
      @RehanPlayzYT 3 роки тому

      @@SavvyNik I did give it exactly 32 GB

    • @RehanPlayzYT
      @RehanPlayzYT 3 роки тому +1

      @@SavvyNik Don't think it matters but I'm Running 32 bit Debian

  • @samitechcookie9758
    @samitechcookie9758 4 роки тому +1

    Thank you! Nice tutorial! :)
    Stay safe and God bless you!

    • @SavvyNik
      @SavvyNik  4 роки тому +1

      No problem! Glad you found it useful and thanks for the kind remarks =)

  • @yumyum3266
    @yumyum3266 4 роки тому +1

    oooo, debian boi
    woooot 😋

  • @zacharygantzer5746
    @zacharygantzer5746 2 роки тому

    HI I get the moklistrt write protected error plz someone help

  • @yamnaali4479
    @yamnaali4479 4 роки тому +1

    how do you change the setting to ssh i missed it?

    • @SavvyNik
      @SavvyNik  4 роки тому

      I'm not sure I follow. If you want to use ssh I would set the network adapter to be bridged and make sure install openssh-server as a package (sudo apt install openssh-server). That should allow you to connect to the vbox via ssh using the ip address of the debian vm.

  • @bradleyschapf8949
    @bradleyschapf8949 4 роки тому +1

    after getting everything setup in virtualBox, when I launch Debian and try to select the graphical install, my VM crashes.... I have no idea why, and I followed the steps up until that point very carefully... I am using a Mac, but the setup to that point was virtually the same.

    • @SavvyNik
      @SavvyNik  4 роки тому

      I would try and update virtual box. Is there a GTK install option on the menu instead of the graphical method? If there is.. does that work?

  • @hfiyjzricvurcccticut6682
    @hfiyjzricvurcccticut6682 3 роки тому +3

    Hi i can't choose 64bit Debian it says 32 bit

    • @SavvyNik
      @SavvyNik  3 роки тому +1

      You probably don't have virtualization enabled in your BIOS.

    • @hfiyjzricvurcccticut6682
      @hfiyjzricvurcccticut6682 3 роки тому +2

      @@SavvyNik thank you i solved it and thank you for the video too😀👍

    • @SavvyNik
      @SavvyNik  3 роки тому

      You're welcome! Make sure to smash that like button for me on the video if you haven't already =)

  • @edenborochov2580
    @edenborochov2580 3 роки тому +1

    I did everything like you said but after I upload the debian file a message popped- Invalid settings detected that said "The hardware virtualization is enabled in the Acceleration section of the System page although it is not supported by the host system. It should be disabled in order to start the virtual system."
    and i need to say that also only 32 bit version is avalible for me in the virtual box but my CPU suppose to support 62 bit version :(
    my CPU is Intel(R) Core(TM) i5-9400F

    • @SavvyNik
      @SavvyNik  3 роки тому +1

      Sounds like you need to enable virtualization in your BIOS.

    • @edenborochov2580
      @edenborochov2580 3 роки тому +1

      @@SavvyNik thanks for the response! sorry for this obvious question 😅

    • @SavvyNik
      @SavvyNik  3 роки тому

      All good, make sure to smash that like button for me ;)

  • @richardc8129
    @richardc8129 4 роки тому +1

    Install went well. And since this is a 'beginners guide', I thought I'd ask: I can log in as myself, but when I want to log in as root, I select other, enter root, and the pw I had setup during install. Unfortuantely, it doesn't work. What am I doing wrong???

    • @SavvyNik
      @SavvyNik  4 роки тому

      @Richard C - When you're in the system you can't just login as the root user. It's only a special privileged account. Instead you can elevate your permission if needed. If you use a terminal in order to run a terminal with those elevated permissions just run: sudo su and that will log you in as the root user. Otherwise put sudo in front of any command to elevate privileges on the given command. Hope that helps =) let me know if you need more of an explanation, but it's similar to how the administrative user works in Windows. You have to click yes once the dialog pops up to give your program administrative privileges.

    • @richardc8129
      @richardc8129 4 роки тому +1

      @@SavvyNik Thank you. That gets me part of the way there.

    • @SavvyNik
      @SavvyNik  4 роки тому

      @@richardc8129 - No problem, hope you get things figured out. Come back and ask questions if you get stuck again.

    • @arunthebuffoon4554
      @arunthebuffoon4554 4 роки тому +1

      Super User permission lets you screw around with the system . Its sort of like a device administrator permission, but doesnt take up a folder in your home directory, as a regular user.
      run "su" in the terminal (when you want to do something superuser-y), then "exit" once youre done. all commands between su and exit will be executed with those privilleges.
      if you only want to execute one command as SU, then precede it by "sudo" (Super User DO ). you will not have to exit.

  • @mattslivar5174
    @mattslivar5174 4 роки тому +2

    Will it run good on GeForce GTX 1650-4GB Intel Core i5-9400F 2,90 GHz / 4,10 GHz. 2x 16gb ram ddr4 2666 MHz

    • @SavvyNik
      @SavvyNik  4 роки тому

      Yeah I don't think you'll have any problem running a VM on that system.

  • @knorth2386
    @knorth2386 3 роки тому +1

    Update: I tried the netinst for Debian 10.9 and there were no options for a graphical desktop environment when using my network to install updates. However when I downloaded the DVD.iso files I did get the graphical desktop environments in the install.

    • @SavvyNik
      @SavvyNik  3 роки тому

      Weird I haven't had this issue.

  • @xianghuai
    @xianghuai 4 роки тому +1

    Hi SavvyNik, I have a question. I tried to install a REST API service package to Linux VM (Ubuntu). But when I run the install command, the service file was saved in folder /run/systemd/generator.late/ rather than the folder of /etc/systemd/sysem. Can anyone tell me what I should do with the installation package so that the service file ( serviceName.service) can be saved to /etc/systemd/system/ during the installation? Do I have to manually create such a file in /etc/systemd/system/ before installation? Thanks.

    • @SavvyNik
      @SavvyNik  4 роки тому

      Can't say I've tried this before so I'm uncertain. Maybe someone who has messed with the package before can answer this.

  • @XxTerroristXx12GTAV
    @XxTerroristXx12GTAV 4 роки тому +1

    I stuck graphical start no loads idid all steps ?

  • @funnymemefolder1
    @funnymemefolder1 3 роки тому +1

    Can you net install?

    • @SavvyNik
      @SavvyNik  3 роки тому

      Sure there's a net installer version as well.

  • @expiredlamb2000
    @expiredlamb2000 3 роки тому

    The installer is just throwing me into a shell. What am I doing wrong? I believe I followed all steps up to the point of starting the debian install

    • @SavvyNik
      @SavvyNik  3 роки тому

      I'd recreate the VM if it's just throwing you into a EFI shell.

  • @nazareandrei4567
    @nazareandrei4567 3 роки тому

    i have an error before the process is completed: says error with installation the system

    • @SavvyNik
      @SavvyNik  3 роки тому

      Did you make sure to at least give 32GB of storage space?

    • @nazareandrei4567
      @nazareandrei4567 3 роки тому +1

      @@SavvyNik no, i will try to give it 32gb, thank you for the answer🤙

    • @SavvyNik
      @SavvyNik  3 роки тому

      Good luck and make sure to smash that like button for me!

  • @Epix989
    @Epix989 3 роки тому +1

    Thanks

    • @SavvyNik
      @SavvyNik  3 роки тому

      You're welcome! Make sure to smash that like button for me if you haven't already ^^

  • @itsamazing22
    @itsamazing22 4 роки тому +1

    Cool

    • @SavvyNik
      @SavvyNik  4 роки тому

      Glad you think so :D

    • @itsamazing22
      @itsamazing22 4 роки тому +1

      @@SavvyNik Also I am working on downloading Debian too all is going great

    • @SavvyNik
      @SavvyNik  4 роки тому

      @@itsamazing22 Awesome to hear =)

  • @Tintamar5678
    @Tintamar5678 3 роки тому

    15:10 I have no bottom!

    • @SavvyNik
      @SavvyNik  3 роки тому

      Not sure what that means.. but your resolution could be off..

  • @alphafuse9079
    @alphafuse9079 3 роки тому

    Hey savvy are you there?

    • @SavvyNik
      @SavvyNik  3 роки тому

      possibly..

    • @alphafuse9079
      @alphafuse9079 3 роки тому

      @@SavvyNik I'm having an issue while installing debian
      "An installation step failed. You can try to run the failing item again from the menu, or skip it and choose something else. The failing step is: Select and install software"
      What does this mean?

    • @SavvyNik
      @SavvyNik  3 роки тому +1

      Sometimes Debian fails to install if you didn't give enough storage space for the system to install.

    • @alphafuse9079
      @alphafuse9079 3 роки тому

      @@SavvyNik oh so that's why....
      Thanks for the info!

  • @joemolinelli08
    @joemolinelli08 4 роки тому +1

    i don't think that was 2021

    • @SavvyNik
      @SavvyNik  4 роки тому

      lol I think Debian 10 still works in 2021 =D happy new years!!

    • @joemolinelli08
      @joemolinelli08 4 роки тому +1

      @@SavvyNik ohhh ok.. happty new years to you too! :)