Vboxdrv kernel module is not loaded CentOS Troubleshooting

September 21, 2023 | By the+gnu+linux+evangelist.

Solving “vboxdrv kernel module is not loaded” in CentOS

Hi! This Guide Try to Solve “vboxdrv kernel module is not loaded” in CentOS GNU/Linux Desktop.

This Issue is usually due to two possible Factors:

  • System Not Update prior to VirtualBox Setup
  • Kernel Not Supported

Finally, this Setup is Valid also for All the others Red Hat Linux Based Distros like:

  • Red Hat Enterprise Linux
  • Oracle Enterprise Linux
  • Rocky Linux
  • AlmaLinux
vboxdrv kernel module is not loaded
  1. 1. Terminal Getting-Started Guide

    How to QuickStart with Command Line on CentOS GNU/Linux:

    Console CentOS QuickStart Guide
  2. 2. Installing Dependencies

    Then to Install Required Software
    Run:

    sudo dnf groupinstall "Development Tools"
    And again:
    sudo dnf install dkms kernel-headers kernel-devel
    Authenticate with the User Admin Pass.
    If Got “User is Not in Sudoers file” then see: How to Enable sud.
    Only in case of Not found matching Kernel Headers, then try to Update the System with:
    sudo dnf update
    And in any case then to Reboot:
    sudo reboot
  3. 3. Disabling Secure Boot

    Now to Disable Secure Boot
    Enter BIOS:

    Disable secure boot
    But if you don’t Know how first see: How to Enter BIOS Guid.
  4. 4. Installing Kernel Module

    Now to Install Missing Kernel Module for CentOS
    Simply play:

    sudo /sbin/vboxconfig
    Or else:
    sudo /sbin/rcvboxdrv setup
    The Latest Kernels may Not be Supported…
    And so for instance, at the Time of writing, if you dispose of a Kernel 6.4+ you may be forced to see: How to Downgrade Kernel Guid.

QuickChic Theme • Powered by WordPress