Page 1 of 1

[SOLVED] Virtualbox error. No drive installed

PostPosted: May 16th, '12, 23:35
by raycleve
I have Mageia 2 RC KDE installed on my Dell Inspiron 530 Desktop. When I installed Virtualbox it seemed to install properly, but when I tried to open a Windows XP machine , I got an error message'Kernel driver not installed'. When I ran '/etc/init.d/vboxdrv setup', I received the error '-bash: /etc/init.d/vboxdrv: No such file or directory'.
Cheers. Ray

Re: Virtualbox error. No drive installed

PostPosted: May 17th, '12, 09:02
by doktor5000
How did you install virtualbox? Also please show the output of
Code: Select all
rpm -qa | grep -i virtualbox

Normally if you install via the Mageia packages, it will install dkms-virtualbox too, this automatically takes care about the kernel module, even in case of kernel updates.

Re: Virtualbox error. No drive installed

PostPosted: May 17th, '12, 13:46
by raycleve
Installed using 'Add & Remove Software.'
[root@localhost ~]# rpm -qa | grep -i virtualbox
virtualbox-4.1.12-1.mga2
virtualbox-kernel-desktop586-latest-4.1.12-6.mga2
virtualbox-kernel-3.3.6-desktop586-1.mga2-4.1.12-6.mga2
Cheers. Ray
I checked ' Add and Remove Software' for 'dkms-virtualbox' and found it uninstalled. Installed it and and several dependencies. Will check and see if this solved my problem.
Cheers. Ray
That solved the problem.
Cheers. Ray.

Re: Virtualbox error. No drive installed

PostPosted: May 18th, '12, 05:10
by raycleve
Thanks doktor5000,
Virtualbox is running great now.
Cheers. Ray

Re: Virtualbox error. No drive installed

PostPosted: May 18th, '12, 07:53
by isadora
Image

Re: Virtualbox error. No drive installed

PostPosted: Mar 21st, '14, 22:35
by klwilcoxon
doktor5000 wrote:How did you install virtualbox? Also please show the output of
Code: Select all
rpm -qa | grep -i virtualbox

Normally if you install via the Mageia packages, it will install dkms-virtualbox too, this automatically takes care about the kernel module, even in case of kernel updates.


virtualbox-kernel-3.12.13-desktop-2.mga4-4.3.6-11.mga4
virtualbox-4.3.6-1.mga4
virtualbox-kernel-desktop-latest-4.3.6-11.mga4

Kevin (with the same problem on Mageia4)

Re: [SOLVED]Virtualbox error. No drive installed

PostPosted: Mar 21st, '14, 22:50
by doktor5000
Try to install dkms-virtualbox and see if that solves your problem too.

Re: [SOLVED]Virtualbox error. No drive installed

PostPosted: Mar 21st, '14, 23:05
by klwilcoxon
When I use Add/Remove Software and search for dkms-virtualbox I get empty results. Is there a respository I should add? Would you be willing to write out the terminal command? Grasping for straws. Just upgraded my motherboard and cpu so Win7 doesn't open. Thought I'd use the opportunity to go virtual with it.

Re: [SOLVED]Virtualbox error. No drive installed

PostPosted: Mar 21st, '14, 23:48
by doktor5000
The command as root would be
Code: Select all
urpmi dkms-virtualbox

If you use Add/Remove software, make to set both filters to All packages, otherwise only applications with menu entries will show up.
Please check our software management MAQeia for more information on software and package management.

Re: [SOLVED]Virtualbox error. No drive installed

PostPosted: Mar 22nd, '14, 00:51
by klwilcoxon
BEAUTIFUL! Worked great. I hope they are paying you!

Thanks so much

Re: [SOLVED]Virtualbox error. No drive installed

PostPosted: Mar 22nd, '14, 12:09
by doktor5000
klwilcoxon wrote:BEAUTIFUL! Worked great. I hope they are paying you!

Nobody contributing to Mageia is getting paid, everybody does it in their spare time.
You may want to check http://www.mageia.org/en/contribute/

Re: [SOLVED] Virtualbox error. No drive installed

PostPosted: Jun 1st, '14, 01:51
by klwilcoxon
Sorry to say it's me again. I just installed a new hp wireless printer (don't know if that means anything). Tried to run my Windows VM and get the "Please reinstall the kernel module by executing '/etc/init.d/vboxdrv setup' as root." message.

I used urpmi /etc/init.d/vboxdrv setup and got "No package named /etc/init.d/vboxdrv setup". Wrong command?

rpm -qa | grep -i virtualbox gets:
virtualbox-4.3.10-1.1.mga4
virtualbox-kernel-3.12.20-desktop-1.mga4-4.3.10-5.mga4
virtualbox-guest-additions-4.3.10-1.1.mga4
virtualbox-kernel-3.12.18-desktop-1.mga4-4.3.10-2.mga4
virtualbox-kernel-desktop-latest-4.3.10-5.mga4
dkms-virtualbox-4.3.10-1.1.mga4
virtualbox-kernel-3.12.13-desktop-2.mga4-4.3.10-1.mga4

Suggestions?
Thanks

Re: [SOLVED] Virtualbox error. No drive installed

PostPosted: Jun 2nd, '14, 13:10
by tarakbumba
Please post output of
Code: Select all
rpm -qa | grep -i  kernel


There is no matching virtualbox kernel module installed matching your actual running kernel. Also, dkms-virtualbox should compile the module at boot; please consider pasting output of

Code: Select all
journalctl -xb


command. (In code tags)