Page 1 of 1

Unable to install Debian Guest on Ubuntu Host (Networking?)

Posted: 29. Jun 2015, 21:58
by BoiledFrog
I am trying to create a a Debian 8 (64-bit) guest on an Ubuntu 14.04 (64-bit) host. I am using the following parameters:
  • 454 GB Hard disk (VDI, dynamically allocated)
    4 Processors, 64 bit
    1941 MB RAM
It's using the following network configuration:

Code: Select all

VBoxManage modifyvm "AchillesVM" --nic1 bridged
VBoxManage modifyvm "AchillesVM" --macaddress1 aabbcc000000
VBoxManage modifyvm "AchillesVM" --nic2 hostonly
VBoxManage modifyvm "AchillesVM" --hostonlyadapter2 vboxnet0
VBoxManage modifyvm "AchillesVM" --macaddress2 aabbcc111111
VBoxManage modifyvm "AchillesVM" --nic3 hostonly
VBoxManage modifyvm "AchillesVM" --hostonlyadapter3 vboxnet0
VBoxManage modifyvm "AchillesVM" --macaddress3 aabbcc222222
VBoxManage modifyvm "AchillesVM" --nic4 hostonly
VBoxManage modifyvm "AchillesVM" --hostonlyadapter4 vboxnet0
VBoxManage modifyvm "AchillesVM" --macaddress4 aabbcc333333
VBoxManage modifyvm "AchillesVM" --nic5 hostonly
VBoxManage modifyvm "AchillesVM" --hostonlyadapter5 vboxnet0
VBoxManage modifyvm "AchillesVM" --macaddress5 aabbcc444444
VBoxManage modifyvm "AchillesVM" --nic6 hostonly
VBoxManage modifyvm "AchillesVM" --hostonlyadapter6 vboxnet0
VBoxManage modifyvm "AchillesVM" --macaddress6 aabbcc555555
We are trying to match the stats of a real hardware device so that's why the configuration may look a little odd.

When I try to boot the VM for the first time, I get:
Failed to open a session for the virtual machine AchillesVM.

Failed to open/create the internal network 'HostInterfaceNetworking-' (you might need to modprobe vboxnetflt to make it accessible) (VERR_INVALID_PARAMETER).

Failed to attach the network LUN (VERR_INVALID_PARAMETER).

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: Console

Interface: IConsole {8ab7c520-2442-4b66-8d74-4ff1e195d2b6}
The dialog suggests modprobing vboxnetflt so I did do this on the host but it had no effect. How can I resolve this?

I am running 4.3.10-dfsg-1ubuntu5.

Re: Unable to install Debian Guest on Ubuntu Host (Networkin

Posted: 30. Jun 2015, 01:27
by noteirak
First of all, thank you for the VM log. It's too rare that we get it on the first post.
Before going further and if you seek further assistance, you will need to use the official release of VirtualBox. We do not support the Ubuntu version here, having no idea what they could have changed. Also, it is a pretty outdated version you have.

Could you give the output of the following command please:

Code: Select all

vboxmanage list hostonlyifs

Re: Unable to install Debian Guest on Ubuntu Host (Networkin

Posted: 30. Jun 2015, 17:33
by BoiledFrog
I have upgraded to the version on virtualbox.org. Listing hostonlyifs gives the following.
VBoxManage list hostonlyifs
Name: vboxnet0
GUID: 786f6276-656e-4074-8000-0a0027000000
DHCP: Disabled
IPAddress: 10.0.0.1
NetworkMask: 255.0.0.0
IPV6Address: fe80:0000:0000:0000:0800:27ff:fe00:0000
IPV6NetworkMaskPrefixLength: 64
HardwareAddress: 0a:00:27:00:00:00
MediumType: Ethernet
Status: Up
VBoxNetworkName: HostInterfaceNetworking-vboxnet0
The error dialog has changed slightly but I suspect it means the same thing.
Failed to open a session for the virtual machine AchillesVM.

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

Failed to attach the network LUN (VERR_INVALID_PARAMETER).

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: Console
Interface: IConsole {8ab7c520-2442-4b66-8d74-4ff1e195d2b6}

Re: Unable to install Debian Guest on Ubuntu Host (Networkin

Posted: 30. Jun 2015, 17:44
by noteirak
After double checking your commands, it looks like you do not specifiy the interface to bridge on, for the NIC 1. That seems to be the problem here.

Re: Unable to install Debian Guest on Ubuntu Host (Networkin

Posted: 30. Jun 2015, 18:10
by BoiledFrog
Yeah, that was the problem. It worked after running:

Code: Select all

VBoxManage modifyvm "AchillesVM" --bridgeadapter1 eth0
Thanks.