I apologize if this isn't quite the right place to pose this question, but I couldn't find a more appropriate stackexchange site to ask this question.
My goal is to have my USB drive loaded with a virtual machine that runs a linux distro (preferably Ubuntu, but I'm flexible). Now for the catch, I can create a bootable USB without any problems. What I want is the ability to plug in my USB drive to an already running machine, invoke the VM and get access to my linux distro. And one final catch, I should be able to persist data and applications directly on the USB drive too.
My initial thoughts are to have two partitions on the USB drive. One for the VM and OS and the other for the persistent data (though I may need a third for a swap space too, not sure yet).
Any thoughts/ideas are greatly appreciated. Thanks!