How to Install Ubuntu 20.04.2.0 LTS on a Mac using VirtualBox (2021 Version)

Поделиться
HTML-код
  • Опубликовано: 28 янв 2025

Комментарии • 144

  • @christopherhanel8743
    @christopherhanel8743 3 года назад +17

    You saved me hours of searching how to fix these errors. Thank you very much, great video 👍

  • @nickprender
    @nickprender 3 года назад +7

    Found a solution to the fullscreen problem on reddit. Worked for me but run at your own risk.
    sudo apt-get install virtualbox-dkms
    sudo apt-get install virtualbox-guest-dkms
    sudo apt-get install virtualbox-guest-x11

    • @christophercastro6078
      @christophercastro6078 3 года назад +1

      Take my like. This is what I needed since what was on the video did not get the job done for me. Thank you.

    • @davidhan6983
      @davidhan6983 3 года назад +1

      It finally worked. Thank you so much 👍

    • @MKTutorials4u
      @MKTutorials4u 3 года назад

      This works. Thank you very much

  • @chrisbell1878
    @chrisbell1878 3 года назад +3

    Thanks, Benjamin. That hint about entering the iso as the optical disk was great. I hadn't seen that anywhere else!

  • @chocolatedippedcat
    @chocolatedippedcat 3 года назад +3

    Omg every video I've watched, they've never gone through the error/abort thing that pops up. THANK YOU SO MUCH. I'VE BEEN TRYING TO FIGURE OUT WHY IT WOULDNT WORK ALL WEEKEND.

  • @pelumiogunmodede8461
    @pelumiogunmodede8461 3 года назад +2

    Thank you so much Benjamin, this video actually saved me a lot of stress. I like how you went into detail on it, thank you once again.

  • @harshitarawat8941
    @harshitarawat8941 3 года назад +1

    this tutorial saved me so much of headache I cannot thank you enough. 🙌🏽🙌🏽

  • @vinikulkarni
    @vinikulkarni 3 года назад

    I was facing the NS_ERROR_FAILURE like for 2 hours and trying the fu** out like dead. No idea what that even means. It has something to do with OS Big sur and kernel extensions.
    But there you go, simple solution using virtual CD I MEAN LOOL.
    thanks you so much mate. You just got a new subscriber:)

  • @soniahazy4880
    @soniahazy4880 3 года назад +1

    Thank you Benjamin's Tech I really needed this tutorial, i've been in panic mode. Problem soloved. And now that it actually works. I love it. Thanks Again💫👌🏼

  • @tolga1292
    @tolga1292 3 года назад +3

    Perfect 👍 you are the only you who could help me out with this issue

  • @shuslee01
    @shuslee01 3 года назад +1

    Thank you sooooo much This is the only one I could fix the error!!

  • @rahulvenky
    @rahulvenky 3 года назад +2

    Great video. Thanks for doing this!

  • @giacoco2726
    @giacoco2726 Год назад

    it lets me do the installing and all, but when i have to restart, it doesnt let me click the buttom, like it is always loading the curson, ho can i restart without clicking anything?

  • @huy7021
    @huy7021 3 года назад +3

    Hello Benjamin, i did everything u said to make it full screen
    I typed in those 2 commands and did a restart, but it does not adjust to the window size. Do you have any tips how i can fix that?

    • @jagfradio
      @jagfradio 3 года назад

      I had the same issue, I installed "insert guest additions cd image" from the Devices menu.

  • @imranansari4174
    @imranansari4174 3 года назад +1

    Hello sir, When I downloaded ubuntu 20.04 and installation showing is this desk no mountable files system then what shall I do please help....

  • @Juan-dd9hv
    @Juan-dd9hv 3 года назад

    thanks great video and I also got some issues but the video was super helpful

  • @saivijithdasireddygari2812
    @saivijithdasireddygari2812 2 года назад

    It is showing an error like The installer has detected an
    unsupported architecture. VirtualBox
    only runs on the amd64 architecture.

  • @HG-qo9cx
    @HG-qo9cx 3 года назад +1

    Great video. Very comprehensible.

  • @Alex-lf7tb
    @Alex-lf7tb 3 года назад

    Thank you so much!! Amazing tutorial, keep it up!

  • @rockj8197
    @rockj8197 2 года назад +1

    Thank you for this video. My Ubuntu view windows on my macbook is tiny. I can drag the window bigger but the view stays the same, small view. and I can only see to halfway down the Continue button and cannot scroll farther down. Any thoughts how to get this looking like your window?

  • @it-0264
    @it-0264 3 года назад +1

    Thank you, bro, you really help me

  • @matthiasmaiwald8236
    @matthiasmaiwald8236 3 года назад +2

    Hello! Really nice and instructive video. Thank you so much! However, I encountered a problem. I wanted to preserve my Mac OS installation on the internal SSD and created an external USB 3-connected cloned SSD boot drive with my Mac OS (10.14 Mojave) on it. I booted from this, installed Virtual Box, managed to point it to the ISO file (your video 15:28) and then started the green arrow (at 15:39). But then I got a black terminal window with following error message: "FATAL: No bootable medium found! System halted." I tried the VB installation with and without the Extension pack. Do you have any idea how to overcome this? Could this be an error due to the booting from the external drive? Does VB perhaps not recognise the USB connection of the boot drive?

    • @matthiasmaiwald8236
      @matthiasmaiwald8236 3 года назад

      Ok. Partial success. I went back, installed a new virtual machine in VB, and this time, at the point of setting it up, enabled USB 3 support. In the previous installation, this option was greyed out after the initial installation, and it was no longer possible to enable USB 3 support in the "ports" setting. Now, Ubuntu installs.

  • @Manny94G
    @Manny94G 3 года назад +1

    awesome video, thank you!

  • @bobkurland186
    @bobkurland186 2 года назад

    when I tried to add the guest addition it said it couldn't be found! But thanks for an informative and helpful video..the rest of the installation went well.

    • @pay44
      @pay44 2 года назад

      How you solve that problem, can you help?

  • @darkknight9668
    @darkknight9668 3 года назад

    Can't seem to create a virtual hard disk, becase is shows "empty" unlike on this video "Windows 10.vdi (Normal, 128.00 GB)"

  • @HasanTahirAbbas
    @HasanTahirAbbas 3 года назад +1

    Thank you for explaining the process in an easy to follow manner. After installing Ubuntu 20.04.2.0 LTS on a Macbook Pro running MacOS Big Sur 11.3.1, I cannot make the Ubuntu terminal running especially the `apt` and `apt-get` commands to install new packages (Failed to fetch prompt). Surprisingly I can ping to an an IP address just fine. Any ideas? I have tried to unsuccessfully change the mirrors.

  • @shikhagupta877
    @shikhagupta877 10 месяцев назад

    Hi! I can install ubuntu just fine on vbox 7, but after I start it, it show the purple screen(before ubuntu is installed on the host machine) and then shows this error:
    You must specify a machine to start, using the command line.
    Usage: VirtualBoxVM --startvm <name|UUID>
    Starts the VirtualBox virtual machine with the given name or unique identifier (UUID).

  • @gegao9066
    @gegao9066 3 года назад +2

    awesome video! However after I did the 2 commands, I am still not able to copy and paste bidirectional. Also the auto screen resize is not working for me

    • @wongbernard1896
      @wongbernard1896 3 года назад +1

      I am having the same problem. The auto screen resize is not working for my MacBook as well.

    • @wongbernard1896
      @wongbernard1896 3 года назад +1

      Hi... I fixed this issue by adding a command in the terminal: sudo apt-get install virtualbox-guest-utils
      Maybe this is useful for others as well.

    • @davidgrundfest9176
      @davidgrundfest9176 3 года назад

      @@wongbernard1896 Yes thank you, your comment saved me from going insane

  • @Phoer20
    @Phoer20 3 года назад

    agreed, no one else knows how to get around those errors

  • @mellyhopper83
    @mellyhopper83 3 года назад +1

    Really useful, perfect, thanks.

    • @mellyhopper83
      @mellyhopper83 3 года назад

      Knowing how to get the viewer to show correctly: GOLD.

  • @vanik2428
    @vanik2428 3 года назад

    Hi i am getting this error while starting ubuntu
    Kernel driver not installed (rc=-1908)
    Make sure the kernel module has been loaded successfully.
    where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.
    could u please tell how i can overcome from this error

  • @diegoalejandroportelacassa8310
    @diegoalejandroportelacassa8310 3 года назад +1

    Man, somehow when I try to run sudo apt install build-essential dkms I get the following: unable to locate package build-essential. Are there any solutions to these through the installations? I followed all of your steps until the problem I get.

  • @hofitroy1
    @hofitroy1 3 года назад

    full screen method isn't working..

  • @abdulghaneeylawal1198
    @abdulghaneeylawal1198 3 года назад

    It's showing a Kernal Error what should I do?

  • @aubbrilyn
    @aubbrilyn 3 года назад +1

    You are my hero.

  • @JaydenLawson
    @JaydenLawson 2 года назад

    Great tutorial, thanks.

  • @viamactress
    @viamactress 3 года назад

    smooth install. thanks!

  • @karishmabrahma3376
    @karishmabrahma3376 3 года назад +1

    In the last step it's asking for password what should I do I am typing the password but it's not showing up on the screen

    • @BenjaminsTech
      @BenjaminsTech  3 года назад

      Should be the password you made in the setup.

    • @mathewkshibu7329
      @mathewkshibu7329 3 года назад

      Same for me brother.Plzz help me to over come this

  • @saturekkesc
    @saturekkesc 2 года назад

    Thx helped so much

  • @kyawminnaing5676
    @kyawminnaing5676 3 года назад +1

    Hi Benjamin, i cannot access to full screen even after I install the guest CD

    • @BenjaminsTech
      @BenjaminsTech  3 года назад +1

      Follow the new way at the end of this video. Have to install everything from terminal now.

    • @kiliankramer3055
      @kiliankramer3055 3 года назад +3

      I had the problem (after I installed both commands via terminal)
      -> go to view -> click scaled mode
      (does switch from full screen to scaled mode on)

    • @abbefrick
      @abbefrick 3 года назад

      @@kiliankramer3055 I have the same issue, but I still get a very small window in fullscreen mode

    • @abbefrick
      @abbefrick 3 года назад +1

      Followed the second answer from this askubuntu.com/questions/573596/unable-to-install-guest-additions-cd-image-on-virtual-box which made it work for me.

  • @jeffhuang2518
    @jeffhuang2518 3 года назад +1

    Thank you so much

  • @evrem813
    @evrem813 3 года назад

    i did the exact same as you but i still get this error

  • @ForeverELF87
    @ForeverELF87 3 года назад

    my VM is having a problem everytime when i update software for mac & i have to reinstall everything again

  • @adobeppro
    @adobeppro 3 года назад

    Thank you!

  • @tigercub1965
    @tigercub1965 3 года назад

    would this tutorial work on a Mac OS Monterey 12.1?

  • @johnmama8896
    @johnmama8896 2 года назад

    It works gaming laptop I have msi

  • @tobeyparker3160
    @tobeyparker3160 3 года назад

    Is there any way to speed up the performance? It seems to have a really low fps even with 3D acceleration checked and the other guest additions and video memory applied. My macbook pro has considerably good specs so I'm just wondering what else could affect its performance.

  • @MiniShowProductions
    @MiniShowProductions 3 года назад

    Ben mine crashes when i click start i don't get the option to load the ISO and still crases if ii manually load the ISO like you show every time I click start it crashes ;(

    • @BenjaminsTech
      @BenjaminsTech  3 года назад

      That’s strange. Can you see what the error message says. Might be kernel driver instead of NS error. If it is, the system preferences way should fix it.

  • @sergeybotya6633
    @sergeybotya6633 2 года назад

    Thanks a lot!

  • @lanfangyu2636
    @lanfangyu2636 3 года назад

    When I was trying to install Virtualbox on my Mac(with M1 pro Chip),it didn't work and said " Virtualbox only run on the amd64 architecture"...so what could I do?

    • @BenjaminsTech
      @BenjaminsTech  3 года назад

      Nothing you can do unless virtualbox gets updated. You could use parallels instead. It’s paid though.

  • @shanoorahmed2576
    @shanoorahmed2576 3 года назад

    I keep getting an error: The hardware virtualization is enabled in the Acceleration section of the........ i tried disabling the hardware virtualization, but it still doesn't work. Is it because of the m1 processor?

    • @BenjaminsTech
      @BenjaminsTech  3 года назад

      It probably is because of M1.

    • @shanoorahmed2576
      @shanoorahmed2576 3 года назад

      @@BenjaminsTech is there any alternative i can use?

    • @BenjaminsTech
      @BenjaminsTech  3 года назад +2

      I believe parallels is the only vm software that has M1 support at the moment. It is paid though. You can do it in Virtualbox with a 32 bit iso I think.

  • @farmerbosse
    @farmerbosse 3 года назад

    thx for a nice vid. my guest settings didnt work though... my screen dosnt ajust like expected?

    • @BenjaminsTech
      @BenjaminsTech  3 года назад

      Make sure to put the commands in the terminal to install guest additions.

  • @babifonseca2502
    @babifonseca2502 2 года назад

    There are some people complaining about the M1… is it possible to use in the same way?

    • @BenjaminsTech
      @BenjaminsTech  2 года назад +1

      This will not work on m1. You have to use parallels.

  • @joncruz
    @joncruz 3 года назад

    Same NS error on macOS Monterey, no way to make it work even trying your fix.

    • @BenjaminsTech
      @BenjaminsTech  3 года назад

      Update to the latest version of virtualbox. Unless you on an M1 Mac.

    • @joncruz
      @joncruz 3 года назад

      @@BenjaminsTech I fixed, uninstalled it using the command that comes with the application and reinstalled again with the correct permissions.

  • @DaniIhzaFarrosi
    @DaniIhzaFarrosi 3 года назад

    Error: system: acceleration: page: The hardware virtualization is enabled in Acceleration settings section of the System page although it is not supported by the host system page. It should be disabled in order to start the Virtual system.
    I can't change the option because it has this. Anyone with the same problem? I'm on M1 Macbook Pro

    • @BenjaminsTech
      @BenjaminsTech  3 года назад

      This is an m1 specific problem. Nothing can be done about it at the moment.

  • @machinelearning9135
    @machinelearning9135 3 года назад

    full screen still does not work :(

    • @BenjaminsTech
      @BenjaminsTech  3 года назад

      Even after installing the guest additions and doing a restart?

    • @yassver
      @yassver 3 года назад

      me too, did you get it to work?

  • @minzheng3578
    @minzheng3578 3 года назад

    Can you fix the invalid settings detected: the system:acceleration page? It would not go away after I unchecked Enable Nested Paging. This prevents me to click ok to finish setting.

    • @BenjaminsTech
      @BenjaminsTech  3 года назад

      Something is causing it to show up. Have to change settings until it goes away. Maybe 3D acceleration?

    • @Odunayoo
      @Odunayoo 3 года назад

      @@BenjaminsTech I'm getting this same invalid settings detected error, how to fix please?

    • @Odunayoo
      @Odunayoo 3 года назад

      Min Zheng were you able to fix this error?

    • @observermanj8904
      @observermanj8904 3 года назад +1

      @@BenjaminsTech bro, i've been stuck on this for over an hour haha can you please tell us what we can do for this error! I've looked all over google and youtube but no answers!

    • @BenjaminsTech
      @BenjaminsTech  3 года назад

      I think this is an m1 problem. Virtualbox isn’t supported yet.

  • @edthom2210
    @edthom2210 3 года назад

    Isn’t Virtual Box only for Mac Intel chip?

  • @HG-qo9cx
    @HG-qo9cx 3 года назад

    I have one question:
    After I have downloaded guest my screen will still not resize. What do I do ?

    • @anonymousperson9226
      @anonymousperson9226 3 года назад +4

      it happened with me also. so what I did is click "devices" from the menu bar and then clicked "insert guest additions cd image" it solved my problem.

    • @mohammedzain6524
      @mohammedzain6524 2 года назад +1

      @@anonymousperson9226 you are a legend

  • @aps.007
    @aps.007 3 года назад +1

    does it work with m1?

    • @BenjaminsTech
      @BenjaminsTech  3 года назад

      Maybe. I know Windows 10 does not. Parallels is the only VM software that works with M1.

  • @steveshuffle
    @steveshuffle 3 года назад

    this is great but it won't work with M1 Macbooks... :/

    • @BenjaminsTech
      @BenjaminsTech  3 года назад

      Yea that’s the only problem right now. Hopefully they working on an update.

  • @abhilashshathwar7384
    @abhilashshathwar7384 3 года назад +1

    M1 Mac?

  • @paramkhurana5578
    @paramkhurana5578 3 года назад

    Thanks for sharing😊 How can I access my Wi-fi in Ubuntu using Virtual Machine on Mac? As I can only see the ethernet connection but, for wifi it is showing ''no wifi adapter found'. Would appreciate your help!

    • @BenjaminsTech
      @BenjaminsTech  3 года назад +1

      It is on WiFi. Just shows as wired in a vm. Whatever WiFi your computer on is what the vm is on.

  • @SamiKhan-pl5eb
    @SamiKhan-pl5eb 2 года назад

    will this work on m1 pro ? or the silicon m1 chip macbooks ?

  • @rusO_16
    @rusO_16 3 года назад

    This doesn't work on M1 macs, right?

  • @bpeti96
    @bpeti96 3 года назад

    Still not working

  • @chocolatedippedcat
    @chocolatedippedcat 3 года назад

    I typed in the last two commands, which should hypothetically allow ubuntu to go into full screen right? Do I need to restart/reset anything or can i just power off and power back on Ubuntu?

  • @ZiadQulaghassi
    @ZiadQulaghassi 3 года назад

    Is his mac the M1 chip?

  • @陳逸靜-e4c
    @陳逸靜-e4c 3 года назад

    Hi Banjamin,
    I have a question hope you can help.
    why VirtualBox only showing 32 bit and no 64 bit versions ?

    • @BenjaminsTech
      @BenjaminsTech  3 года назад

      Because you’re on an M1 Mac probably.

    • @gouravmohanty6956
      @gouravmohanty6956 3 года назад

      @@BenjaminsTech Can't we run virtual box on Mac M1?

    • @BenjaminsTech
      @BenjaminsTech  3 года назад

      Kind of. Virtual box doesn’t support M1 yet. Will get lots of errors and only run 32 bit.

  • @abhinavdipu6807
    @abhinavdipu6807 3 года назад

    Which processor is it? Apple m1 chip??

    • @BenjaminsTech
      @BenjaminsTech  3 года назад +1

      Not M1. M1 isn’t supported with Virtualbox yet. This is a 2018 MacBook Air with the little intel 1.6ghz i5.

  • @anonymousperson9226
    @anonymousperson9226 3 года назад

    Hi there ! I successfully installed linux by watching your video and it worked great but recently after updating to MAC OS Monterey I am unable to open it. It's showing 2 errors, one is kernel driver not installed (rc=1908) VM driver not installed (I tried system preferences method but it didn't not work) and another error is failed to open a session for the VM. (I have Intel chip base model 2019 13" MBP). any tips how to get it work again ?

    • @BenjaminsTech
      @BenjaminsTech  3 года назад +1

      Yea Monterey has broken virtual box for me too.

  • @kevinapack
    @kevinapack 3 года назад

    thank u thank u

  • @anonymousperson9226
    @anonymousperson9226 3 года назад

    I have 2019 base model 13 inch MBP. 8 GB RAM 256 GB SSD.
    i installed ubuntu after watching your video but the system is lagging a lot. and also slow.
    at first I allocated 4GB RAM and 2 cores 30GB Storage but the system was really laggy. after that I allocated 5GB RAM 30GB storage and 3 cores but still not getting smooth performance. my fan is going crazy while using this.sometimes ubuntu becoming unresponsive for 2 mins. I have 21 GB storage left out of 30 GB. what to do ?

    • @BenjaminsTech
      @BenjaminsTech  3 года назад +1

      What about just 1 core and 2gb of ram? Might need more storage too. I have a video showing how to improve performance. It might help.

    • @anonymousperson9226
      @anonymousperson9226 3 года назад

      @@BenjaminsTech same. speed didn't increase that's why I had allocated 3 cores and 5 GB RAM. I might again start from beginning and allocate more disk storage.

  • @macmane1hunna
    @macmane1hunna 3 года назад

    thanks m8

  • @mayalee1539
    @mayalee1539 3 года назад +2

    Hi, thank you for sharing the video. My mac is M1 and big sur 11.5.2. Following your instruction, for setting up new disk page, it only shows the option of Ubuntu_64 for version instead of Ubuntu (64 bits). I'm not really sure if these 2 are the same.
    For setting up the video memory, I cannot save the amendment as it shows that I have invalid setting for system acceleration. The message is as follows: 'The hardware visualisation is enabled in the Acceleration section of System page although it is not supported by the host system. It should be disabled in order to start the virtual system'. I tried to disable nested paging, but the error message is still there. May I know how to fix this problem? Thank you.

    • @Purisen.
      @Purisen. 3 года назад +1

      I have the same issue :(

    • @mayalee1539
      @mayalee1539 3 года назад +1

      @@Purisen. I think I just saw one comment below, it seems that Virtualbox does not support M1

    • @BenjaminsTech
      @BenjaminsTech  3 года назад +1

      Yes those errors are all because of M1. Parallels and VMware are currently the only vm softwares that support m1.

    • @mayalee1539
      @mayalee1539 3 года назад

      @@BenjaminsTech can we install Ubuntu directly without Virtualbox?

    • @BenjaminsTech
      @BenjaminsTech  3 года назад

      Yea you could probably dual boot it. I’ve never tried it though.

  • @kinjplayrecords4450
    @kinjplayrecords4450 3 года назад

    Is this working for mac m1

    • @BenjaminsTech
      @BenjaminsTech  3 года назад

      Kinda. You can usually only do 32 bit on m1. Might have other problems too since Virtualbox isn’t supported.

    • @shockshockshocks
      @shockshockshocks 3 года назад

      @@BenjaminsTech what if we try to use with rosetta2?

    • @BenjaminsTech
      @BenjaminsTech  3 года назад +1

      Yea that’s what I mean. It might be glitchy since it’s running on Rosetta

    • @shockshockshocks
      @shockshockshocks 3 года назад

      @@BenjaminsTech aaah i see. i will try it. then will write feedbacks. then the other guys can have my advice :)

  • @mohamedmimonasbai8563
    @mohamedmimonasbai8563 3 года назад

    New features:
    Updated kernel to 5.10.12

  • @j.._
    @j.._ 2 года назад

    Hey, after adding the iso file to the virtual machine storage, I still get the same error, "kernel driver not installed". Please help me

  • @reinaldoariaskasen5637
    @reinaldoariaskasen5637 2 года назад

    Thank you very much!

  • @Josh-oq9lk
    @Josh-oq9lk 2 года назад

    Thankyou so much