How to install Virtualbox in jail?
My favorite things to do with my spare time is to work with Arch Linux, FreeBSD and XP as I wait for Windows-9 to be included. Over the weekend I installed FreeBSD 9.2, for the first time using portsnap and subversion to install X11, Gnome and Virtualbox. I had to reinstall multiple times because I ran into a few problems. After four days, feeling like forty night I learn that VirtualBox-ose would not install because I only had a 2GB swap. I woke up just-in-time to see the “OUT OF SWAP SPACE” compiler warning. So I wiped the disk once again an made a 4GB swap!!! I think portsnap and subversion are awesome.
Now that I know how it works, I’m doing it again to night, but this time before I install Virtualbox I hoping that someone can provide the details of how to install Virtualbox in jail. I plan to have my first jail built by tomorrow night. Until than I need to ask a few question.
1- How do I install the entire Virtualbox in jail and use it under my host FreeBSD box which will be running desktop Gnome. Windows and Linux are guest?
2- How do I install all the daemons in jail and the rest of Virtualbox under desktop Gnome?
3- What are these daemons and why should they be jailed?
4- If both ways are known to work, what are the benefits of one over the other, or are the results the same?