Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 wish to use pvgrub.

I'm using debian wheezy x86_64.

I did an apt-get soruce xen and apt-get build-dep xen, cd-ed into the xen source dir and issued "make world".

The package doesn't compile, it emits the error message:

/bin/sh: 4: ./xen-setup-stubdom: not found
make[2]: *** [ioemu] Error 127
make[2]: Leaving directory `/root/install/xen-4.1.3/stubdom'
make[1]: *** [install-stubdom] Error 2
make[1]: Leaving directory `/root/install/xen-4.1.3'
make: *** [world] Error 2

Does anyone know what might be wrong?

Thank you.

share|improve this question
Finally I managed the vanilla xen 4.3.1 package to get compiled. I went smoothly, I did not do any magic, just downloaded it, and made world. However the Debian source package still won't compile, so it must be a Debian peculiarity. – netom Dec 21 '12 at 10:19

This was driving me nuts too. Here's the answer:

cd xen-4.1.4
make stubdom
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.