Install Linux on a Virtual Machine using VirtualBox

Поділитися
Вставка
  • Опубліковано 31 січ 2025

КОМЕНТАРІ • 143

  • @workdowg
    @workdowg 6 років тому +58

    I've probably done at least 100 virtualbox installs but I wish I had had this video to watch when I first started. I'll be using this resource for people to ask me about it! Keep explaining Gary!

  • @jagardina
    @jagardina 6 років тому +12

    Loading various OSes in VirtualBox has become a hobby. I watch DistroTube and follow along with my own install.
    I liked all the ancient OSes you have installed. OS/2, Solaris, XP...

  • @byrw9557
    @byrw9557 2 роки тому +5

    At over 70, I am trying to get up the nerve to do some virtual boxes and learn some Linux... particularly, POP OS. I have looked everywhere for some time for an in-depth vid like yours. How wonderful!!! Thanks so much fore all your efforts. This is just what I needed for the encouragement to go forward!!!

  • @JustCallMeFluffy
    @JustCallMeFluffy 4 роки тому +5

    thank you so much! I am new to virtualization and this was a great tutorial to get started. Ubuntu is up and running!

  • @Jman2008xxl
    @Jman2008xxl 5 років тому +5

    Thanks for the straightforward video. I'm just starting my intro to Linux/Unix online course and this will be great to use instead of having to rely entirely on the college's server. Thanks again for the vid.

  • @dave6386
    @dave6386 5 років тому +6

    Thanks Man, You did a really great job here! Fellow brit here so I have to nitpick a little, heheh, Just one little thing Enable VT-x (Intel) or in my case on my Ryzen 2700x, I had to go into BIOS and enable AMD-V for 64bit OS to work with VirtualBox. But you got me up and running very fast. Thank you very much indeed! I Subscribed and liked. Great presentation, course I may be a little biased! ;)
    Interested to see what else you have on your channel, this was my first video of yours.

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

    This video made the process 10x easier. Thank you!

  • @ahmedchampion3687
    @ahmedchampion3687 6 років тому +5

    thanks gary..
    I really want to more about
    1-anbox.. unique app for running android apps into linux.. and the difference between it and other emulators.. and how it works{snaps, the use of kernel}
    2-docker
    3-WSL for windows
    thanks for your efforts sir 👍

    • @lentoman
      @lentoman 6 років тому

      I agree, Docker might be a good topic, then perhaps in the future cover Kubernetes for (Docker) Container Orchestration.

  • @IgorTurgenev-UK
    @IgorTurgenev-UK 6 років тому +4

    Best video on UA-cam. Thank you

  • @bertnijhof5413
    @bertnijhof5413 5 років тому +1

    I moved all my "work" and hobbies to a Virtualbox Virtual Machine (VM), because it avoids compromises between hardware support and user work-flow. My Host-OS takes care of the adaptation to the AMD Ryzen hardware and to dual monitors and work spaces, while the Virtual Machines (VM) are optimized for office + email or banking or jukebox or experiments.
    I run the same VMs on laptop and desktop and run an incremental backup weekly, so on the road I have exactly the same installation as on my desktop at home.

  • @CitizenLou3
    @CitizenLou3 5 років тому +4

    This was awesome thanks!

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

    I love you man, you're a legend

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

    This legit saved me in my OS class

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

    I thought you had to boot stuff in virtualbox from the LiveUSB of your target OS lol. Thank you for showing that isn't the case.

  • @oriel151
    @oriel151 6 років тому +2

    Amazing vid. Thank you gary

  • @AbdelrhmanBadr-yr1xl
    @AbdelrhmanBadr-yr1xl 2 роки тому

    Thanks for the great video ... I faced the problem: The hardware virtualization is enabled in the acceleration section of the system page, and here is the solution:
    1) Open your BIOS settings.
    2) You have to enable virtualization technology.

  • @parchuriakhilesh8535
    @parchuriakhilesh8535 6 років тому +1

    thanks for explaining it as much simple

  • @eeshaan1539
    @eeshaan1539 6 років тому +2

    This was really necessary!!!

  • @1MarkKeller
    @1MarkKeller 6 років тому +5

    *GARY!!!*
    *Good Morning Professor!!!*

  • @GreatestAlive29
    @GreatestAlive29 5 років тому +13

    When i go into settings it doesnt let me change anything, like it wont let me press ok

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

      I am having the same problem. Were you able to figure it out?

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

      @@mendetnaturallyskincare9665 you have to activate amd-v in bios settings

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

      D34TH or VT-x

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

      @@d34th7 and how?

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

      @@mendetnaturallyskincare9665 just download the same version as him virtualbox 5.2 not the latest one. ive been facing the same issue but it has been resolved now.

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

    Great Video, subbed

  • @sopa6227
    @sopa6227 5 років тому +3

    Great video ! :)

  • @swandive46
    @swandive46 Рік тому +1

    When I try this, it just loads me directly into a temporary environment, with no option to install Linux.

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

    Thank you Gary! =)

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

    you saved me thank you so much! you should make an updated version also!

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

    Smashingly clear, Gary-thanks!

  • @BharatSingh-sk8fs
    @BharatSingh-sk8fs 6 років тому

    gud job gary!!! tnks for the help

  • @uttamchandra9726
    @uttamchandra9726 6 років тому +4

    Yesssssss !!!! 1st view !!!! 1st like and 1st comment !!!!!! Very good evening to library of knowledge !!!!!! Very good evening professor !!!!!!!

  •  4 роки тому

    Guys if you had problem with mouse or keyboard, dont forget install extension pack! ;)

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

    Such a helpful video

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

    So, In order to run if your PC supports AMD-v or VT-x (depending on ur processor): turn it on in ur bios then run the VM

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

    Great video wow nice

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

    Thanks Gary !

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

    @7:13 Resizing the ubuntu desktop window didn't work fo rme. The outer virtual box window did, but not the ubuntu window manger box inside.

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

      imagine using ubuntu

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

    I have a message saying : failed to open a session for the virtual machine ubuntu . Any idea why??

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

    Thanks for the video. If you want to have a VPN running on Ubuntu, do you add that directly to Ubuntu, or can you do that from Windows? Sorry if that is a dumb question

  • @LetsGo-yo2ce
    @LetsGo-yo2ce 4 роки тому +3

    6:00 when the jet engine sound started ..... my jet engine sound started during installation... pissed of with these sound.

  • @b...3710
    @b...3710 3 роки тому

    Thank you very much 👏👏

  • @swschilke
    @swschilke 6 років тому +1

    Should'n you install the Extension Pack as well after installing VirtualBox

    • @XulTaiff
      @XulTaiff 5 років тому

      Whats the extention pack ?

  • @venkataravieluri9625
    @venkataravieluri9625 6 років тому

    Hey Gary, Why did you skip the folders sharing and copy pasting between the host and guest?

  • @XulTaiff
    @XulTaiff 5 років тому +1

    After i launch Ubuntu with VB it gets stock on the black screen just loading do i just wait? . Ive installed and uninstalled several times to get pass the screen thats said unbutu just loading . Am i just not being patient info t0 wait ? Lmk please

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

      can i have the link where have you downlowded Ubuntu please.

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

      @@manelsouilmi598 just type unbuntu on google and you will see their first amin page and download the correct file for you operating system !

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

    Thanks great post but You missed out a step , what does please remove the installation medium then press enter mean. Because you pressed enter.
    I am only asking because I need to make my virtual box resizeable, it dafaults to fixed. And to fix it I have to select insert guests additions CD, and it complains that I cant insert a new CD, because its in there.

  • @bryncb
    @bryncb 6 років тому

    Thanks for the guide. Just a correction on the pronunciation of Ubuntu: the first syllable is the same as the first one in 'oorah' (as the yanks say). The emphasis is on the second syllable, as you're already doing, so the 'oo' sound is still said in the same amount of time it takes to say 'yoo' and with the exact same emphasis.

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

    Thank you , quiet good.

  • @gui.ribeiro
    @gui.ribeiro 4 роки тому

    I have a little issue in the options that make it not even boot. It's says that i have an invalid setting, which is the hardware acceleration, it is supposed to be disabled but it's enable and i can't turn it off.

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

    thanks sir.....helpful

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

    It says that i cant accept the configuration because the virtual machine in settings is activated and when i deactivate it it still does like if it was still activated

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

    When I try to run any youtube video in the VM, firefox crashes :(. Am I doing something wrong?

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

      Probably Your pc doesn't have enough power to do it
      I mean youtube uses ur computer's strenght
      And also Virtualbox uses alot of it

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

    I can't install the drivers for Linux somehow

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

    When setting memory size @2:00, does this give that RAM to the virtual machine indefinitely or just when VirtualBox is running?

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

    please help. error message: this file does not an app associated with it for performing this action. please install an app or if one is already installed, create an association in the default apps setting page

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

    Very accurate

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

    Esti din Romania?? salut frate :)

  • @strangertimes5555
    @strangertimes5555 6 років тому +3

    6:35 Bleachers

  • @32mace_
    @32mace_ 5 років тому +6

    6:00 Bucharest... I'm getting triggered

  • @AtharvaPathak28
    @AtharvaPathak28 6 років тому +1

    Can you send a link to the iso file for Fedora?

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

    The maximize button doesn't help me in maximizing the screen of my ubuntu 16.04 in VB. Any help!

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

    Thanks Mr Gary, i get this error when i hit start:
    Call to WHvSetupPartition failed: ERROR_SUCCESS (Last=0xc000000d/87) (VERR_NEM_VM_CREATE_FAILED).

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

    When i get to the part after instalastion where it tells you to restart, i click the restart button and it does not restart, it somewhat freezes, can somebody help me.

  • @muhammedadiljahfar5512
    @muhammedadiljahfar5512 6 років тому

    My fav Linux class...how r u Master Keller

  • @so-schauts-aus
    @so-schauts-aus 4 роки тому

    Hi, thanks for your information! I get this error message upon hitting Start on the VM: Kernel driver not installed (rc=-1908)
    The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please try setting it up again by executing
    '/sbin/vboxconfig'
    as root.
    If your system has EFI Secure Boot enabled you may also need to sign the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load them. Please see your Linux system's documentation for more information.
    where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.

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

    thank you

  • @prijeshkarki9696
    @prijeshkarki9696 6 років тому +1

    Thanks Alot

  • @Phynix72
    @Phynix72 6 років тому

    Previosly, I asked for Android apps natively on linux. You said 'soon', where is it ?

    • @GarySims
      @GarySims 6 років тому

      Shubham Patankar LOL... I don't remember saying that, but soon means with 12 months!

    • @Phynix72
      @Phynix72 6 років тому

      @@GarySims I could remind you. (I'm gonna comment there again)

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

      He's not forced to make the videos you request, you dumbass.

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

    When I got to the cd icon n choose nothing showing up any help ??

  • @VictorVargas_
    @VictorVargas_ 6 років тому

    Is it possible to set up for an external 3.0 drive it's own machine

  • @SamiUllah-xs3tm
    @SamiUllah-xs3tm 5 років тому

    the kernel requires an x86-64 cpu, but only detected a i686 cpu
    unable to boot - please use a kernel appropriate for your cpu....why????

    • @GaryExplains
      @GaryExplains  5 років тому

      Are you trying to boot a 64bit version of Ubuntu on a host running a 32-bit OS (32-bit Windows or 32-bit Linux)???

    • @SamiUllah-xs3tm
      @SamiUllah-xs3tm 5 років тому

      @@GaryExplains i have 64 bit window,,,trying to run 64 bit ubantu

    • @GaryExplains
      @GaryExplains  5 років тому

      @@SamiUllah-xs3tm Typed that error message into Google and the first result seems quite useful. askubuntu.com/questions/308937/cannot-install-ubuntu-in-virtualbox-due-to-this-kernel-requires-an-x86-64-cpu

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

    pls the site where you get the kali linux optical disk

  • @dogcreek-customs5168
    @dogcreek-customs5168 4 роки тому

    I built a AMD Ryzen, I see ubuntu-numbers-amd, along with Debian-number-amd what is the difference between that and the rest?

    • @dogcreek-customs5168
      @dogcreek-customs5168 4 роки тому

      I been using all versions of windows since their existences even dos before windows I dabbled into Linux slackware, mint, backtrack, ubuntu etc 15 to 20 years ago now I see the new stuff with amd, armhf with a few others what's the difference?

    • @dogcreek-customs5168
      @dogcreek-customs5168 4 роки тому

      Now since I built the AMD Ryzen common sense says to use the amd iso but I also have a MYIR SBC that uses armhf and I'm trying to rebuild the kernel of the old version which I didn't build now just trying to gain knowledge in it for my cnc plasma table I know it uses machinekit but just like to know the difference.

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

    Why does the desktop not maximise for me?

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

    this tutorial helped me, but i cant get an iso file! It only gave me a .deb file and that doesnt read! does anybody know where i can get an iso file?

  • @MrBobWareham
    @MrBobWareham 6 років тому

    I am lucky I have a Dell PRECISION M440 so have removed the cd cady and added a second hard drive and Linux best of both hold down F12 and I am in Linux

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

    Beuh I did this 70 times without toturials and it didn’t work and it still gives me errors even with this

  •  4 роки тому

    What it means to virtual memory??. Is it means RAM ???.

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

      I have a video about virtual memory here: ua-cam.com/video/2quKyPnUShQ/v-deo.html

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

    i keep getting issues when adding the iso file

  • @vishaljadhav-on7dc
    @vishaljadhav-on7dc 6 років тому

    Diff between interpreter and compiler

    • @GaryExplains
      @GaryExplains  6 років тому

      I think I cover that in this video: ua-cam.com/video/GI_V3yzVDtA/v-deo.html

    • @vishaljadhav-on7dc
      @vishaljadhav-on7dc 6 років тому

      Gary Explains got it.awesome✍️✍️ explanation.Thanks for help

  • @urosmilic3300
    @urosmilic3300 5 років тому

    thanks a lot :D

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

    Can anyone tell me which one is better? Hyper-v, Vmware or VirtualBox?

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

    Can I run the vm on my moto g stylus phone?

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

    anyone know where i can get the iso file? cant find it anywhere.

  • @robsolo37
    @robsolo37 6 років тому

    how many OS can you have in one virtual machine??

    • @GaryExplains
      @GaryExplains  6 років тому

      You mean like dual boot a virtual machine or do you mean can you setup multiple virtual machines in virtual box? If it is the latter then I don't know of an actual limit (there might be) but basically how much disk space you have. Running several machines simultaneously depends on how much memory you have and the power of your processor.

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

    can someone help i keep getting this error
    AMD-V is disabled in the BIOS (or by the host OS) (VERR_SVM_DISABLED).
    Result Code:
    E_FAIL (0x80004005)
    Component:
    ConsoleWrap
    Interface:
    IConsole {872da645-4a9b-1727-bee2-5585105b9eed}

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

      Idk if you still need this but you need to go bios and activate virtual machine

  • @ivankontra3446
    @ivankontra3446 5 років тому

    no bootable medium found...

  • @NO-FUTURE
    @NO-FUTURE 3 роки тому

    Song from 6:33 please xD

  • @fog1
    @fog1 5 років тому

    I can't open Ubuntu with anything. Can anyone help?

  • @adamnawaz
    @adamnawaz 6 років тому +2

    Early 😊

  • @create-jp2nd
    @create-jp2nd 2 роки тому

    where is disk file??

  • @Joeking1
    @Joeking1 6 років тому

    Can you do this on a Chromebook?

    • @GaryExplains
      @GaryExplains  6 років тому

      You can't do this exact thing on a Chromebook, but you can run Linux apps: ua-cam.com/video/k2J_1Zr-DDI/v-deo.html

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

    sorry I have knowed now how can I get it

  • @santi32r27
    @santi32r27 6 років тому +1

    I thinks it cool

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

    how can I get the iso file

  • @Gautam-tk8tf
    @Gautam-tk8tf 4 роки тому +1

    Are you like a computer professor or something?

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

    Dual boot

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

    Mac OS BigSur it will NOT work - not matter what I try

  • @awwwritro
    @awwwritro 6 років тому

    how do i download ubuntu iso

  • @smb4455
    @smb4455 5 років тому

    you don t tell us how to get ubuntu disk ico if you do a tuto to how install avirtual box and ubuntu do it right pls

    • @omecohq5860
      @omecohq5860 5 років тому

      just type ubuntu in google dude seriously he basically spoon fed everything already

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

    I cant seem to add the CD. I download the file but unable to attach it
    Failed to open the disk image file C:\Program Files\Oracle\VirtualBox\virtualbox-7.0_7.0.2-154219_Ubuntu_jammy_amd64 (2).deb.
    Could not get the storage format of the medium 'C:\Program Files\Oracle\VirtualBox\virtualbox-7.0_7.0.2-154219_Ubuntu_jammy_amd64 (2).deb' (VERR_NOT_SUPPORTED).
    Result Code:VBOX_E_IPRT_ERROR (0X80BB0005)
    Component:MediumWrap
    Interface:IMedium {ad47ad09-787b-44ab-b343-a082a3f2dfb1}
    Callee:IVirtualBox {7682d5eb-f00e-44f1-8ca2-99d08b1cd607}
    Callee RC:VBOX_E_OBJECT_NOT_FOUND (0X80BB0001)

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

    It is not automatically resizing the desktop of the Virtual Machine for me. I just have a black background around my small ubuntu desktop when maximizing the window. whats the issue here?

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

    Help me. It says something about Kernel Module not loading