I am able to install and configure VirtualBox on OpenSolaris host. However, I am trying to use VirtualBox within a Solaris Container (i.e., zone). After setting up the zone and installing the package, I get the following error:
## Executing postinstall script.
innotek VirtualBox - postinstall script
This script will setup and load the VirtualBox kernel module...
cat: cannot open /etc/name_to_major: No such file or directory
cat: cannot open /etc/name_to_major: No such file or directory
No such file or directory
Cannot access file (/etc/minor_perm).
cat: cannot open /etc/name_to_major: No such file or directory
Failed to load vboxdrv.
Creating links...
Done.
This error does not occur at the 'global zone' level and I can use VirtualBox properly at that level.
Any insight on how to install the driver within the non-global zone would greatly be appreciated.
Installing VirtualBox on Solaris Container
-
- Posts: 2
- Joined: 20. Feb 2008, 02:05
That's what I thought was the root of the problem.
So, that leads me to my next question. ....
Since I'm able to install the application on the global zone and the driver is correctly installed at that level, is there a way to configure the non-global zone to utilize the driver installed at the global zone?
So, that leads me to my next question. ....
Since I'm able to install the application on the global zone and the driver is correctly installed at that level, is there a way to configure the non-global zone to utilize the driver installed at the global zone?
as you might are running the zone as a sparse-root model it will explain why you can't access these files.
To change this, define the zone as a whole-root zone. In that case the zone is completely independent when installing packages.
# zonecfg -z itchy
zonecfg:itchy> remove inherit-pkg-dir dir=/lib
zonecfg:itchy> remove inherit-pkg-dir dir=/platform
zonecfg:itchy> remove inherit-pkg-dir dir=/sbin
zonecfg:itchy> remove inherit-pkg-dir dir=/usr
Let me know if this helps.
-- Nick
To change this, define the zone as a whole-root zone. In that case the zone is completely independent when installing packages.
# zonecfg -z itchy
zonecfg:itchy> remove inherit-pkg-dir dir=/lib
zonecfg:itchy> remove inherit-pkg-dir dir=/platform
zonecfg:itchy> remove inherit-pkg-dir dir=/sbin
zonecfg:itchy> remove inherit-pkg-dir dir=/usr
Let me know if this helps.
-- Nick