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?

  • 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: http://www.xen-tools.org/software/xen-tools/

  • 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

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

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.