I'm wanting to create a bootable Linux + Xen Hypervisor on a USB stick.

I have it working how I want on a hard drive but for cloud deployment I'd like it to boot xen to a ram disk and mount the internal hard drive to /xen

The idea being that I can deploy new xen servers by just plugging in a USB stick.

How would I go about getting linux and xen onto a USB stick? I'm looking for some good tutorials but haven't found that many that suit. Apart from ones that convert ISO boot CD images to USB.

Note: I am not interested in answers that show me how to put xenserver on a usb stick. Xenserver is not linux + xen hypervisor.

link|improve this question

63% accept rate
What have you tried so far? Most usb sticks just show up as a regular /dev/sdx, so you should be able to pick that as a drive and install onto it. If the installer does not want to work with a non-hdd, you can always make a ext{2,3,4} partition on the USB stick and make it boot with EXTLINUX, point it at the hypervisor, and let it boot. – Marcin Dec 1 '11 at 2:01
I haven't tried it yet, just been researching on common methods. I think I will attempt to do it as you state. – Matt Dec 9 '11 at 21:32
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.