Ubuntu 9.10 32Bit For Citrix Xenserver 5.x

By | November 7, 2009

Finally, after a long night of frustration, i have managed to get Ubuntu 9.10 working on xenserver, Basically, i had to leave out the update to grub 2, since the pygrub that comes with xenserver does’ not read Grub2 configs, and it also doesn’t read ext4,
So This image uses the ext3 fs, and the normal grub, due to limitations on the xenserver side, or you may say ubuntu are very quick to implement the new features,
Apart from that it’s a full Ubuntu 9.10 installation, So far i have done the 32Bit, the 64Bit will follow shortly,
i have used an ec2 kernel, Thank you amazon, since the debian xen kernel is quite old, it was giving me problems with the 9.10 version, i have tested this a little and it seems to work fine, from my experience with amazon ec2, they use the open source xen as their host for ami’s so their kernels should do the job, however if you do find any issue’s please let me know.

I hope you enjoy this Ubuntu 9.10 Template for Xenserver, the 64bit version should follow shortly, hoping that i remember all the troubles i went through to get this one working hehe,

User root
Pass password
Image set as dhcp

You can download the 32Bit version here

Source 1 or Source 2

23 thoughts on “Ubuntu 9.10 32Bit For Citrix Xenserver 5.x

  1. Helmuth

    Downloading it now, Monday morning I will kick off the import, thanks Isaac.

  2. takora kurekure

    I downloaded the Ubuntu 9.10 for Xenserver5.x template, and it was very helpful.
    Could you tell me how you make it ?
    I would like to have steps, like Ubuntu 904 PV on your blog.

  3. Bogdan Dumitru

    The megaupload mirror is amazing. 63 Mbps download speed on free download.
    Trying out your template. Hope it’s got gnome installed.

  4. Isaac Zarb Post author

    I Will create a 10gb 9.10 Template soon, really busy these past few day’s the templates will follow shortly

  5. John Goodwin

    I tried your template, and I noticed a few things. The templates are for the gnome-less install. I also tried it out, and noticed the memory doesn’t seem to update right in XenCenter. Any chance you could try out doing this for a default Ubuntu 9.10 Desktop install?

  6. Phil

    Hi Isaac,

    Thanks for your templates, however when I attach an ISO image (the xs-tools.iso will do it) to the VM, I get a kernel panick as below:

    [ 0.628005] kernel BUG at /build/buildd/linux-ec2-2.6.31/block/blk-core.c:2216!
    [ 0.628013] invalid opcode: 0000 [#1] SMP

    Have you seen this before?

  7. Isaac Zarb Post author

    Yes i have also noticed the kernel panic, thanks for noticing the bug, i will have a look and try to find a way around it,
    Maybe a kernel update or a different kernel will do the job i will keep you updated once i find something

  8. Braden

    Thanks so much!!! This is amazing, I wish they would just support Ubuntu already but this is the next best thing.

    Fyi it would not import on XenServer 5.0x but it was reason even to final upgrade to XenServer 5.5 (for the first time, which was painless). I was pleasantly surprised by the snapshot on xencenter.

  9. Priya Bhat

    Hey Isaac!

    I want to install Ubuntu 9.10 HVM (fully virualized) on a XenServer 5.5.0 (64-bit). Do you have any suggestion on what changes to make over what you have mentioned above.

    Any help would be appreciated !

  10. Nick

    Which kernel version is installed in these templates? I’d like to use ubuntu for a project which needs at least a 2.6.31 kernel. This version is available in Ubuntu 9.10, but I’m not sure wether you replaced it with a different version to enable Xen support.

    Also, do you have any plans to release 9.10 templates with 2GB disk size?

  11. Isaac Zarb Post author

    Hi Nick
    the kernel version is the linux-ec2-2.6.31 which is the amazon ec2 kernel, however there is a bug which doesn’t support mounting of cd-rom drives. otherwise its the older debian xen kernel 2.6.26
    i will try to add more custom sized templates, but at the moment i’ve been really busy with work , and since this is a side project, it taking time off this project

  12. Bill

    I have down loaded both of the 9.10 templates, but I am having problems with getting them into the 5.5 zen server.
    I don’t have much experience and am just starting out. Could you please give me some help or post some directions. Thanks.

  13. Moony

    Thanks for your image! Got it working in my XENServer 5.5.0 setup, but XenCenter tells me the wrong “tool” version is installed. Any idea how to update them – or any plans on releasing a new (karmic) version?

  14. Owen

    Hi Isaac

    First up, thanks for these templates – they are great! My only question is have you got around to creating a smaller 9.10 64bit PV template? 24GB is a bit big for me and If you have managed to do anything under 10GB and you are willing to share it, that would be fantastic.

    Thanks very much

  15. John Anson

    Hi Isaac
    Thanks for your great work creating these templates for Xen.
    Have you made any progress with resolving the CD-ROM kernel panic?

  16. Elias

    Hello Isaac Zarb

    How can I get into graphics mode with this template of Ubuntu-9.1032bitPV.7z? I’m using XenServer 5.6. I tried using the command “startx”, but did not work.


  17. Manoj

    I don’t know how good the HP recovery disks are at this, but you will need to riepar your MBR and Track 0 (Boot Track).This is a problem with GRUB and MCE or any version of Windows XP which has active antivirus. GRUB installs itself into the Hard Drive Boot Track, which looks like a corrupt Boot Record to MCE and XP. Virus scanners also detect GRUB as a virus and disable it entirely. Make an Image Backup of your Hard Drive with Paragon Backup (not Acronis True Image) or Norton Ghost before proceeding beyond this point! Include the MBR and Track 0 in your backup. Install Norton PartitionMagic 8 into your Windows Partition (normal program install). One way to avoid the Boot Track conflict problem is to create a small FAT-32 partition and install Norton BootMagic (comes with PartitionMagic, which can create all the needed partitions). BootMagic and its cousin, VCom System Commander, do not install into the Boot Track, and therefore rarely conflict with Windows XP in any flavor. So where does GRUB install? If you have already created a Linux Swap and a Linux ext-3 Partition (use PartitionMagic for this), when installing GRUB, stop and select where GRUB should install. You will need to uncover the non-default options, and know that Linux orders the partitions by numbers, not by letters as Windows does. Your Linux ext-3 partition will probably be the largest Linux formatted partition on your drive, and that is where you tell GRUB to install. Then install Ubuntu into the same partition as GRUB.BootMagic can then be told to add the Linux partition to its boot menu, and the next time you boot, both Windows XP and Ubuntu (Linux) will be available from the BootMagic Splash Screen when the computer begins to boot. This avoids the MBR and Track 0 conflicts which can make Windows and/or Linux unbootable after just one or two boot ups.

  18. Santa

    hmmm, how did you perform the inlatsl in reference to intsalling grub,, and replacing ntldr?, are you saying it is loading the windows media screen and then failing?, or grub is loading and failing? if the first u may have corrupted system files on the windows system partition possibly checkdsk or fixboot will repair,, if the second u should probably boot into ubuntu and fix the grub menu to properly point at the windows active sys partition =) becareful

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.