VirtualBox 6.1.28 / 6.1.29 on Fedora 35/34/33, CentOS/RHEL 8/7 - Comment Page: 25

Oracle VirtualBox is a powerful x86 and AMD64/Intel64 virtualization product for enterprise as well as home use. VirtualBox is a general-purpose full virtualizer for x86 hardware. Targeted at server, desktop and embedded use, it is now the only professional-quality virtualization solution that is also Open Source Software. Check video guide howto install VirtualBox 6.1.28/6.1.29 on Fedora 35/34/33 using .run installer: Check video guide howto install VirtualBox 6.1.28 on Fedora 34/33 using Oracle's own dnf repo: Watch More Videos and Subscribe to if-not-true-then-false.com Youtube Channel VirtualBox supports a large number of guest operating...

810 comments on “VirtualBox 6.1.28 / 6.1.29 on Fedora 35/34/33, CentOS/RHEL 8/7 - Comment Page: 25

1 23 24 25 26 27
    1. Hi, running this command works for me:

      yum install gcc

      Thanks.

      Reply
      • Hi Arnel,

        Check step 4. gcc is installed as dependency on there.

        Reply
    2. Any reason step 5 omits Fedora 31?

      Reply
      • Hi Thinux,

        No, sorry, it’s typo. Updated the guide.

        Reply
    3. You sir, are a gentlemen and a scholar (assuming you’re male that is). I’ve been banging my head on the desk for a day now trying to get the silly kernel modules to install on Fedora 31 on kernel 5.4.8-200. Unfortunately, the most recent headers released were for 5.4.7-200, and my system just didn’t want to use them.

      I had installed just by downloading the .rpm and doinf a ‘dnf localinstall rpm.file’. It all installed great, but just wouldn’t start new machines w/o those modules compiled and installed.

      Following your guide worked like a champ! It even found and upgraded my current VirtualBox install, and the modules compiled flawlessly.

      I buy you many virtual beers sir!

      Reply
    4. how to install virtualbox on Fedora rawhide? thanks

      Reply
    5. I have found that with CentOS 8 (streaming) the proper KERN_DIR is given by the same command as Fedora.

      The -`uname -m` at the end is not needed.

      Reply
      • Hi Jack,

        You are totally right. I updated this guide, thanks.

        Reply
    6. excellent setup notes. thanks a ton to you. may god bless you for your kindness towards novices like me.

      Reply
    7. Signing vbox kernel modules should be described here.
      This is 2020 after all.
      So far I have to go without signing because I have no clue.

      Reply
    8. Thank you! This was very helpful for setting up virtualbox with centos 8.

      Reply
    9. Please when I get to step :

      ## CentOS/RHEL 8 ##
      dnf install binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel dkms

      I get The following error

      See all steps that I follows on Centos 8

      [[email protected] ~]# cd /etc/yum.repos.d/
      [[email protected] yum.repos.d]# wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo
      –2020-05-15 22:14:12– http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo
      Resolving download.virtualbox.org (download.virtualbox.org)… 23.210.36.138
      Connecting to download.virtualbox.org (download.virtualbox.org)|23.210.36.138|:80… connected.
      HTTP request sent, awaiting response… 200 OK
      Length: 259 [text/plain]
      Saving to: ‘virtualbox.repo.3’

      virtualbox.repo.3 100%[=======================================================================>] 259 –.-KB/s in 0s

      2020-05-15 22:14:12 (27.6 MB/s) – ‘virtualbox.repo.3’ saved [259/259]

      [[email protected] yum.repos.d]# yum update
      created by dnf config-manager from https://download.virtualbox.org/virtualbox/6.0.12/VirtualBox-6.0-6.0.12_133076_el8 3.5 kB/s | 6.9 kB 00:01
      Failed to download metadata for repo ‘download.virtualbox.org_virtualbox_6.0.12_VirtualBox-6.0-6.0.12_133076_el8-2.x86_64.rpm’
      Error: Failed to download metadata for repo ‘download.virtualbox.org_virtualbox_6.0.12_VirtualBox-6.0-6.0.12_133076_el8-2.x86_64.rpm’
      [[email protected] yum.repos.d]# rpm -qa kernel |sort -V |tail -n 1
      kernel-4.18.0-147.el8.x86_64
      [[email protected] yum.repos.d]# uname -r
      4.18.0-147.8.1.el8_1.x86_64
      [[email protected] yum.repos.d]# dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
      created by dnf config-manager from https://download.virtualbox.org/virtualbox/6.0.12/VirtualBox-6.0-6.0.12_133076_el8 2.5 kB/s | 6.9 kB 00:02
      Failed to download metadata for repo ‘download.virtualbox.org_virtualbox_6.0.12_VirtualBox-6.0-6.0.12_133076_el8-2.x86_64.rpm’
      Error: Failed to download metadata for repo ‘download.virtualbox.org_virtualbox_6.0.12_VirtualBox-6.0-6.0.12_133076_el8-2.x86_64.rpm’
      [[email protected] yum.repos.d]# dnf install binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel dkms
      created by dnf config-manager from https://download.virtualbox.org/virtualbox/6.0.12/VirtualBox-6.0-6.0.12_133076_el8 4.0 kB/s | 6.9 kB 00:01
      Failed to download metadata for repo ‘download.virtualbox.org_virtualbox_6.0.12_VirtualBox-6.0-6.0.12_133076_el8-2.x86_64.rpm’
      Error: Failed to download metadata for repo ‘download.virtualbox.org_virtualbox_6.0.12_VirtualBox-6.0-6.0.12_133076_el8-2.x86_64.rpm’

      Reply
    10. Very useful article!!!
      I have sold all the problems with VBox guest additions on centos 8.
      Many thanks to the author!

      Reply
    11. It works !! I was getting upset because I couldn’t solve a VirtualBox error, but I follow your step and it works!

      Reply
    12. [[email protected] yum.repos.d]# /usr/lib/virtualbox/vboxdrv.sh setup
      vboxdrv.sh: Stopping VirtualBox services.
      vboxdrv.sh: Starting VirtualBox services.
      vboxdrv.sh: Building VirtualBox kernel modules.
      vboxdrv.sh: failed: Look at /var/log/vbox-setup.log to find out what went wrong.

      Reply
      • Sorry. The above after following the instructions here. Fedora 32 Workstation.

        kernel 5.8.4-200.fc32.x86_64

        Reply
    13. I just want to say that I was at the end of my wits with this issue until I terminated these commands exactly into CentOS 8 and now my VMs boot up, so thank you very much

      Reply
    14. Could you please advise on how to install VirtualBox in Fedora 33?

      Reply
      • Hi Brian,

        Until Oracle publish their official Fedora 33 repo you can use Fedora 32 builds, install latest version with following command:

        dnf install http://download.virtualbox.org/virtualbox/rpm/fedora/32/x86_64/VirtualBox-6.1-6.1.16_140961_fedora32-1.x86_64.rpm

        Then follow this guide normally.

        Reply
    15. Sending you a big thank you from Austria. This article is so damn helpful.

      Reply
1 23 24 25 26 27

Leave a Reply to JR Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Close