VirtualBox

source: vbox/trunk/doc/manual/en_US/dita/topics/solaris-zones.dita@ 98549

Last change on this file since 98549 was 98549, checked in by vboxsync, 2 years ago

Docs: bugref:10302. Uploading .dita user manual files we received from the doc team on 25th Jan.

  • Property svn:eol-style set to native
File size: 2.4 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE topic
3 PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
4<topic xml:lang="en-us" id="solaris-zones">
5 <title>Configuring a Zone for Running Oracle VM VirtualBox</title>
6
7 <body>
8 <p>
9 Assuming that Oracle VM VirtualBox has already been installed into
10 your zone, you need to give the zone access to Oracle VM VirtualBox's
11 device node. This is done by performing the following steps.
12 Start a root terminal and run the following command:
13 </p>
14 <pre xml:space="preserve">zonecfg -z <varname>vboxzone</varname>
15 </pre>
16 <p>
17 Replace <varname>vboxzone</varname> with the name of the
18 zone where you intend to run Oracle VM VirtualBox.
19 </p>
20 <p>
21 Use <userinput>zonecfg</userinput> to add the
22 <codeph>device</codeph> resource and <codeph>match</codeph>
23 properties to the zone, as follows:
24 </p>
25 <pre xml:space="preserve">zonecfg:vboxzone&gt;add device
26zonecfg:vboxzone:device&gt;set match=/dev/vboxdrv
27zonecfg:vboxzone:device&gt;end
28zonecfg:vboxzone&gt;add device
29zonecfg:vboxzone:device&gt;set match=/dev/vboxdrvu
30zonecfg:vboxzone:device&gt;end
31zonecfg:vboxzone&gt;exit</pre>
32 <p>
33 On Oracle Solaris 11 or later, you may also add a device for
34 <filepath>/dev/vboxusbmon</filepath>, similar to that shown
35 above.
36 </p>
37 <p>
38 If you are not using sparse root zones, you will need to
39 loopback mount <filepath>/opt/VirtualBox</filepath> from the
40 global zone into the non-global zone at the same path. This is
41 specified below using the <codeph>dir</codeph> attribute and
42 the <codeph>special</codeph> attribute. For example:
43 </p>
44 <pre xml:space="preserve">zonecfg:vboxzone&gt;add fs
45zonecfg:vboxzone:device&gt;set dir=/opt/VirtualBox
46zonecfg:vboxzone:device&gt;set special=/opt/VirtualBox
47zonecfg:vboxzone:device&gt;set type=lofs
48zonecfg:vboxzone:device&gt;end
49zonecfg:vboxzone&gt;exit</pre>
50 <p>
51 Reboot the zone using <userinput>zoneadm</userinput> and you should
52 be able to run Oracle VM VirtualBox from within the configured zone.
53 </p>
54 </body>
55
56 </topic>
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette