diff -r ed0f4e74a91f -r c16386f53975 en_US.ISO8859-1/books/handbook/virtualization/chapter.sgml --- a/en_US.ISO8859-1/books/handbook/virtualization/chapter.sgml Thu Jul 09 05:44:38 2009 +0300 +++ b/en_US.ISO8859-1/books/handbook/virtualization/chapter.sgml Wed Jul 15 10:11:18 2009 +0300 @@ -963,12 +963,116 @@ FreeBSD as a Host OS - FreeBSD is not officially supported by any virtualization - package as a host operating system at this time, but many people - use older versions of VMware in this capacity. - Work is also ongoing in getting &xen; to - work as a host environment on FreeBSD. + For a number of years, &os; was not officially supported as a host + OS by any of the available virtualization solutions. Some people were + using older and mostly obsolete versions of + VMware (like emulators/vmware3), which utilized the + &linux; binary compatibility layer. Shortly after the release of + &os; 7.2, the Open Source Edition (OSE) of + &sun;'s VirtualBox appeared in the + Ports Collection as a native &os; program. + VirtualBox is an actively developed, + complete virtualization package, that is available for most operating + systems including &windows;, &macos;, &linux; and &os;. It is equally + capable at running &windows; or &unix;-type guests. It comes in two + flavors, an open source and a proprietary edition. From the user's + point of view, perhaps the most important limitation of the + OSE is the lack of USB support. Other differences + may be found in the Editions page of the + VirtualBox wiki, at . + Currently, only the OSE is available for &os;. + + + Installing VirtualBox + + VirtualBox is available as a &os; port + in emulators/virtualbox, and + may be installed using the following commands: + + &prompt.root; cd /usr/ports/emulators/virtualbox +&prompt.root; make install clean + + One useful option in the configuration dialog is the + GuestAdditions suite of programs. These provide a + number of useful features in guest operating systems, like mouse + pointer integration (allowing the mouse to be shared between host + and guest without the need to press a special keyboard shortcut to + switch) and faster video rendering, especially in &windows; guests. + The guest additions are available in the Devices + menu, after the installation of the guest OS is finished. + + A few configuration changes are needed before + VirtualBox is started for the first time. + The port installs a kernel module in /boot/modules which must be loaded + into the running kernel: + + &prompt.root; kldload vboxdrv + + To ensure the module always gets loaded after a reboot, add the + following line to /boot/loader.conf: + + vboxdrv_load="YES" + + VirtualBox also requires the + proc file system to be + mounted: + + &prompt.root; mount -t procfs proc /proc + + To allow this setting to persist reboots, the following line + is needed in /etc/fstab: + + proc /proc procfs rw 0 0 + + + If an error message similar to the following is observed + when VirtualBox is run from + the terminal: + + VirtualBox: supR3HardenedExecDir: couldn't read "", errno=2 cchLink=-1 + + The most likely culprit will be the proc file system. Please use the + mount command to check whether it is mounted + properly. + + + The vboxusers group is created during + the installation of VirtualBox. + All users that need access to VirtualBox + will have to be added as members of this group. + The pw command may be used to add new + members: + + &prompt.root; pw groupmod vboxusers -m yourusername + + To launch VirtualBox, either select + the Sun VirtualBox item from your + graphic environment's menu, or type the following in a + terminal: + + &prompt.user; VirtualBox + + For more information on configuring and using + VirtualBox, please visit the official + website at . + As the &os; port is very recent, it is under heavy development. + For the latest information and troubleshooting instructions, please + visit the relevant page in the &os; wiki, at . + + + + Other Virtualization Options + + There is ongoing work in getting &xen; + to work as a host environment on &os;. An experimental version of + this will appear in &os; 8.0. +