Re: VirtualBox: Import on different platform

I wrote about the VirtualBox VM guest import step on Windows before.

VirtualBox: Import on different platform (INOUE Katsumi @ Tokyo)

The picture below is from Windows. On Linux, it will be named "vboxnet0" by default.

Here's the equivalent step on Linux.

If you create a guest with Host-only network on Windows and export it and import on Linux, it will likely fail to start up.

$ vboxmanage startvm  Node01 --type headless
Waiting for VM "Node01" to power on...
VBoxManage: error: Nonexistent host networking interface, name 'VirtualBox Host-Only Ethernet Adapter' (VERR_INTERNAL_ERROR)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component Console, interface IConsole, callee

So, confirm the network name.

$ vboxmanage list hostonlyifs
Name:            vboxnet0
GUID:            786f6276-656e-4074-8000-0a0027000000
Dhcp:            Disabled
IPAddress:       192.168.56.1
NetworkMask:     255.255.255.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

Modify the VM.

$ vboxmanage modifyvm Node01 --hostonlyadapter1 vboxnet0

Now, it will start.

$ vboxmanage startvm  Node01 --type headless
Waiting for VM "Node01" to power on...
VM "Node01" has been successfully started.
Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

The views expressed on this blog are my own and do not necessarily reflect the views of Oracle.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today