Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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??

share|improve this question
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:… – user42875 Jan 20 '12 at 20:48
Good work and good intro. Thanks :) – nobody Jan 21 '12 at 6:16

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!

share|improve this answer

Your Answer


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.