Results 1 to 5 of 5

Thread: Virtualbox under 18.04

  1. #1
    Join Date
    Nov 2018
    Beans
    2

    Virtualbox under 18.04

    I have the same problem with VirtualBox, I used the comman dmesg and searched for/sbin/vboxconfig but there is no such directory as sbin or vboxconfig.
    Can someone please give me the command to install these directories, I'm new to linux.

    I downloaded my virtualbox from https://www.virtualbox.org/wiki/Downloads version 5.2.22,
    My OS is Ubuntu release 18.04.1 LTS (Bionic Beaver) 64 bit
    Kernel Linux 4.15.0-38-generic x86_64
    MATE 1.20.1
    Last edited by deadflowr; November 15th, 2018 at 09:57 PM. Reason: merged posts

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

    Re: Virtualbox under 18.04

    Moved to its own thread.

    Please don't hijack the threads of other users -- particularly old ones. Hijacking causes confusion for the original poster, for anyone who tries to help -- and for you. Similar symptoms often arise from very different causes, so both you and the OP need individual help.

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

  3. #3
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Virtualbox under 18.04

    As I have no idea what your basic problem is, can you please give more details.

    I have VBox 5.2.22 direct from the repos available from the VBox site and that works very well for both Windows and Linux distro VMs.
    What are you having problems with; what does not work as you want?

  4. #4
    Join Date
    Nov 2018
    Beans
    2
    When I try to start my linuxmint-19-cinnamon-64bit-v2.iso virtual machiene on VirtualBox I get this,


    Failed to open a session for the virtual machine Linux Mint.

    The virtual machine 'Linux Mint' has terminated unexpectedly during startup with exit code 1 (0x1).

    Code:
    Result Code: NS_ERROR_FAILURE (0x80004005)
    Component: MachineWrap
    Interface: IMachine {85cd948e-a71f-4289-281e-0ca7ad48cd89}

    And this,

    Code:
    Kernel driver not installed (rc=-1908)
    
    The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing
    
    '/sbin/vboxconfig'
    
    as root.
    where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.

    When I run the command I get

    Code:
    :~$ sudo /sbin/vboxconfig
    [sudo] password for jak: 
    vboxdrv.sh: Stopping VirtualBox services.
    vboxdrv.sh: Starting VirtualBox services.
    vboxdrv.sh: Building VirtualBox kernel modules.
    vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.
    
    There were problems setting up VirtualBox.  To re-start the set-up process, run
      /sbin/vboxconfig
    as root.
    And I cant find /sbin/vboxconfig in dmesg,
    if that even what i'm supposed to be doing for this
    Last edited by deadflowr; November 15th, 2018 at 09:58 PM. Reason: merged posts; added code tags

  5. #5
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: Virtualbox under 18.04

    OK. I suggest you remove whatever version of VirtualBox you have now and follow this procedure to install the version in the Oracle repository: https://www.virtualbox.org/wiki/Linu...xdistributions

    VB needs to install a kernel module which must be compiled from source each time the software is installed or updated. You likely don't have the required infrastructure (the gcc compiler, the dkms module manager, etc.) on your machine. The version at Oracle will automatically download all such "dependencies" it needs and will compile and install the module. Future updates to VB will be managed just like all other updates to your machine's software as well.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

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
  •