ad08
![]() |
|
|
|
|
|||||||
| General General questions about the FreeBSD operating system. Ask here if your question does not fit elsewhere. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi
I don't know if it's possible, so why I'm asking. It is possible to run VirtualBox inside a jail? For networking I could give VIMAGE a try. But I am not sure if I need more. Kind regards, Darko. Last edited by DutchDaemon; February 19th, 2011 at 01:25. |
|
#2
|
|||
|
|||
|
Haven't tried it myself but don't see any reason why not.
|
|
#3
|
|||
|
|||
|
Hi minimike,
I want to try the same. Did you succeed? Are there any pitfalls to avoid? Thanks Johannes |
|
#4
|
|||
|
|||
|
Hi there,
Not quite clean but post mortem here are the steps used to make it work ![]() On the jail host : * make vbox kernel module : %make -C /usr/ports/emulators/virtualbox-ose-kmod install clean * load it : %/usr/local/etc/rc.d/vboxnet start * mount src dir used to build module on jail used : %mount -t nullfs /usr/src /path/to/my/jail/basejail/usr/src * allow sysv : %echo "jail_sysvipc_allow=\"YES\"" | tee -a /etc/rc.conf * unhide devices needed by vbox on jail : %diff /usr/src/etc/defaults/devfs.rules /etc/defaults/devfs.rules 34a35,36 > add path vboxdrv0 unhide > add path vboxnetctl unhide * start or restart jail . In the jail : * edit virtualbox-ose Makefile to avoid the build of module by commenting the RUN_DEPENDS line * build vbox : make -C /usr/ports/emulators/virtualbox-ose install clean |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Cron job inside jail | scv | General | 4 | May 26th, 2010 08:30 |
| ssmtp not working from inside jail | Moe | Web & Network Services | 21 | March 22nd, 2010 00:08 |
| DNS inside jail | gpatrick | Web & Network Services | 0 | November 1st, 2009 04:43 |
| ezjail and zfs from inside the jail | wonslung | General | 9 | June 2nd, 2009 00:05 |
| syslog-ng inside jail | myha | Installing & Upgrading | 1 | December 23rd, 2008 13:28 |