Quantcast
Channel: Oracle Bloggers
Viewing all articles
Browse latest Browse all 19780

Re: VirtualBox: Import on different platform

$
0
0

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.

Viewing all articles
Browse latest Browse all 19780

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>