Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I would like to create VirtualBox VMs which are entirely contained in a single directory (including various aspects that are normally kept in a configuration in the ~/ directory).

The idea is to remotely mount the directory and run the VM on that machine, or carry a VM on a stick or SD card.

I'm particularly bother because I notice that VirtualBox tends to spread these things around.

share|improve this question
    
Maybe something can be made the same way VMWare player opens one file = one VM with all the settings. –  tiktak Mar 29 '12 at 13:48
    
VM on SD card | VM over network == SLOW, also VBOX kept things in a single folder and ~/.VirtualBox what you mean by spread things around –  warl0ck Jul 19 '12 at 6:18
    
@warl0ck Older versions of VBox kept config files in one folder and vdi files in another. Newer versions already do keep everything in one folder. –  StarNamer Aug 18 '12 at 20:15

1 Answer 1

I usually just put the virtual disk on removable/remote media and create a new VM pointing at the existing disk when I want to run it. Apart from from adjusting memory (and maybe video memory) the default settings for an OS work fine.

Alternatively, recent versions of VirtualBox can export and import VMs. I haven't used this, but I think it would copy the virtual disk around so may not satisfy your requirements.

share|improve this answer
    
+1 for export and import VMs –  Anthony Aug 18 '12 at 4:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.