launching unregistered guests

Discussions related to using VirtualBox on Linux hosts.
Post Reply
deathadder
Posts: 1
Joined: 21. May 2009, 02:41
Primary OS: Debian Lenny
VBox Version: OSE Debian
Guest OSses: Linux

launching unregistered guests

Post by deathadder »

I would like to keep a VM on a USB device, and be able to run it without touching the host
hard disk. How can I do this? Are there command line flags I can pass to VirtualBox
to tell it where the .vdi and .xml are? Linux host, Linux guest. Thanks.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: launching unregistered guests

Post by Sasquatch »

If the whole config is on the stick, so it includes VirtualBox.xml, then you can start VB using the environmental variable before starting it. E.g. launch it with VBOX_USER_HOME=/media/disk/vm VirtualBox. You have to make sure the paths in the XML file are correct before staring VB, else the VMs will be inaccessible.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply