You are not logged in.
Pages: 1
Topic closed
hi guys!
i recently installed virtualbox-ose using pacman -Sy virtualbox. it installed fine and i was able to create a vm. when i start my vm i get this error:
VirtualBox kernel driver not installed. The vboxdrv kernel module was either not loaded or /dev/vboxdrv was not created for some reason. Re-setup the kernel module by executing '/etc/init.d/vboxdrv setup' as root.
VBox status code: -1908 (VERR_VM_DRIVER_NOT_INSTALLED).
Result Code:
0x80004005
Component:
Console
Interface:
IConsole {d5a1cbda-f5d7-4824-9afe-d640c94c7dcf}
i could not find /etc/init.d/vboxdrv. when i do for a search for vboxdrv, it shows me a vobxdrv.ko and its located on my original arch kernel 2.6.25-ARCH. im using a custom kernel. how do i tell virtualbox to build the modules in my custom kernel and not on the arch kernel. i remember i had the same problem with ndiswrapper before that ndis wrapper built the ndiswrapper module on my arch kernel instead of my custom kernel. any ideas?
thanks!
Offline
run /usr/bin/vbox_build_module as root.
Offline
hi DonVla!
i dont have /usr/bin/vbox_build_module...
<<archbox>> :ls /usr/bin/v*
/usr/bin/vboxbfe /usr/bin/verve-focus /usr/bin/vlc
/usr/bin/vboxmanage /usr/bin/vi /usr/bin/vlc-config
/usr/bin/vboxsdl /usr/bin/vidiff /usr/bin/vmstat
/usr/bin/vboxsvc /usr/bin/view /usr/bin/volname
/usr/bin/vboxxpcomipcd /usr/bin/viewres /usr/bin/vorbiscomment
/usr/bin/vditool /usr/bin/vino-preferences /usr/bin/vstp
/usr/bin/vercmp /usr/bin/virtualbox /usr/bin/vte
/usr/bin/verify_krb5_conf /usr/bin/vitutor
<<archbox>>:updatedb
<<archbox>> :locate vbox
/lib/modules/2.6.25-ARCH/misc/vboxdrv.ko
/opt/qt/include/qvbox.h
/opt/qt/man/man3/qvbox.3qt.gz
/opt/qt/man/man3/qvboxlayout.3qt.gz
/usr/bin/vboxbfe
/usr/bin/vboxmanage
/usr/bin/vboxsdl
/usr/bin/vboxsvc
/usr/bin/vboxxpcomipcd
/usr/include/kvbox.h
/usr/include/Qt/q3vbox.h
/usr/include/Qt3Support/q3vbox.h
/usr/include/gtk-2.0/gtk/gtkvbox.h
/usr/include/xfce4/libxfce4panel/xfce-hvbox.h
i wonder whats the /etc/init.d/vboxdrv equivalent in arch?
Offline
AFAIK, it's missing in the OSE build. You'd have to rebuild virtualbox-modules package yourself or move to virtualbox_bin.
Offline
pacman -S virtualbox-ose (or virtualbox_bin from the french repo) virtualbox-modules
if it gives you any error concerning the modules, run "vbox_build_module" as root ... it will rebuild the modules (needed after kernel update)
Last edited by arch0r (2008-08-10 13:31:28)
Offline
hi guys i tried this but didnt work... im now starting to think of making my own package but i have some worries... first of all is if i create my own package, will i be able to upgrade it when a new version comes out? i was looking at the arch wiki for virutal box and it seems that the AUR pkgbuild is not working properly. i wonder whats the difference if i create a package and just install the binary file? any suggestions?
Offline
I'm using this, it works fine and comes with a module building script.
Offline
the switch to virtualbox_bin. it works imo better.
Offline
yeah, but the modules package still depends on the old kernel version
Offline
thanks for your reply guys!
i will try http://aur.archlinux.org/packages.php?ID=9753 but i want to be able to use this with my custom kernel.
im thinking of just installing the binaries from sun website (Vbox*.run) but if i do that i dont know how to uninstall it when i dont want it anymore or how to upgrade it thats why i wanted to use the ones in the pacman repos or in the aur so that i can easily update or remove it.
Offline
Hi,
I also had the same issue with virtualbox-ose hence I'm using virtualbox_bin. It complains me after each kernel upgrade but I simply remove the virtualbox_bin and reinstall it. It does not take even 5 mins to complete.
As we are not touching the virtual hard disks our settings remain unchanged even though we remove and add virtualbox time to time.
Last edited by jayanath (2008-11-19 13:22:09)
Cheers,
Jayanath
"There is LIFE beyond the 8x8 cubicle"
Offline
In virtualbox_bin 2.1.4-1 the vbox_build_module is no longer present it seems....any idea?
Offline
Try
modprobe vboxdrv
:wq
Offline
In virtualbox_bin 2.1.4-1 the vbox_build_module is no longer present it seems....any idea?
lies!
there is 2.1.4-2 and vbox_build_module is present at /usr/bin/vbox_build_module
Give what you have. To someone, it may be better than you dare to think.
Offline
Whoops! I should read more carefully; I didn't see the part about this being a custom kernel.
Anywho, I have virtualbox_bin 2.1.4 installed, and it seems that it does contain /usr/bin/vbox_build_module. However, this file is only executable by root, so if you try tab-completing the filename as a user, it won't show up. That might be why you didn't see it.
:wq
Offline
I had the same problem after upgrade the kernel. I tried to run vbox_build_module but is no longer present it seems ( I still checked on /usr/bin))
Then I tried to run that command: /etc/rc.d/vboxdrv setup
and it works. The module of kernel was recompiled and things are working
Offline
I had the same problem after upgrade the kernel. I tried to run vbox_build_module but is no longer present it seems ( I still checked on /usr/bin))
Then I tried to run that command: /etc/rc.d/vboxdrv setup
and it works. The module of kernel was recompiled and things are working
Grats on necro'ing a thread that's over a year old.
If you ran that command and it worked then you're either:
a) not on Arch
and/or
b) Didn't install it through AUR/pacman
$ ls /usr/bin/vbox_build_module
/usr/bin/vbox_build_module
$ ls /etc/rc.d/vboxdrv
ls: cannot access /etc/rc.d/vboxdrv: No such file or directory
The AUR package still uses the vbox_build_module script included with the taurball.
Offline
Closing, information here is no longer relevant, as mentioned above.
Offline
Pages: 1
Topic closed