Results 1 to 7 of 7

Thread: errors on Virtual box startup

  1. #1

    Default errors on Virtual box startup

    Background:
    This was done on Machine # 2 [in signature]
    Followed install instructs as per this link: [ty caf4926] using Yast.
    Used the 1st set of instructs labelled "EDIT --- Adding the easiest option for 11.3"
    Virtual Box (Sun Version) Install HowTo
    Had no visible problems.
    Created the virtual OS [WinXP] called Doze.
    I have not installed the OS yet, because I haven't got that far, before the troubles started.
    Do I need to do this before I START ?
    I get these two errors when I click on 'Start' in Virtual Box window:

    ImageShack® - Online Photo and Video HostingImageShack® - Online Photo and Video Hosting

    as suggested in the second error, I open a terminal and run /etc/init.d/vboxdrv setup
    This is the outcome:
    Code:
    labud@linux-2pci:~> su
    Password: 
    linux-2pci:/home/labud # /etc/init.d/vboxdrv setup
    Stopping VirtualBox kernel modules                                                                               done
    Uninstalling old VirtualBox DKMS kernel modules                                                                  done
    Trying to register the VirtualBox kernel modules using DKMS                                                      failed
      (Failed, trying without DKMS)
    Recompiling VirtualBox kernel modules                                                                            failed
      (Look at /var/log/vbox-install.log to find out what went wrong)
    linux-2pci:/home/labud #
    When I look at the log from that this is what is in the log:

    Makefile:159: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make$
    Not sure if I know where to go from here, why wouldn't it find the sources of my current linux kernel?
    Machine # 1 - Asus Prime Z390A, i7-9700k 3.6GHz, 32.0 GB ram, openSUSE Leap 15.0 64-bit, KDE Plasma 5.12.8
    Machine # 2 - Asus P8Z77-V Deluxe, i7-3770k 3.5GHz, 16.0 GB ram, opensuse Tumbleweed KDE Plasma 5.17.0

  2. #2
    Join Date
    Jul 2010
    Location
    Adelaide, Australia
    Posts
    963

    Default Re: errors on Virtual box startup

    Try installing the kernel sources. Run this as root (by doing su first)
    Code:
    zypper in -t pattern devel_kernel
    Then run
    Code:
    /etc/init.d/vboxdrv setup
    again
    Desktop: Gigabyte GA-Z270-HD3 - Core i7 7700K - openSUSE Leap 42.2 KDE
    Laptop: HP EliteBook 8770W - Core i7 3940XM - openSUSE Leap 42.2 KDE

  3. #3

    Default Re: errors on Virtual box startup

    ty ah7013
    Did these things and am now installing my OS in Virtual Box.
    I did not realize that my kernel sources were not installed.
    How would I have known that?
    Machine # 1 - Asus Prime Z390A, i7-9700k 3.6GHz, 32.0 GB ram, openSUSE Leap 15.0 64-bit, KDE Plasma 5.12.8
    Machine # 2 - Asus P8Z77-V Deluxe, i7-3770k 3.5GHz, 16.0 GB ram, opensuse Tumbleweed KDE Plasma 5.17.0

  4. #4
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,768

    Default Re: errors on Virtual box startup

    Easy read the log

    Makefile:159: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make$

  5. #5

    Default Re: errors on Virtual box startup

    THANKS for THAT gogalthorp

    my response to ah7013 was in earnest
    i did not know
    i did read the log and understood the words therein, but still do not comprehend that the sources were not installed.
    how could the sources not be there if the kernel is?
    Machine # 1 - Asus Prime Z390A, i7-9700k 3.6GHz, 32.0 GB ram, openSUSE Leap 15.0 64-bit, KDE Plasma 5.12.8
    Machine # 2 - Asus P8Z77-V Deluxe, i7-3770k 3.5GHz, 16.0 GB ram, opensuse Tumbleweed KDE Plasma 5.17.0

  6. #6
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,768

    Default Re: errors on Virtual box startup

    Don't need the source to have a running binary. You do need it to link a driver to the kernel. By default the source is not installed. Leaves more room on the media for other stuff. But if you install something that requires linking to the kernel then you need it. The error message said it could not find it. A big hint that maybe it might need installing.

  7. #7

    Default Re: errors on Virtual box startup

    Ok understanding a bit more

    ty
    Machine # 1 - Asus Prime Z390A, i7-9700k 3.6GHz, 32.0 GB ram, openSUSE Leap 15.0 64-bit, KDE Plasma 5.12.8
    Machine # 2 - Asus P8Z77-V Deluxe, i7-3770k 3.5GHz, 16.0 GB ram, opensuse Tumbleweed KDE Plasma 5.17.0

Tags for this Thread

Posting Permissions

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