Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: No VM will boot.

  1. #1
    Join Date
    Jul 2024
    Beans
    10

    Exclamation No VM will boot.

    Hi. I'm running Kubuntu 24.04 LTS. I tried to start a VM of Windows 10 Home 22H2 on it and it returned this error.
    "Kernel driver not installed (rc=-1908)

    The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please reinstall virtualbox-dkms package and load the kernel module by executing

    'modprobe vboxdrv'

    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. "

    Anybody know how to fix this? Thank you.

    -TOWF

  2. #2
    Join Date
    Jun 2014
    Beans
    7,700

    Re: No VM will boot.

    What happened when you followed the instruction suggested in your error output?

    Code:
     modprobe vboxdrv
    Do you have Secure Boot enabled in the BIOS? Did you try turning it off to test? When you boot the computer and access the BIOS, did you check to see if virtualization is enabled? Exactly how to do this varies with manufacturer. On my HP it is under the Configuration tab but that varies by manufactuer so you will just have to take a look around your BIOS options.

  3. #3
    currentshaft Guest

    Re: No VM will boot.

    Why are you even using VirtualBox?

    https://virt-manager.org/

  4. #4
    Join Date
    Jul 2024
    Beans
    10

    Re: No VM will boot.

    "Why are you even using VirtualBox?

    https://virt-manager.org/"

    Idk, maybe it's because IT'S MY OWN PREFERENCE, and you should just STOP ADVERTISING THIS GARBAGE TO ME?

  5. #5
    Join Date
    Jul 2024
    Beans
    10

    Re: No VM will boot.

    "Do you have Secure Boot enabled in the BIOS? Did you try turning it off to test? When you boot the computer and access the BIOS, did you check to see if virtualization is enabled? Exactly how to do this varies with manufacturer. On my HP it is under the Configuration tab but that varies by manufactuer so you will just have to take a look around your BIOS options."

    I do have secure boot enabled, and I do have virtualization on. Also executing "modprobe vboxdrv" comes up with this message.
    Code:
    modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/6.8.0-38-generic

  6. #6
    Join Date
    Mar 2011
    Beans
    2,052

    Re: No VM will boot.

    Do you have the package virtualbox-dkms installed? That package provides the source code for the virtualbox kernel module to be
    build with dkms. Kernel sources or headers are required to compile this module. (i.e. build-essential, gcc, etc.).

  7. #7
    currentshaft Guest

    Re: No VM will boot.

    Quote Originally Posted by towf View Post
    "Why are you even using VirtualBox?

    https://virt-manager.org/"

    Idk, maybe it's because IT'S MY OWN PREFERENCE, and you should just STOP ADVERTISING THIS GARBAGE TO ME?
    Hilarious. Maybe you should learn to recognize what garbage software is before committing to an unhinged rant.

  8. #8
    Join Date
    Jul 2008
    Location
    The Left Coast of the USA
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: No VM will boot.

    Perhaps, currentshaft, you should be more circumspect in your approach to providing advice. Try a little less bile. Also, it is not our place to make any judgement about a user's preference. I don't use VirtualBox and have many reasons to recommend against it. I am happy to suggest better alternatives, such as KVM -- because it is rolled into the Linux kernel natively -- but in the end it is up to the user. VirtualBox is a useful, simple tool for those dipping their toes in VMs as they learn. Make recommendations. Don't be snide.

    towf, virt-manager is hardly garbage, nor is currentshaft advertising it. virt-manager is quite well respected and used often by those who use KVM and want a GUI for that purpose. It is not a commercial product, but a free and open-source tool. You can download the code if you want.

    Both of you, please take a breath.
    Last edited by QIII; July 14th, 2024 at 07:03 AM.
    Please read The Forum Rules and The Forum Posting Guidelines

    A thing discovered and kept to oneself must be discovered time and again by others. A thing discovered and shared with others need be discovered only the once.
    This universe is crazy. I'm going back to my own.

  9. #9
    Join Date
    Jul 2024
    Beans
    10

    Re: No VM will boot.

    "Do you have the package virtualbox-dkms installed? That package provides the source code for the virtualbox kernel module to be
    build with dkms. Kernel sources or headers are required to compile this module. (i.e. build-essential, gcc, etc.)."

    I tried running
    Code:
    sudo apt install virtualbox-dkms
    , however, it came up with a bunch of errors such as
    Code:
    Job for virtualbox.service failed because the control process exited with error code.
    See "systemctl status virtualbox.service" and "journalctl -xeu virtualbox.service" for details.
    

    and
    Code:
    Failed to start virtualbox.service - LSB: VirtualBox Linux kernel module.

    Last edited by towf; July 14th, 2024 at 02:10 PM.

  10. #10
    Join Date
    Mar 2011
    Beans
    2,052

    Re: No VM will boot.

    Hmmmm. I just did a clean install of virtualbox on a pretty fresh Ubuntu 24.04 Desktop without issue. Lets look at Software&Updates/UbuntuSoftware -- I have main/universe,restricted, and muiltiverse checked off. My gcc --version is 13.2, with the 6.8.0-38 kernel and headers. Any more clues from the suggested systemctl and journalctl commands suggested by the error? Ensure you have run sudo apt update and sudo apt upgrade before the install virtualbox.

Page 1 of 3 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •