User Tools

Site Tools


packages:virtualbox

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
packages:virtualbox [2014-03-05 11:07] glenpackages:virtualbox [2014-03-05 21:36] (current) glen
Line 3: Line 3:
 Oracle VM [[wp>VirtualBox]] (formerly Sun VirtualBox, Sun xVM VirtualBox and innotek VirtualBox) is a virtualization software package for x86 and AMD64/Intel64-based computers from Oracle Corporation as part of its family of virtualization products Oracle VM [[wp>VirtualBox]] (formerly Sun VirtualBox, Sun xVM VirtualBox and innotek VirtualBox) is a virtualization software package for x86 and AMD64/Intel64-based computers from Oracle Corporation as part of its family of virtualization products
  
 +===== Autostarting VMs =====
  
 Since [[package>VirtualBox|VirtualBox-4.3.8-4]] PLD package, you can autostart guests: Since [[package>VirtualBox|VirtualBox-4.3.8-4]] PLD package, you can autostart guests:
Line 10: Line 11:
 $ VBoxManage setproperty autostartdbpath /etc/vbox/autostart $ VBoxManage setproperty autostartdbpath /etc/vbox/autostart
 </code> </code>
-  - modify VM to enable autostart of it. (use ''VBoxManage list vms'' or ''VBoxManage list runningvms'' to figure out the UUID or VM name):<code sh>+  - modify VM to enable autostart of it: <code sh>
 $ VBoxManage modifyvm <uuid|vmname> --autostart-enabled on $ VBoxManage modifyvm <uuid|vmname> --autostart-enabled on
 </code> </code>
  
 +You can use ''VBoxManage list vms'' or ''VBoxManage list runningvms'' to figure out the UUID or VM name).
 +
 +If you're using [[vagrant]], then you can obtain uuid from ''id'' file:
 +<code sh>
 +$ cat .vagrant/machines/default/virtualbox/id
 +238dd504-f9f5-48c9-b214-cf64f16dc0ce
 +</code>
 +
 +**NB**! VM needs to be stopped for ''modifyvm'' command to succeed.
 +
 +===== Automounting Shared Folders in VM =====
 +
 +Starting with version 4.0, VirtualBox can [[http://www.virtualbox.org/manual/ch04.html#sf_mount_auto|mount shared folders automatically]]. However it needed hardcoded group ''vboxsf'' to exist, no errors were shown if the group did not exist.
 +
 +The group was added in [[http://git.pld-linux.org/?p=packages/VirtualBox.git;a=commitdiff;h=551622b8b751ca9fe190ea3af0077fa246cd6b9f|VirtualBox-guest-4.3.8-4]] package.
 +
 +However, the automounter is still very poor, it will stop mounting other shared folders if there's problem with one of them (shared source folder missing, permission error etc). To debug this, run ''VBoxService -v -v -v'' in verbose mode in guest.
  
packages/virtualbox.1394014072.txt.gz · Last modified: 2014-03-05 11:07 by glen

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS PLD Linux Driven by DokuWiki