OpenSolaris in VirtualBox

I recently installed OpenSolaris 2008.05 in VirtualBox 1.6.0 both on Mac OS X and also on my workstation running Nevada, build 88 (which would be equal to SXCE build 88 but this build was skipped).

Virtual Machine Settings

Base Memory796 MB
Hard DiskNormal, 16GB
NetworkIntel PRO/1000 MT Desktop, NAT

Notes

VirtualBox installation was very easy on both platforms as well as installation of the OpenSolaris in the virtual machine. However, I met a few problems:

  • ICMP protocol is not supported by VirtualBox's NAT engine, so the initial network test using ping failed. This is actually well documented in VirtualBox's User Manual and other TCP/IP based protocols work fine.
  • My workstation is on NIS, while VirtualBox's NAT relies on DNS. So, I had to create /etc/resolv.conf file with nameserver entry.

NAT is the only networking option for Mac OS X, while Host Interface (virtual NIC) option is available for other platforms including Solaris. I tried the procedure described in VirtualBox's User Manual (only the manual steps led to successful creation of the virtual network interface) but so far I was not successful in setting this up. VirtualBox did not start the virtual machine -- I got the following error: "Failed to open VNIC "vnic0" in raw mode.". So, I must be doing something wrong and I still need to investigate this problem.

VirtualBox offers also great and easy to use command line interface -- VBoxManage -- which is very convenient for controlling the machine.

References

Virtual Box Error – A Domain Name Server (DNS) for NAT networking could not be determined
Using Crossbow to get a host interface network for VirtualBox

Comments:

Post a Comment:
Comments are closed for this entry.
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