• View Communities
    • Citrix Communities
      Visit the Citrix Communities to get and share technical information and best practices about desktop delivery, datacenter, networking and cloud computing solutions.
    • Citrix Blogs
      Learn the latest from the Citrix employees who are building the future of virtual computing.
    • Citrix Developer Network
      The place for unfiltered straight talk on Citrix products. Find related blogs, best practices, code downloads, APIs and more.
    • Citrix Ready Community Verified
      Does it work with Citrix? Application compatibility questions are a thing of the past with the new Citrix Community Verified site.
  •  Sign In
Citrix Developer Network

Debian Lenny

Introduction

From version 5.5 onwards XenServer supports Debian GNU/Linux 5 AKA "Lenny" as a guest Virtual Machine. This includes installation of Lenny from a standard Debian network mirror as well as installation from CD/DVD image.

Note that XenServer 5.5 only supports 32 bit installations of Lenny.

Installation From DVD/CD

Unfortunately at the time of release the Official Debian installation CD and DVD ISO images did not contain a XenServer-compatible kernel and therefore cannot be used with XenServer. To remedy this Citrix has made available a custom built Unofficial DVD image containing a XenServer-compatible kernel.

Downloading A XenServer-compatible installation ISO

Citrix has made the DVD image available using the Jigdo(Jigsaw Download) utility. Jigdo allows ISO images to be downloaded quickly and efficiently by retrieving the majority of the data from a nearby mirror only obtaining a minimal template from the centralised download site.

If you have an existing Debian installation the obtaining jigdo is as simple as running

# aptitude install jigdo-file

If you do not have an existing Debian installation then jigdo can be download from its website. Jigdo is available for both Linux and Windows machines.

Once you have installed jigdo you should select a mirror from the Debian Mirror List. Choose a mirror which is geographically near to your location and which includes the i386 architecture. e.g ftp://ftp.XX.debian.org/debian/

After you have installed jigdo and selected a mirror you are ready to begin downloading the ISO from Citrix. Drop to a shell prompt or command line console. On Windows you will need to change to the directory where you unpacked jigdo.

Note: You must download the image from the URL given. The images available on Debian mirrors are not compatible with XenServer.

# jigdo-lite http://ca.downloads.xensource.com/debian/lenny/debian-506-i386-source-xen-DVD-1.jigdo

Jigdo will automatically download the template file (around 40M in size) and then will prompt you for a location to scan for existing packages. This can be useful if you have already downloaded Official Lenny images since you can reuse many of the packages on Official CDs. To do this simply mount or insert the Official CD/DVD and enter the path to it.
Next jigdo will prompt for a mirror to use, enter the mirror you selected above.

Jigdo will then begin downloading packages. If it complains about missing packages you should select another mirror and try again, this will not redownload any packages which were successfully retrieved.

When jigdo has completed it will leave debian-506-i386-source-xen-DVD-1.iso in the current directory.

Adding Additional CD/DVD Images

The custom XenServer-compatible DVD image contains a subset of the Debian software repository.

In order to access the remainder after installation you can either make use of a Debian network mirror in the normal way or you can add additional CD/DVD images using the Official images. To do this simply insert a CD/DVD into the virtual machine's CD drive and on the guest console run

# apt-cdrom add

Repeat this for as many CD/DVD images as you are interested in.

Support

If you have an issue specifically relating to the download of the custom ISO image then please comment below.

If you have any other issue relating to Debian Lenny please use the regular forums and other support channels which exist for this purpose.

Tags

xenserver xenserver Delete
xencenter xencenter Delete
debian debian Delete
lenny lenny Delete
debian lenny debian lenny Delete
Enter tags to add to this page:
Please wait 
Looking for a tag? Just start typing.
  1. Jun 18, 2009

    Anonymous says:

    Should be: aptitude install jigdo-file

    Should be:

    1. aptitude install jigdo-file
    1. Jun 23, 2009

      ian campbell says:

      Fixed. Thank you very much.

      Fixed. Thank you very much.

  2. Jun 26, 2009

    Anonymous says:

    A good idea would be to create a netinstall iso instead of complete Debian DVD I...

    A good idea would be to create a netinstall iso instead of complete Debian DVD ISO. That's a lot of brandwith wasted for a basic system install.

    1. Jun 29, 2009

      ian campbell says:

      Thanks for the suggestion. Installation is already supported from a network repo...

      Thanks for the suggestion. Installation is already supported from a network repository (without an ISO). The purpose of the ISO image was to allow more complete installations in data centers where external network access is restricted and the ISO(s) are being downloaded elsewhere.

      It might be interesting to augment that with a netinst ISO in the future though. The Debian tools do not allow you to build a combined binary+source netinst image which makes license compliance a lot more time consuming which is why I haven't simply just built one right away.

      Thanks, Ian.

  3. Jun 29, 2009

    Anonymous says:

    Jjigdo fails, it can't download one file (/dists/lenny/main/installer-i386/20090...

    Jjigdo fails, it can't download one file (/dists/lenny/main/installer-i386/20090123lenny1/images/netboot/xen/vmlinuz). The file seems to have changed it's under .../20090123lenny3/... now.

    Will there be an update soon?

    1. Jun 29, 2009

      Anonymous says:

      me to ,i change the file debian-50-i386-source-xen-DVD-1.jigdo,from 20090123lenn...

      me to ,i change the file debian-50-i386-source-xen-DVD-1.jigdo,from 20090123lenny1 to 20090123 or 20090123lenny3 , the file can be download ,but jigdo fails to build the ios image at the end.

      1. Jun 30, 2009

        ian campbell says:

        Jigdo is pretty picky about the checksums of the files it downloads so simply ch...

        Jigdo is pretty picky about the checksums of the files it downloads so simply changing the URL would not have been sufficient. I have updated the jigdo file now so it should work for you.

        1. Jul 01, 2009

          Anonymous says:

          Ii just download the file http://ca.downloads.xensource.com/debian/lenny/debian-...
          1. Jul 01, 2009

            ian campbell says:

            Sorry, I put the new files up and then forgot to update the symlink to point to ...

            Sorry, I put the new files up and then forgot to update the symlink to point to them, I have done it now.

            1. Jul 01, 2009

              Anonymous says:

              it's OK. I  successful installed lenny on xenserver 5.5 with the ios image ...

              it's OK. I  successful installed lenny on xenserver 5.5 with the ios image your have made ,I found that

              1   this image cann't be install by the means "install from ISO image";

              2   this image can be install by the means "install from Physical DVD Drive";

              but the smiplest way to install lenny on xenserver5.5 is "install from URL:http://mirrors.cn99.com/debian/".

              and "install from Physical DVD Drive" is faster than "install from URL".

              thanks.

              1. Jul 02, 2009

                ian campbell says:

                Thankyou for the feedback. 1   this image cann't be install by the ...

                Thankyou for the feedback.

                1   this image cann't be install by the means "install from ISO image";

                That's very strange, this is the option I use basically all the time and it works fine for me. If this really doesn't work for you it would be worth starting a separate thread on the forums about it (or talking to support if you have that option)

                1. Jul 02, 2009

                  Anonymous says:

                  I use xencenter ,install from ISO image ,when the VM start, i got internal ...

                  I use xencenter ,install from ISO image ,when the VM start, i got internal error :all loop devices are busy

                   

                  1. Jul 03, 2009

                    ian campbell says:

                    Strange. http://forums.citrix.com/thread.jspa?threadID=152245&tstart=0 sugg...

                    Strange.

                    http://forums.citrix.com/thread.jspa?threadID=152245&tstart=0 suggests you might need to make the export of your isosr rw not ro (i.e. in /etc/exports on the NFS server).

                    If that doesn't help it would be very useful if you were to either start a new forum thread or open a support case, including a server status report.

                    1. Jul 05, 2009

                      Anonymous says:

                      thank you I use windows xp cifo share like this \\192.168.8.58\iso ,i use ...

                      thank you

                      I use windows xp cifo share like this \\192.168.8.58\iso ,i use cnetos5.3.iso for vm,the vm can start,i use debian-50-i386-source-xen-DVD-1.iso for vm ,the vm got internal error :all loop devices are busy. i change the user right for RW, the symptom didn't disappear.

                      i have test this on IBM x3650 with 2 CPU sockets , 9.1GB mem , local storage and IBM x3850M2 with 4 cpu sockets ,64GB mem , FC storage . this error all happen.

                      by the way ,the hosts's xen server 5.5.0 are upgrade from xenserver 5.0.0 p3,one have free license and one have essentials license.

                    2. Jul 07, 2009

                      Anonymous says:

                      sorry I change the iso share from one windows xp machine to another windows xp ...

                      sorry

                      I change the iso share from one windows xp machine to another windows xp machine,it can boot .every thing is OK.

              2. Mar 22, 2010

                Anonymous says:

                Hello, I have tried to install from http://mirrors.cn99.com/debian/ it works......

                Hello,

                I have tried to install from http://mirrors.cn99.com/debian/
                it works...
                How to I get the graphical userinterface?
                I can login as root
                I see that gnom is loaded but I do not know how to switch to the graph interface.
                Any help would be nice.
                Thank you, Werner.

    2. Jun 30, 2009

      ian campbell says:

      This was due to the recent Debian update to Lenny which included an update to th...

      This was due to the recent Debian update to Lenny which included an update to the installer, hence this file was removed from the Debian mirrors.

      I have rebuilt the jigdo so that it does not require this file (it is now included in the .template). The link remains the same and now points to the new version.

      1. Sep 08, 2009

        Anonymous says:

        Looks like it might need another update, I've got 64 files that won't download f...

        Looks like it might need another update, I've got 64 files that won't download from the site.

        Most are harmeless, except that the dhcp3 client udeb has been updated, which is a somewhat useful to have for most networks.

        1. Sep 10, 2009

          ian campbell says:

          Thanks, I was just preparing an update and have uploaded it now.

          Thanks, I was just preparing an update and have uploaded it now.

  4. Jul 01, 2009

    Anonymous says:

    when do you expect to support 64bit installations of Lenny?

    when do you expect to support 64bit installations of Lenny?

    1. Jul 02, 2009

      ian campbell says:

      Support for 64 bit installations of Lenny is conditional on upstream providing t...

      Support for 64 bit installations of Lenny is conditional on upstream providing that support in their installer. I'd expect that to land at least in the squeeze installer possibly to be part of the "Lenny-plus-half".

  5. Jul 01, 2009

    Anonymous says:

    Must be some major changes - the current jigdo file download over 4gb but fails ...

    Must be some major changes - the current jigdo file download over 4gb but fails to build the iso file - says 241 files missing and i can't find them on any mirror - including the xensource one.

  6. Jul 02, 2009

    Anonymous says:

    It doesen`t work anymore. I think this comes with the update to debian 5.0.2!...

    It doesen`t work anymore. I think this comes with the update to debian 5.0.2!?

    Over 400 files cant be found.

    Is there any way to download the needed files for an 5.0.2 installation??

     (I`ve tryed it with the windows version - doesnt know if the linux version works)

    thanks

    1. Jul 02, 2009

      ian campbell says:

      Yes, it does appear that the 5.0.2 release has completely broken the jigdo. We w...

      Yes, it does appear that the 5.0.2 release has completely broken the jigdo. We were hoping that even with updates the original packages would remain on the Debian servers but apparently that is not the case.

      I'll have to rebuild the jigdo from scratch against an updated mirror. This is likely to take me a little while.

  7. Jul 02, 2009

    Anonymous says:

    OK - please inform us when you have finished! can you tell us when you prob...

    OK - please inform us when you have finished!

    can you tell us when you probably will be done with that??

    thanks a lot!!

    f

    1. Jul 02, 2009

      ian campbell says:

      It is done now and I have update the URL in the text.

      It is done now and I have update the URL in the text.

  8. Jul 02, 2009

    Dirk Heiss says:

    Hi, same problem here - but if you provide http://snapshot.debian.net/archive/2...

    Hi,

    same problem here - but if you provide http://snapshot.debian.net/archive/2009/01/30/debian/ you will find most of the files. Then try again and identify an outdated mirror which hosts the few files still missing, e.g. http://altruistic.lbl.gov/mirrors/debian worked for me... just as a quick fix for now.

    D

  9. Jul 03, 2009

    Anonymous says:

    OK - It seems to have worked this time (iso was build)... will install tomorrow....

    OK - It seems to have worked this time (iso was build)... will install tomorrow.

    thank you a lott and good night!!

    f

  10. Jul 29, 2009

    Anonymous says:

    Hello your method worked well for me, however when I try to run iptables I get...

    Hello

    your method worked well for me, however when I try to run iptables I get errors.
    Looks to me the kernel doesn't have iptables compiled into it

    iptables -L
    FATAL: Module ip_tables not found.
    iptables v1.4.2: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
    Perhaps iptables or your kernel needs to be upgraded.

    modprobe iptables
    FATAL: Module iptables not found

    Im I going to have to manually recompile the kernel ? I havent done that for years

    1. Jul 30, 2009

      ian campbell says:

      Please see this forum thread for more info:http://forums.citrix.com/thread.jspa?...
  11. Aug 03, 2009

    Anonymous says:

    When I tried using the jigdo file I got this error: Found 0 of the 4608 files r...

    When I tried using the jigdo file I got this error:

    Found 0 of the 4608 files required by the template

    IS there something I'm doing wrong?

    1. Aug 03, 2009

      Anonymous says:

      The instruction worked fine for me some minutes ago ... i used http://ftp2.de.de...

      The instruction worked fine for me some minutes ago ... i used http://ftp2.de.debian.org as the mirror.

      I used to upgrade the build-in etch-template to lenny by hand - it seems to result in high iowaits on various machines at the momentary patchlevel (machines act as lamp-webserver whit local storage).  Anybody else having trouble with this ? 

  12. Sep 08, 2009

    Anonymous says:

    I install Etch, update to Lenny and can`t localize to russian in console... Only...

    I install Etch, update to Lenny and can`t localize to russian in console... Only ????? symbols...

    1. Sep 10, 2009

      ian campbell says:

      You should post you issue to the support forums rather than appending it here.

      You should post you issue to the support forums rather than appending it here.

  13. Oct 13, 2009

    Anonymous says:

    Hello, Thanks for this article i try to follow in practise. First attempts give...

    Hello,

    Thanks for this article i try to follow in practise. First attempts gives me that one file were missing, trying with another ftp...

    When you say "Unfortunately at the time of release the Official Debian installation CD and DVD ISO images did not contain a XenServer-compatible kernel and therefore cannot be used with XenServer."  Is it also true with the centos releases as Citrix claims to support them into xenserver 5.5 ?

    Where is the official Xenserver template repository for supported guests ?

    Regards

    Alex

    1. Oct 13, 2009

      ian campbell says:

      CentOS supports installation as a Xen guest directly in the upstream media. The ...

      CentOS supports installation as a Xen guest directly in the upstream media. The issues described on this page are only to do with Debian.

      I'm not sure what you mean by "official Xenserver template repository", all the supported guests have templates included in the XenServer installation by default.

  14. Oct 13, 2009

    Anonymous says:

    If template update repository does not exist, it's normal you don't understand m...

    If template update repository does not exist, it's normal you don't understand my question . I imagined that xenserver templates proposed into xenserver by default were not numerous when time goes and that we have to wait until the next xenserver release to have more of them. So, i were asking myself if an update repository were existing to add more "capabilities" to xenserver in terms of supported os.

     Apparently, if i consider your answer, such a repository does not exist and we have to rely only on what is proposed by xenserver by default.

  15. Oct 13, 2009

    Anonymous says:

    Now i still try to find the good ftp without success, i always have 0 files foun...

    Now i still try to find the good ftp without success, i always have 0 files found.

    Do you have a recommanded one at this moment ?

  16. Oct 19, 2009

    Nick Gorbikoff says:

    Hello. I downloaded and created an ISO. When trying to create a VM I keep getti...

    Hello.

    I downloaded and created an ISO. When trying to create a VM I keep getting this error

     The bootloader for this VM returned an error. Did the Vm installation succeed?

    Does anyone have any idea?  ( I can still thou create and etch VM and then upgrade to lenny if I want, but I wanted to do this the "proper way"  )

    1. Oct 29, 2009

      Anonymous says:

      Nick: Did you manage to fix the bootloader problem? I ran into the same problem ...

      Nick: Did you manage to fix the bootloader problem? I ran into the same problem myself trying to install using the ISO, both from DVD and a network share. Have tried some suggestions found on the Internet, but no success. This is the full error message:

      Error: Starting VM 'Herbert 2.0' - The bootloader for this VM returned an error -- did the VM installation succeed?  Error from bootloader: Return code: 1; Log = Traceback (most recent call last):
        File "/usr/bin/pygrub", line 719, in ?
          raise RuntimeError, "Unable to find partition containing kernel"
      RuntimeError: Unable to find partition containing kernel
       

      1. Nov 04, 2009

        ian campbell says:

        What partitioning scheme did you use for the installation? pygrub cannot boot fr...

        What partitioning scheme did you use for the installation? pygrub cannot boot from LVM volumes for example so you may need to create a separate /boot partition.

    2. Nov 04, 2009

      ian campbell says:

      If you dig through /var/log/messages and/or /var/log/xensoure.log you will hopef...

      If you dig through /var/log/messages and/or /var/log/xensoure.log you will hopefully find a more detailed error message which will give a hint to what actually went wrong.

  17. Nov 03, 2009

    Anonymous says:

    Hello,  I have got an error message:  -2009-11-03 13:51:25-  (V...

    Hello,

     I have got an error message:

     -2009-11-03 13:51:25-  (Versuch:20)  http://ca.downloads.xensource.com/debian/lenny/debian-503-i386-source-xen-DVD-1.template
    Verbindungsaufbau zu ca.downloads.xensource.com|70.42.241.100|:80... verbunden.
    HTTP Anforderung gesendet, warte auf Antwort... Lesefehler (Die Wartezeit für die Verbindung ist abgelaufen) beim Vorspann (header).
    Aufgegeben.

    File `debian-503-i386-source-xen-DVD-1.template' does not exist!

    Any suggestions?

    1. Nov 04, 2009

      ian campbell says:

      I have just tried this and it is there now. Might have been a temporary outage o...

      I have just tried this and it is there now. Might have been a temporary outage or perhaps you have a proxy or something which is interfering.

  18. Jan 02, 2010

    Anonymous says:

    Even with xenserver 5.5 i still can't install debian lenny on my system. tried u...

    Even with xenserver 5.5 i still can't install debian lenny on my system. tried using a mirror, a netinstallm a cd, a dvd, NOTHING works.

    Always getting the message

    2/1/2010 7:14:50 μμ Error: Starting VM 'Debian Lenny 5.0 (1)' - The bootloader for this VM returned an error -- did the VM installation succeed?  Error from bootloader: Return code: 1; Log = INVALID_SOURCE
    _Unable to access a required file in the specified repository: http://ftp2.de.debian.org/dists/lenny/main/installer-i386/current/images/netboot/xen/vmlinuz._

    (the message above is from a mirror (url))
    and the whole xenserver thingy is getting annoying! Debian is a major distribution and should be given better priority than windows 7 support (for example) :S

    Thanks for your time reading this and hope to get it solved as soon as possible.

    Best regards

    Atnonis

    1. Jan 02, 2010

      ian campbell says:

      http://ftp2.de.debian.org/dists/lenny/main/installer-i386/current/images/netboot...

      http://ftp2.de.debian.org/dists/lenny/main/installer-i386/current/images/netboot/xen/vmlinuz"

      This means you entered an incorrect mirror URL. You appear to have entered http://ftp2.de.debian.org but the correct URL would appear to be http://ftp2.de.debian.org/debian/. The trailing /debian/ is important since it specifies the path to the base of the mirror. The instructions in the documentation correctly include it in the examples, as does the Debian mirror list.

      a netinstall, a cd, a dvd,

      Only the precise ISO image provided on this page is suitable as an ISO installation source.

      1. Jan 30, 2010

        Anonymous says:

        I also tried to use a mirror to install debian 5 but I also get the same error: ...

        I also tried to use a mirror to install debian 5 but I also get the same error:

        30-1-2010 13:22:25 Error: Starting VM 'VM Office' - The bootloader for this VM returned an error – did the VM installation succeed? Error from bootloader: Return code: 1; Log = INVALID_SOURCE
        Unable to access a required file in the specified repository: http://ftp.nl.debian.org/debian/dists/lenny/main/installer-i386/current/images/netboot/xen/vmlinuz.

        I checked several mirrors but it won't work. Please check the URL and this seems to be right!

        1. Feb 08, 2010

          Anonymous says:

          Change on ftp://ftp.nl.debian.org/debian/dists/lenny/main/installer-i386/current...
  19. Jan 22, 2010

    Anonymous says:

    Error from bootloader: Return code: 1; Log = INVALID_SOURCE I get this when I ...

    Error from bootloader: Return code: 1; Log = INVALID_SOURCE

    I get this when I use a template along with standard install media. Just select "Other install media". I think this happens when you try to use media that is has not been prepaired for paravirtualization.  I assume when I select "Other", that I am doing a full virtualization which does not need any special install media. 

    1. May 03, 2010

      Anonymous says:

      Hello.  I was also getting the INVALID_SOURCE when using a local CIFS iso f...

      Hello.  I was also getting the INVALID_SOURCE when using a local CIFS iso for Debian Lenny.  I changed the VM type to "Other" and it started right up! 

  20. Jan 26, 2010

    Anthony Francis says:

    Can a XenServer compatible image for Debian 64-bit or instructions on how to mak...

    Can a XenServer compatible image for Debian 64-bit or instructions on how to make this image be made available?

    I know that Debian 64-bit is not supported but this is something I would like to test.

  21. Feb 13, 2010

    Anonymous says:

    I've successefully installed 5.04 under XenServer 5.0 with latest updates (at th...

    I've successefully installed 5.04 under XenServer 5.0 with latest updates (at this moment I physycally can't upgrade host till 5.5).

    Trying to install xs-tools, getting "ok, reboot", nothing.

    after adding citrix repo to /etc/apt/sources.list

    Setting up xe-guest-utilities (5.0.0-367) ...
    update-rc.d: warning: /etc/init.d/xe-linux-distribution missing LSB information
    update-rc.d: see <http://wiki.debian.org/LSBInitScripts>

    and still nothing

    will this work under XenServer 5.0 or I anyway must run into serverroom and insert new CD?

    (or, maybe, absolutely offtopic, you can show me the way how to upgrade 5.0 to 5.5 remotely via ssh/xencenter?)

  22. Mar 19, 2010

    Pierre MENGA says:

    Proxy config ? - Xenserver 5.5 and Debian 5 Install.  Hello, I tried both...

    Proxy config ? - Xenserver 5.5 and Debian 5 Install.

     Hello,

    I tried both XenCenter windows admin console and ssh xe commands, but I miss something:

    I choose  URL Install, and http://ftp.fr.debian.org/debian site for installation.

    But I have to tell xenserver to use an authenticated proxy (let's say http://user:password@proxy.com).

    In the Windows way, you can't  write user nor password (and I suppose those proxy settings are only for the xenserver connection, not for VM installation and repository downloading)

    In the console, I am sure xenserver passes through the proxy:

    But when I do execute the following commands:

    I have the same response as everyone here (unable to access a required file in the specified repository...)

    I am almost sure this is because Python doesn't have the proxy definition (host, port,user,password). But how to tell the script (it doesn't use the http_proxy variable, like yum and wget do)

    Does anyone have an answer to my question ?

    Thanks

    1. Mar 19, 2010

      ian campbell says:

      Hi Pierre, Unfortunately I think you are correct – there is no way to con...

      Hi Pierre,

      Unfortunately I think you are correct – there is no way to configure a proxy for use by the eliloader bootloader used to install Debian Lenny guests. I have raised a feature request internally to address the issue.

      In the short term the only workaround which I can think of is that you could deploy something like an apt-cacher instance internally which would not need to be accessed via the proxy or indirect via a service which in turn redirects via the proxy by some other mechanism etc.

      It might also be possible to add

      os.environ['http_proxy'] = "etcetc"

      to /usr/bin/eliloader somewhere.

      Ian.

  23. Mar 19, 2010

    Anonymous says:

    Hello, I installed debian 5.0.3 source-xen-DVD, (  make from Jjigdo ) and ...

    Hello,

    I installed debian 5.0.3 source-xen-DVD, (  make from Jjigdo ) and the kernel is correct

    2.6.29-xs5.5.0.15

    in the xencenter/performance i see used memory, but in xencenetr/network i don't see the IP address of vm

    ideas ?

    thanks

    beppe

  24. May 02, 2010

    isaac zarb says:

    Ubuntu 10.04 Lts Xenserver Template and many more ready for download. Working in...

    Ubuntu 10.04 Lts Xenserver Template and many more ready for download.
    Working in Pv mode works with Citrix Xenserver 5.5

    Download From here
    http://www.isaaczarb.com/ubuntu-10-04-template-running-on-citrix-xenserver-5-5/

  25. Jun 11, 2010

    Anonymous says:

    I created and installed the machine from the DVD "debian-504-i386-xen-source-DVD...

    I created and installed the machine from the DVD "debian-504-i386-xen-source-DVD-1.iso.
    How do I start the graphical environment (eg gnome)?
    I tried:

    -------------------------------------------------------------------------------------------
    svphpsf1:~# startx
    xauth:  creating new authority file /root/.Xauthority
    xauth:  creating new authority file /root/.Xauthority
    
    X: warning; process set to priority -1 instead of requested priority 0
    
    X.Org X Server 1.4.2
    Release Date: 11 June 2008
    X Protocol Version 11, Revision 0
    Build Operating System: Linux Debian (xorg-server 2:1.4.2-10.lenny2)
    Current Operating System: Linux svphpsf1 2.6.32-4-686-bigmem #1 SMP Tue Apr 6 15:25:34 UTC 2010 i686
    Build Date: 08 June 2009  09:12:57AM
     
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    Module Loader present
    Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jun 11 12:22:22 2010
    (==) Using config file: "/etc/X11/xorg.conf"
    xf86PciVideoInfo is not set
    Could not get primary PCI info
    
    waiting for X server to begin accepting connections
    giving up.
    xinit:  Connection reset by peer (errno 104):  unable to connect to X server
    xinit:  No such process (errno 3):  Server error.
    svphpsf1:~#
    -------------------------------------------------------------------------------------------
  26. Jul 06, 2010

    Adam Kinney says:

    I have successfully created the jigdo .iso file and installed from it.  Ive...

    I have successfully created the jigdo .iso file and installed from it.  Ive cloned the VDI to use on another VM and it gives me the following error when starting the new VM.

    Error: Starting VM 'testvm' on 'smf1-vppl00-33.ironscale.com' - The bootloader for this VM returned an error -- did the VM installation succeed?  Could not read file:

    The original VM and VDI start just fine.  The cloning process works find with guest installations of other distros but not debian.  Has anybody successfully used this installation as a template?

  27. Jul 09, 2010

    Anonymous says:

    I am also having an issue starting the graphical user interface through VNC. Get...

    I am also having an issue starting the graphical user interface through VNC. Getting the same error as two posts ago. "xf86PciVideoInfo is not set" Anyone have any suggestions?

    I went into /root/.vnc/xstartup and uncommented the two lines for a normal desktop, but all that gave me was a blank grey screen with a cursor. Any help would be great. Thanks.

  28. Jul 16, 2010

    Anonymous says:

    ZenServer seems great, Are you planning to support debian in 64 bit in the futur...

    ZenServer seems great, Are you planning to support debian in 64 bit in the future, if so when?

    Are there any known issues with debian in 64bit? Could it be run on production servers?

    1. Jul 16, 2010

      Anonymous says:

      Xen, sorry for the spelling mistake

      Xen, sorry for the spelling mistake

  29. Aug 10, 2010

    Anonymous says:

    When I try to install via URL "http://mirrors.cn99.com/debian/" every thing goes...

    When I try to install via URL "http://mirrors.cn99.com/debian/" every thing goes great until it wants me to pick a download location. It appears that none of the mirror sites have the distribution that the URL is looking for.

    When I try to download the distribution using Jigdo for Windows by going to its homepage http://atterer.net/jigdo/ the site has been taken over and the download is no longer available. Can anyone help me with this?

  30. Aug 12, 2010

    Nick antone says:

    Ian, Can you update the links in the main article to the correct location for t...

    Ian,

    Can you update the links in the main article to the correct location for the Jigdo software? atterer.org vice the currently borked atterer.com

    Might save others from having to read all the comments and or searching the web for the answer.

    Much appreciated!

  31. Aug 14, 2010

    Edward Odufuwa says:

    Hi Jeff, Thanks, that worked fine. However I seem to now have a Network issue. ...

    Hi Jeff,

    Thanks, that worked fine. However I seem to now have a Network issue.

    With /etc/network/interface looking like 

     iface eth0 inet static
    address 192.168.1.100
    netmask 255.255.255.0
    network 192.168.1.0
    broadcast 192.168.1.255
    gateway 192.168.1.254

    and /etc/resolv.conf

    nameserver 192.168.1.254
    nameserver 202.54.1.20

    I am able to ping other guest server and my host (they are on the same netmask) , but i am unable to ping my gateway, so i can not get to the outside world.

    Is there something i need to enable or disable?

    FYI - i have already installed xs-tools.iso as well.

  32. Aug 30, 2010

    Olle Hallnas says:

    Im looking for 2.6.32-4-686-bigmem header files.. nowhere to be found.. nor the ...

    Im looking for 2.6.32-4-686-bigmem header files.. nowhere to be found.. nor the source for it.. can't build kernel modules without the headers. 2.6.29 kernel in Xen 5.5.0 had headers..?

  33. Sep 10, 2010

    Anonymous says:

    Good day, I am busy downloading the XenServer compatible ISO via Jigdo but the ...

    Good day,

    I am busy downloading the XenServer compatible ISO via Jigdo but the process cannot complete as there are 154 files that cannot be found. I tried servers from different regions but none of them seem to be hosting the files.

    Can you please check whether there are updates required on the jidgo file?

     Your assistance is highly appreciatted.

  34. Sep 10, 2010

    Anonymous says:

    I am managed to download 153 files from http://mirrors.xenir.com/debian/, but on...

    I am managed to download 153 files from http://mirrors.xenir.com/debian/, but one file cannot be downloaded due to being too large.

    Here is the output message:

    -----------------------------------------------------------------
    Merging parts from `file:' URIs, if any...
    Found 0 of the 1 files required by the template
    Copied input files to temporary file `debian-505-i386-source-xen-DVD-1.iso.tmp'
    - repeat command and supply more files to continue
    -10:55:32http://ftp.us.debian.org/debian/pool/main/l/linux-modules-extra-2.
    6/speakup-modules-2.6.26-2-686-bigmem_2.6.26+3.0.3+git20080724.dfsg.1-6+lenny3_i
    386.deb
               => `debian-505-i386-source-xen-DVD-1.iso.tmpdir/ftp.us.debian.org/deb
    ian/pool/main/l/linux-modules-extra-2.6/speakup-modules-2.6.26-2-686-bigmem_2.6.
    26+3.0.3+git20080724.dfsg.1-6+lenny3_i386.deb'
    Resolving ftp.us.debian.org... 204.152.191.39, 35.9.37.225, 64.50.233.100, ...
    Connecting to ftp.us.debian.org[204.152.191.39]:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 58,250 [text/plain]
    debian-505-i386-source-xen-DVD-1.iso.tmpdir/ftp.us.debian.org/debian/pool/main/l
    /linux-modules-extra-2.6/speakup-modules-2.6.26-2-686-bigmem_2.6.26+3.0.3+git200
    80724.dfsg.1-6+lenny3_i386.deb: No such file or directory

    Cannot write to `debian-505-i386-source-xen-DVD-1.iso.tmpdir/ftp.us.debian.org/d
    ebian/pool/main/l/linux-modules-extra-2.6/speakup-modules-2.6.26-2-686-bigmem_2.
    6.26+3.0.3+git20080724.dfsg.1-6+lenny3_i386.deb' (Result too large).
    Found 0 of the 1 files required by the template
    Copied input files to temporary file `debian-505-i386-source-xen-DVD-1.iso.tmp'
    - repeat command and supply more files to continue

    Your assistance is highly appreciated.

    1. Sep 10, 2010

      Anonymous says:

      search in google specific file in your case "speakup-modules-2.6.26-2-686-bigmem...

      search in google specific file in your case "speakup-modules-2.6.26-2-686-bigmem_2.6.26+3.0.3+git20080724.dfsg.1-6+lenny3_i386.deb" file when you don't find mirror with this file only option is download iso images with debian source files version 5.0.5.

      Tobiasz

  35. Sep 13, 2010

    Anonymous says:

    How do I go about synchronising the iso image with the one from xensource? anot...

    How do I go about synchronising the iso image with the one from xensource?

    another thing in the error message is that the "Result too large" and I am not sure what that means..

    Cannot write to `debian-505-i386-source-xen-DVD-1.iso.tmpdir/ftp.us.debian.org/d
    ebian/pool/main/l/linux-modules-extra-2.6/speakup-modules-2.6.26-2-686-bigmem_2.
    6.26+3.0.3+git20080724.dfsg.1-6+lenny3_i386.deb' (Result too large).

  36. Sep 13, 2010

    Anonymous says:

    I finally got the iso completely generated. What I did is : Downloaded the /s...

    I finally got the iso completely generated.

    What I did is :
    Downloaded the /speakup-modules-2.6.26-2-686-bigmem_2.
    6.26+3.0.3+git20080724.dfsg.1-6+lenny3_i386.deb file to my computer.
    Ran the jidgo-lite
    Entered the local directory path to the file, to "Files to scan" option

    Thanks for your help..

  37. Oct 08, 2010

    Anonymous says:

    Hi, downloading template via jigdo is not working : -11:10:38- http://ca.dow...

    Hi,
    downloading template via jigdo is not working :

    -11:10:38- http://ca.downloads.xensource.com/debian/lenny/debian-506-i386-sou
    rce-xen-DVD-1.jigdo
    (try: 2) => `debian-506-i386-source-xen-DVD-1.jigdo'
    Connecting to ca.downloads.xensource.com[70.42.241.100]:80... failed: No such fi
    le or directory.
    Retrying.

    any solution on this?

    Regs,
    Daniel

  38. Oct 13, 2010

    Anonymous says:

    It worked like written for me. Many thanks for the job putting this together!...

    It worked like written for me. Many thanks for the job putting this together!

  39. Dec 06, 2010

    Anonymous says:

    I'm trying to download a Debian 5.0.6 XenServer-compatible installation ISO foll...

    I'm trying to download a Debian 5.0.6 XenServer-compatible installation ISO following this howto. The process cannot complete as there are 154 files that cannot be found. I tried mirrors servers from different regions but none of them seem to be hosting the files. The current Debian Lenny is 5.0.7 from 27 NOV 2010. It would be the package list in '.template' file not available in current mirrors servers in the world?

    GSP.

  40. Dec 10, 2010

    Anonymous says:

    Doesn't work, files missing!

    Doesn't work, files missing!

  41. Dec 15, 2010

    Anonymous says:

    It would be very much appreciated if you update the template file to support deb...

    It would be very much appreciated if you update the template file to support debian 5.0.7

  42. Dec 27, 2010

    Anonymous says:

    For me , too. "Aaargh - 152 files could not be downloaded. This should not happ...

    For me , too.

    "Aaargh - 152 files could not be downloaded. This should not
    happen! Depending on the problem, it may help to retry downloading
    the missing files."

    Please Update your Template!

  43. Dec 28, 2010

    Anonymous says:

    same to me! please update the template! thanks for you work!

    same to me! please update the template!

    thanks for you work!

  44. Jan 04, 2011

    Anonymous says:

    Kindly update the template - there's an error when downloading the files and I'd...

    Kindly update the template - there's an error when downloading the files and I'd really love to have Debian as my hosting OS.

    Alternatively, is there any remedy (e.g. network install?)?

  45. Jan 14, 2011

    John Arum says:

    This is brilliant work! However, it isn't functional at the moment, giving ...

    This is brilliant work!

    However, it isn't functional at the moment, giving the error that a number of files cannot be found. I reckon it should be the package list in your '.template' file that seem unavailable in the current Debian mirrors servers.

    Would you mind rectifying for all Debian fans?

    Thanks again for the brilliant work!

  46. Jan 16, 2011

    Anonymous says:

    Your template definitely needs an update. But why don't you make from time to t...

    Your template definitely needs an update.

    But why don't you make from time to time an ISO image (even if it doesn't have all the latest packages) and upload it somewhere and spare us from this jigdo headache ?

  47. Jan 26, 2011

    Anonymous says:

    need new template

    need new template

  48. Jan 26, 2011

    Anonymous says:

    Getting this error when trying to book Lenny i386 32bit under xen 5.5 update2 as...

    Getting this error when trying to book Lenny i386 32bit under xen 5.5 update2 as installed from url ftp.debian.org/debian/ as recommended

    Error: Starting VM 'Debian Lenny 5.0 (1)NEWB' - The bootloader for this VM returned an error – did the VM installation succeed? Error from bootloader: Return code: 1; Log = Traceback (most recent call last):
    File "/usr/bin/pygrub", line 719, in ?
    raise RuntimeError, "Unable to find partition containing kernel"
    RuntimeError: Unable to find partition containing kernel

    I can attack disks to another linux and they look to have been created ok, but i dont understand why PYGRUB cant find the right partition.

    Is it possible the kernel name in grub is incorrect?
    Where do i look to find grub config ? ...In DOM0 or DOMU ?
    How does PYGRUB transfer control to DOMU?

    1. Jan 27, 2011

      Anonymous says:

      "Aaargh - 208 files could not be downloaded. This should not happen! Dependi...

      "Aaargh - 208 files could not be downloaded. This should not
      happen! Depending on the problem, it may help to retry downloading
      the missing files."

      Looks like the template needs to be updated again

      1. Jan 31, 2011

        Anonymous says:

        I did the network install as per the instructions, ran through the Lenny install...

        I did the network install as per the instructions, ran through the Lenny install scripts ,there was no sign of missing files of failure of the FTP part or the install scripts. It just does not work but i cant figure out if its a Xen issue or a Lenny issue. Also tried installing from Lenny iso CD1 ..surely someone else has this problem too ?

  49. Feb 17, 2011

    Gaizka López C. says:

    In my case I was missing 207 files... Scanning 1st Debian 5.0.3 DVD reduced it...

    In my case I was missing 207 files...

    Scanning 1st Debian 5.0.3 DVD reduced it to 185... then I discovered these comments and the last link did the job! (so don't know how much would have helped to scan the other four Debian 5.0.3 DVDs)

    Thanks a lot everybody for the comments and for the link!

    PS: Just a tip about the link... be careful when typing it... it contains fpt words and not ftp

  50. Jun 20, 2011

    sylvain Caperaa says:

    Hi, I've the same pb :  "missing 207 files" I've try almost all the downl...

    Hi,

    I've the same pb :  "missing 207 files"

    I've try almost all the download ftp site without succed.

    I don't even have the 1st Debian DVD.

    Does anyone can help me ?

    Thanks

  51. Jul 15, 2011

    Tonny Andersson says:

    I have the same problem. 207 files missing that cannot be downloaded. Since it s...

    I have the same problem. 207 files missing that cannot be downloaded. Since it seems lika alot of people having trouble with this, I suggest you to make the ISO available in some other way than jigdo. Really.

    1. Aug 05, 2011

      Andreas Tellefsen says:

      Got the same problem, 207 files are missing. I decided to download the entire d...

      Got the same problem, 207 files are missing.

      I decided to download the entire debian DVD set, and set jigdo to find the missing files from those. After searching through all 5 DVDs I am still missing 94 files...

      Is there any way to see which files these are?

  52. Aug 22, 2011

    Richard Persaud says:

    To download missing files, specify the Debian snapshot server, which archives ol...

    To download missing files, specify the Debian snapshot server, which archives older packages:

    http://us.cdimage.debian.org/cdimage/snapshot/Debian

    1. Sep 16, 2011

      Alberto Curtolo says:

      Hi Richard! I still miss 37 files! Do you know another URL? Thanks a lot! Bye!

      Hi Richard!
      I still miss 37 files!
      Do you know another URL?
      Thanks a lot! Bye!

      1. Oct 05, 2011

        Jan Stroh says:

        Hi @all, I've got the same problem as Alberto. Did anybody knows a mirror with...

        Hi @all,

        I've got the same problem as Alberto.

        Did anybody knows a mirror with the other 37files?

        Thanks a Lot!

        Bye

  53. Oct 25, 2011

    Heiko Roepke says:

    We've got the same problems as the other customers (33 files missing after using...

    We've got the same problems as the other customers (33 files missing after using richard's-url). Our XenServer-Version: XenServer 5.6 SP2

    As well it would be nice to get an working jigdo-template to the last stable debian lenny release (5.0.9). At this point, we see no way to get a working debian lenny os on citrix xenserver. Are there any workarounds?

    Thank you in advance.

    Greetings!

Related Links