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 = [
            'phy:/dev/sda5,sda1,w',
            'phy:/dev/sda6,sda2,w',
            'file:/root/debian-504-amd64-netinst.iso,hdc:cdrom,r'
       ]

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?

link|improve this question

does /mnt exist ? – mat Feb 17 '10 at 9:38
Of course it does. – David Parunakian Feb 17 '10 at 9:39
feedback

2 Answers

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

 /etc/xen-tools/xen-tools.conf

find more info on: http://www.xen-tools.org/software/xen-tools/

link|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. – David Parunakian Feb 17 '10 at 13:00
feedback
up vote 0 down vote accepted

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

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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