Page 1 of 1
virtualbox-host-source kernel_devel
Posted: 24. Aug 2018, 10:37
by arnozorro
I want to install win10 within VB under opensuse linux 15. My guideline was
https://itsfoss.com/install-windows-10- ... box-linux/. The virtual disk ... .vdi and win10 ... .iso are together in one directory. When starting the VM in the VBManager in order to install win10 I got the message (in german):
For the VM no new session could be opened. The Virtual Box Linux kernel driver (vboxdrv is either not loaded or there is a permission problem
with /dev/vboxdrv. Please reinstall die kernel module be executing '/sbin/vboxconfig' as root
Doing just that did not work:
Code: Select all
linux-ayjm:~ # /sbin/vboxconfig
Sources for building host modules are not present,
Use 'sudo zypper install virtualbox-host-source kernel_devel' to install them. Quitting ..
linux-ayjm:~ # sudo zypper install virtualbox-host-source kernel_devel
Loading repository data...
Reading installed packages...
'kernel_devel' not found in package names. Trying capabilities.
No provider of 'kernel_devel' found.
Resolving package dependencies...
The following NEW package is going to be installed:
virtualbox-host-source
1 new package to install.
Overall download size: 964.4 KiB. Already cached: 0 B. After the operation, additional 4.8 MiB will be used.
Continue? [y/n/...? shows all options] (y):
Retrieving package virtualbox-host-source-5.2.18-lp150.4.14.1.noarch (1/1), 964.4 KiB ( 4.8 MiB unpacked)
Retrieving: virtualbox-host-source-5.2.18-lp150.4.14.1.noarch.rpm .......................................................[done (5.2 KiB/s)]
Checking for file conflicts: ........................................................................................................[done]
(1/1) Installing: virtualbox-host-source-5.2.18-lp150.4.14.1.noarch .................................................................[done]
Installation has completed with error.
linux-ayjm:~ #
Repeating the vboxconfig command resulted in the same error message.
Help how to get things running would be greatly appreciated.
Arno
Re: virtualbox-host-source kernel_devel
Posted: 24. Aug 2018, 11:24
by socratis
arnozorro wrote:Help how to get things running would be greatly appreciated.
Just
reading the actual error messages, would
greatly reduce your need to ask for help:
arnozorro wrote:Sources for building host modules are not present,
Use 'sudo zypper install virtualbox-host-source kernel_devel' to install them. Quitting ..
Re: virtualbox-host-source kernel_devel
Posted: 24. Aug 2018, 11:57
by arnozorro
Dear Socratis,
thank you for your speed reply. BUT: I am not able to understand it. Probably you mean that something in my post is not the way it should be. BUT WHAT???
I understand in the error message that the ...kernel_devel should be installed but was not found, neither by the program nor by myself afterwards.
Unfortunately I do not understand your message completely:
- What is it what you do not like in my post?
- What do you mena by 'These are virtual UUIDs, not real ones.'?
- Is there any additional information you would like to get from me?
- What can I do to get things running?
Thankfully
Arno
Re: virtualbox-host-source kernel_devel
Posted: 24. Aug 2018, 15:43
by socratis
Let me start form the last part; the part about obfuscating information, the part about Reply vs. Quote. Well that's my signature. It's not specifically aimed at your message, it's there in every single message of mine, right after the horizontal ruler.
About the "Kernel_devel not installed"... In order to use the VirtualBox modules, they have to be compiled. In order to compile them you need the kernel sources. You do not have the kernel sources installed on your host, so, you need to get them. It even gives you the command to use:
sudo zypper install virtualbox-host-source kernel_devel
User Manual ch.
2.3.2 The VirtualBox driver modules and
2.3.3 Performing the installation.
Re: virtualbox-host-source kernel_devel
Posted: 24. Aug 2018, 17:24
by arnozorro
Dear Socratis,
thank you for your patience.
1. On my system opensuse 15 virtualbox 5.2.18 has been installed using the tool YAST
automatically together with
- vb guest-source
- vb kmp-default
- vb host-source
2. On my system there are installed
- kernel-source
- kernel-syms
- gcc
- make
2. I did NOT find using the tool YAST
- kernel-uek-devel
- packages containing "header files" for your kernel (= ???)
3. It seems you have overlooked in my original post that I had done indeed what the system had proposed,
i.e.
Code: Select all
Use 'sudo zypper install virtualbox-host-source kernel_devel' to install them. Quitting ..
linux-ayjm:~ # sudo zypper install virtualbox-host-source kernel_devel
Having read the two paragraphs from the installation manual you have me directed to I do not know
- What have I overlooked?
- What should I do next?
Thankfully
Arno
Re: virtualbox-host-source kernel_devel
Posted: 24. Aug 2018, 17:37
by socratis
You're right, I'm sorry that I missed the command to get the kernel_devel. Oops...
If you installed VirtualBox using 'yast', you may have installed the fork of VirtualBox from the openSUSE repository, not the official one from
https://www.virtualbox.org/wiki/Linux_Downloads. I would suggest to remove what you have installed so far, and install the official one. See the instructions at the bottom of the link.
As for which kernel modules are required, I don't have openSUSE as a host, so I can't give you the exact required packages. I know that the kernel development headers are required for sure.
Re: virtualbox-host-source kernel_devel
Posted: 24. Aug 2018, 18:07
by arnozorro
Dear Socratis,
you are faster than lightning!
Before replacing the opensuse version of VB by the official one I would like to pass to you an information I had forgotten in my last post.
1. VB manager has been started and shows the VM win10 with the mark 'turned off'
2. Clicking on START results in two overlapping windows
- win 10 is being executed
- then 'fatal: no bootable medium found! System halted.'
Does this give you a clue on what is going on?
Is your advice of changing versions still valid, or has it to be modified?
Regards,
Arno
Re: virtualbox-host-source kernel_devel
Posted: 24. Aug 2018, 18:21
by socratis
Open up Terminal. Type (and post the output) of the command:
If it's not "5.2.18 r124319", but something like "5.2.18_SUSE r124319", then you're running the fork, and my advice for getting the official one stands, now and always. Unless you don't want to be in these forums and you could go to the openSUSE ones...
But the weird thing is that VirtualBox Manager starts, and you're getting so far as to get a "no bootable medium found". That means the the kernel driver has been installed (somehow?). As for the error message itself, it really means it; either you haven't provided a valid ISO to boot from, or that ISO is corrupt.
You sound like a fairly new user to VirtualBox. Since you are expected to know some basic terms before we engage in a meaningful discussion, I would suggest to start by reading three small chapters from the User Manual:
Or even better, read the whole chapter
1. First steps.
You should also have a nicely formatted, searchable PDF included with your installation
(I believe it's in /usr/share/doc (?), but I could be wrong on this one).
Re: virtualbox-host-source kernel_devel
Posted: 25. Aug 2018, 10:11
by arnozorro
Dear Socratis,
this starts to be an endless story.
I decided to follow your advice and switch from the opensuse version to the Oracle one.
1. VB was deinstalled using yast
2. using the file manager deinstallation of
- ~/.config/VirtualBox
- ~/.vbox
- ~/ VirtualBoxVMs
3. loading from
https://www.virtualbox.org/wiki/Linux_Downloads
the file VirtualBox-5.2-5.2.18_12439_openSUSE132-1.x86_64.rpm 70 MB
4. installing this rpm file from the root terminal gave an error message:
Code: Select all
linux-ayjm:/home/am/internet # zypper install ./Virt*m
Loading repository data...
Reading installed packages...
Resolving package dependencies...
Problem: nothing provides libvpx.so.1()(64bit) needed by VirtualBox-5.2-5.2.18_124319_openSUSE132-1.x86_64
Solution 1: do not install VirtualBox-5.2-5.2.18_124319_openSUSE132-1.x86_64
Solution 2: break VirtualBox-5.2-5.2.18_124319_openSUSE132-1.x86_64 by ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/c] (c): 1
Resolving dependencies...
Resolving package dependencies...
Nothing to do.
linux-ayjm:/home/am/internet #
As you see I have decided not to break VB, but to abandon the installation.
I do not know what to do next as this should be the official way of installing VB ... and it does
not work.
A bit helpless
Arno
PS I have used VB for years as there are programs for which there is no linux version. So I am not that new to the field as you assume.
Re: virtualbox-host-source kernel_devel
Posted: 25. Aug 2018, 17:33
by arnozorro
Dear Socratis,
in my last post I forgot one point. You wrote
As for the error message itself, it really means it; either you haven't provided a valid ISO to boot from, or that ISO is corrupt.
I bought an official Microsoft windows 10 usb stick from a serious dealer at the normal prize, not ridiculously cheap as can be seen in the net. Therefore chances that something is corrupt with the ISO are pretty small, at least in my opinion. I have bound this stick to the linux system so that I can see it in the file manager dolphin which shows that the usb connection from stick to computer should be OK. Opening this file does not make sense as this is a binary file.
Arno
Re: virtualbox-host-source kernel_devel
Posted: 25. Aug 2018, 18:54
by socratis
- Missing dependencies are something that you should deal with by (most probably) asking or seeking help for your distro, not in the VirtualBox forums. The distro forums know better.
- In order to boot a VM, you need a bootable ISO. A USB stick is not a bootable ISO.