312 words — 2 minutes read

Installing XEN 3.0 on Debian Sarge

Sauron, my faithful basement server got another 512MB of RAM, and I plan to virtualize it to run multiple servers on it (most notably a Lotus Domino Server).

This is the “step by step” account of how to install XEN 3.0 on it

  1. Fixing the size of the root partition My root partition was just a tad too small, so I was stuck with the installation. The solution is rather simple:

    • Boot a Linux Live CD (I used ubuntu)
    • use parted to resize the partitions. (The parted user guide is really helpful)
  2. Installing Xen 3.0 upon Debian Sarge Replace the 3.0.0 reference with 3.0.1 to get the current version. This just works (if your root partition is large enough)

  3. Installing a virtual xen domain I used the xen-tools to create an image. While booting this image, everything seemed to go smooth until the prompt was supposed to appear. Then the virtual domain just froze. Right now, I’m trying to recreate an image without any help, to see if that will help. The linuxwiki.de/Xen entry has a step by step instruction how to create the necessary disk images. Still no joy, my virtual machine boots and then hangs.

  4. Suse image works The image found on the suse images page worked, so I know, that everything is working.

  5. Waiting When I leave my virtual Debian machine starting and wait for some time, I get some new error messages:

    INIT: Id “1” respawning too fast: disabled for 5 minutes

       INIT: Id "6" respawning too fast: disabled for 5 minutes
       INIT: no more processes left in this runlevel

Googling for this error, brings me to this Xen Installation page, where the final hint is:

Changing the getty line in /etc/inittab to

   1:2345:respawn:/sbin/getty 38400 console    

where it says “console” instead of “tty” makes my virtual domain boot.

Random Xen Documentation:

Technorati Tags: debian, sauron, xen

Jens-Christian Fischer

Maker. Musician