Editing Guide to install VirtualBox on GhostBSD

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 3: Line 3:
 
==Introduction==
 
==Introduction==
  
On this page we will collect information, tips and tricks for installing and preparation VirtualBox on GhostBSD.
+
On this page we will collect some information, tips and tricks around installing VirtualBox on GhostBSD.
 +
 
  
 
==Steps==
 
==Steps==
Line 14: Line 15:
 
<code>virtualbox-ose-kmod-6.1.36</code>
 
<code>virtualbox-ose-kmod-6.1.36</code>
  
===Load Kernel Module===
+
===Loaded Kernel Module===
  
 
<nowiki>#</nowiki> <code>kldload vboxdrv</code>
 
<nowiki>#</nowiki> <code>kldload vboxdrv</code>
Line 33: Line 34:
 
<code>pw groupmod vboxusers -m yourusername</code><br/>
 
<code>pw groupmod vboxusers -m yourusername</code><br/>
  
 +
 +
===Enable atapicam kernel module at boot===
 +
 +
Edit /boot/loader.conf file: Add the following line:
 +
 +
<code>atapicam_load="YES"</code>
  
 
===Add these lines to /etc/devfs.conf===
 
===Add these lines to /etc/devfs.conf===
Line 62: Line 69:
 
'''Restart your Machine'''
 
'''Restart your Machine'''
  
'''Note:''' It is possible that the virtual machine crashes after connecting it to the host DVD device. It seems there is a bug in a older version of VirtualBox. [https://forums.virtualbox.org/viewtopic.php?f=3&t=64160#p306005 See here.]<br/>
+
'''Note:'''It is possible that the virtual machine crashes after connecting it to the host DVD device. It seems there is a bug in a older version of VirtualBox.
Addition: "If you import a virtual machine from another virtualization product, the OS in that machine may expect a particular controller type and crash if it is not found." [https://www.virtualbox.org/manual/ch05.html VirtualBox 5.1. Hard Disk Controllers -> IDE]
+
  
 
==Further Information==
 
==Further Information==
Line 74: Line 80:
  
  
==Trouble shooting==
 
 
There are some commands, which could help, to find the issue:
 
 
===Usage===
 
 
<code>VBoxManage [<general option>] <command></code>
 
 
 
===General Options===
 
 
* [-v|--version]............print version number and exit
 
* [-q|--nologo].............suppress the logo
 
* [--settingspw <pw>].......provide the settings password
 
* [--settingspwfile <file>].provide a file containing the settings password
 
* [@<response-file>]........load arguments from the given response file (bourne style)
 
 
 
===Commands===
 
 
* list [--long|-l] [--sorted|-s]       
 
 
vms|runningvms|ostypes|hostdvds|hostfloppies|intnets|bridgedifs|
 
hostonlyifs|natnets|dhcpservers|hostinfo|hostcpuids|hddbackends|hdds|dvds|
 
floppies|usbhost|usbfilters|systemproperties|extpacks|
 
groups|webcams|screenshotformats
 
 
'''Example 1:''' VBoxManage list extpacks
 
 
* showvminfo ...............<uuid|vmname> [--details]
 
 
 
'''Example 2''': VBoxManage showvminfo "Windows 7" --details
 
 
===If you like more info===
 
 
* <code>VBoxManage -help</code>
 
 
* [https://www.virtualbox.org/manual/ch12.html VirtualBox Chapter 12. Troubleshooting]
 
  
  

Please note that all contributions to GhostBSD Wiki are considered to be released under the Creative Commons Attribution (see GhostBSD Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)

Template used on this page: