Server Fault is a question and answer site for system and network administrators. 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

I've successfully managed to boot Debian installer (supplied the installation disc's initrd.gz); however, it is unable to mount the CD image itself, although I have enabled it in the DomU configuration like this:

disk = [

Using the installer's shell I can read the /dev/hdc (which pretends to be the CD drive); however, mounting it fails with:

mount: mounting /dev/hdc on /mnt/ failed: No such file or directory

Dom0 is also Debian Lenny; Xen's version is 3.2.1. Any ideas?

share|improve this question
does /mnt exist ? – mat Feb 17 '10 at 9:38
Of course it does. – dpq Feb 17 '10 at 9:39

why not use xen-create-image

sudo xen-create-image --accounts --gateway=xx.xx.xx.xx --netmask=yy.yy.yy.yy --ip=zz.zz.zz.zz --lvm=yourlvmlabel --hostname=yourhostname

put some sane defaults in


find more info on:

share|improve this answer
that´s of course if you have xen-tools installed via "sudo apt-get install xen-tools" ;) – lepole Feb 17 '10 at 10:51
installing xen-tools manually is a really simple task. – Antoine Benkemoun Feb 17 '10 at 11:41
The problem is that we need to teach students installing Debian; at the same time, we have no spare computers that can be completely be given into their possession. That's why we use Xen, and that's why we need to make the installer work, not just provide them debootstrapped systems. – dpq Feb 17 '10 at 13:00
up vote 0 down vote accepted

I'm not sure this counts as an answer, but we just switched to VirtualBox for this task :)

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.