In simple, I want boot XEN fully virtualized (HVM) guests (both Windows & Linux) using iSCSI drives (i.e. from SAN).

My main purpose of this is to learn about this process. So, how can I do it? How to setup VM / VM config file so that it supports booting from iSCSI??

  • P.S.: I am using XEN hypervisor 4.0 and LVM based HVM guests are running without any problem (has locally attached storage) – nobody Dec 15 '11 at 2:28
  • I just finished a blog entry on how to boot the Xen hypervisor (not just the DomU) using gPXE. You can adapt this method to boot anything, including a DomU (though you could just store the DomU virtual disks on a remote iSCSI LUN or NFS server). See: sporadicblogging.wordpress.com/2012/01/17/… – user42875 Jan 20 '12 at 20:48

Looking at this like a virtualization problem doesn't help. Ask yourself, how would I boot from iSCSI in the real world? The answer is you need an iSCSI initiator. Virtualization isn't magic, it emulates a common computer with common peripherals, you can add new peripherals, albeit virtual ones, just like could in the real world. In this case the gPXE project provides an option rom that can be fed to QEMU to add the additional ability of an iSCSI initiator. Everything else is an exercise for the reader. Good luck!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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