#783 closed Feature Request (invalid)

could boot environments exclude virtualbox?

Reported by: malco_2001 Owned by:
Priority: trivial Milestone:
Component: System Configuration Version: 9.2-RELEASE
Keywords: Cc: trac-bugs@…


I've been noticing that boot environments will result in multiple instances of virtualbox profiles. In other words if I create a VM in a snapshot called gnome3 that VM will be gone when I boot into a snapshot called xfce. After looking into it I see that virtualbox data is being placed under /root instead of my user. Which kind of makes sense I think. I suppose that might allow users to share the virtual box and also make maintaining it easier rather than having to add users to vboxusers. However i was wondering if it would be possible to exclude the root user folder /root from boot environments or maybe just /root/.VirtualBox? and /root/VirtualBox\ VMs/. This way the VM's states and data could be preserved through each boot environment?

Change History (1)

comment:1 Changed 21 months ago by kris

  • Resolution set to invalid
  • Status changed from new to closed

FreeBSD expects / and /root to be on the same partition/dataset... The best workaround is to go to VirtualBox? File -> Preferences and change the default VM location to /usr/home/<username> or some other dataset, so it doesn't get snapped along with the '/' BE.

Note: See TracTickets for help on using tickets.