You are not logged in.

#1 2012-04-19 07:53:48

giwrg98
Member
Registered: 2012-04-12
Posts: 81

[SOLVED]Can't start Virtual Machine

I installed virtual box and virtualbox-modules via pacman and launched 'sudo vboxbuild' but now wyen I try to start a virtual machine it gives me this error:
"Failed to open a session for the virtual machine Ubuntu Server 11.10.

Failed to open/create the internal network 'HostInterfaceNetworking-wlan0' (VERR_SUPDRV_COMPONENT_NOT_FOUND).

Failed to attach the network LUN (VERR_SUPDRV_COMPONENT_NOT_FOUND).

One of the kernel modules was not successfully loaded. Make sure that no kernel modules from an older version of VirtualBox exist. Then try to recompile and reload the kernel modules by executing '/etc/init.d/vboxdrv setup' as root (VERR_SUPDRV_COMPONENT_NOT_FOUND).

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: Console
Interface: IConsole {1968b7d3-e3bf-4ceb-99e0-cb7c913317bb}"
I tried to launch '/etc/init.d/vboxdrv setup' but it says that this directory or file does not exist.

Last edited by giwrg98 (2012-04-19 08:17:36)

Offline

#2 2012-04-19 08:06:55

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [SOLVED]Can't start Virtual Machine

Have you loaded the vboxdrv kernel module?


Burninate!

Offline

#3 2012-04-19 08:08:39

giwrg98
Member
Registered: 2012-04-12
Posts: 81

Re: [SOLVED]Can't start Virtual Machine

Yes I did.

Offline

#4 2012-04-19 08:12:18

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [SOLVED]Can't start Virtual Machine

Are you using bridged or host-only mode by any chance? In that case you'll also need the "vboxnetflt" kernel module.

Last edited by Gcool (2012-04-19 08:12:30)


Burninate!

Offline

#5 2012-04-19 08:17:05

giwrg98
Member
Registered: 2012-04-12
Posts: 81

Re: [SOLVED]Can't start Virtual Machine

Well, I didn't know that! Thanks!

Offline

#6 2012-04-19 08:44:56

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED]Can't start Virtual Machine

By the way, it's not '/etc/init.d/vboxdrv setup'. On Arch you use rc.d.

$ sudo /etc/rc.d/vboxdrv setup
$ sudo modprobe vboxdrv

Or, the same thing on one line:

$ sudo /etc/rc.d/vboxdrv setup && sudo modprobe vboxdrv

"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#7 2012-04-19 08:58:55

giwrg98
Member
Registered: 2012-04-12
Posts: 81

Re: [SOLVED]Can't start Virtual Machine

It can't find /etc/rc.d/vboxdrv either.

Offline

#8 2012-04-19 09:29:03

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,681

Re: [SOLVED]Can't start Virtual Machine

Installing virtualbox-modules installs ALL the prebuilt modules for the stock arch kernel.  You shouldn't need to run vboxbuild or vboxdrv setup unless you have a custom kernel
https://wiki.archlinux.org/index.php/Vi … asic_setup

Last edited by skunktrader (2012-04-19 09:30:07)

Offline

#9 2012-04-19 09:54:33

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED]Can't start Virtual Machine

resolving dependencies...
looking for inter-conflicts...
:: virtualbox-modules and virtualbox-bin are in conflict. Remove virtualbox-bin? [y/N]

Last edited by DSpider (2012-04-19 09:55:02)


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#10 2012-04-19 10:15:11

giwrg98
Member
Registered: 2012-04-12
Posts: 81

Re: [SOLVED]Can't start Virtual Machine

skunktrader wrote:

Installing virtualbox-modules installs ALL the prebuilt modules for the stock arch kernel.  You shouldn't need to run vboxbuild or vboxdrv setup unless you have a custom kernel
https://wiki.archlinux.org/index.php/Vi … asic_setup

I have already installed them.

Offline

#11 2012-04-19 10:50:26

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,681

Re: [SOLVED]Can't start Virtual Machine

DSpider wrote:
resolving dependencies...
looking for inter-conflicts...
:: virtualbox-modules and virtualbox-bin are in conflict. Remove virtualbox-bin? [y/N]

virtualbox (from Community) != virtualbox-bin (from AUR)

Offline

#12 2012-04-19 10:54:09

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,681

Re: [SOLVED]Can't start Virtual Machine

giwrg98 wrote:
skunktrader wrote:

Installing virtualbox-modules installs ALL the prebuilt modules for the stock arch kernel.  You shouldn't need to run vboxbuild or vboxdrv setup unless you have a custom kernel
https://wiki.archlinux.org/index.php/Vi … asic_setup

I have already installed them.

# modprobe vboxdrv
# modprobe vboxnetflt

and it should just work

Offline

#13 2013-09-11 01:45:12

netawater
Member
Registered: 2008-08-01
Posts: 36

Re: [SOLVED]Can't start Virtual Machine

thanks, it resolve my problem too.

add vboxnetflt to files in /etc/modules-load.d/, the system will load it when booting.

Offline

#14 2013-09-11 02:22:23

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED]Can't start Virtual Machine


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB