Install Xen Kernel on Ubuntu 9.04 Jaunty i386

I stole the kernel from debian’s pool.

wget http://ftp.debian.org/debian/pool/main/l/linux-2.6/linux-modules-2.6.26-2-xen-686_2.6.26-15_i386.deb
wget http://ftp.debian.org/debian/pool/main/l/linux-2.6/linux-image-2.6.26-2-xen-686_2.6.26-15_i386.deb
sudo dpkg -i linux-modules-2.6.26-2-xen-686_2.6.26-15_i386.deb
sudo dpkg -i linux-image-2.6.26-2-xen-686_2.6.26-15_i386.deb

* It’s a good idea to look for newer version. I don’t know why we cannot search by the debian website. But you can use the FTP…

Advertisements

14 Responses to “Install Xen Kernel on Ubuntu 9.04 Jaunty i386”

  1. dbaxps Says:

    Where you gonna steel Xen Hypervisor ? ;)

    • genki Says:

      I believe the xen hypervisor is in the linux-image-2.6.26-2-xen-686_2.6.26-15_i386.deb
      I don’t have Ubuntu PC anymore… I switched to CentOS 5.3

  2. Michael Says:

    I have an Intel® 2 Core(TM) Duo processor E6600. According to http://wiki.xensource.com/xenwiki/HVM_Compatible_Processors this processor is able to run a Xen kernel.
    Still I got the error message when executing sudo dpkg -i linux-image-2.6.26-2-xen-686_2.6.26-15_i386.deb command:

    Ignoring Xen kernel on non-Xen host: vmlinuz-2.6.26-2-xen-686

    The /boot/grub/menu.lst is not updated with the Xen kernel :-(
    Any hints?
    A Google revealed that such error messages usual appear on processor not capable of handling Xen, but I am sure the E6600 is able to handle Xen.
    Thanks in advance

    • genki Says:

      Installation seems OK. The error message is caused by the “update-grub” command which has no idea about Xen.

      So, you have to edit the menu.lst manually. You may have to depmod and mkinitrd if you don’t have the kernel image in /boot

      I no longer have Ubuntu at my PC, not sure about all the details…

      Good Luck

      • Michael Says:

        Thanks for sharing! I’ll give it a try

      • Michael Says:

        Last info:
        Still no luck.
        1) Like you said all required files are in the /boot directory. So that’s fine.
        2) /boot/grub/menu.lst adjusted:
        title Ubuntu 9.04, kernel 2.6.26-2-xen-686
        root (hd0,0)
        kernel /boot/vmlinuz-2.6.26-2-xen-686 root=UUID=4fee0d77-b8fa-44a5-b2b0-c647bf4b96fd ro quiet splash
        initrd /boot/initrd.img-2.6.26-2-xen-686
        quiet

        (All the files and images specified in the menu.lst surely exist in the /boot folder.)

        3) when booting and select the Xen kernel I got immediately the message: “Invalid Executable format”. A key press brings me nicely back to the grub menu.

        I someone have any clue, please let me know?
        Thanks

      • LeighM Says:

        Hey Micheal,
        You may have to enable VT in your BIOS as I have had to do on every intel machine that supports VT.

        If its dell they call it flat out “Virtualization”.

        -Leigh

  3. dbaxps Says:

    itle Ubuntu 9.04, kernel 2.6.26-2-xen-686
    root (hd0,0)
    # Severe errors when trying to load xenified kernel as vanilla.
    # Fixed bellow
    kernel /boot/xen-3.4.gz
    module /boot/vmlinuz-2.6.26-2-xen-686 root=UUID=4fee0d77-b8fa-44a5-b2b0-c647bf4b96fd ro quiet splash
    module /boot/initrd.img-2.6.26-2-xen-686
    quiet

    • Michael Says:

      Thanks!!

    • Frank Says:

      Hi,
      I am trying to install Ubuntu 9.04 desktop as a Xen Guest on Citrix XenServer.
      I have installed the Debian 2.6.26-2 kernel modules and image.

      I get the “Invalid Executable format”.
      I understand that can be solved by putting xen-3.4.gz in the menu.lst. I suppose that there must be a file of that name in /boot.
      Do I get that file there by installing the binary distribution of Xen 3.4 just by ./install.sh ??
      Thanks for your help.

      • Keith Lynch Says:

        Trying todo the same thing but with Ubuntu server edition running as a DomU Guest on Citrix XenServer. I’ve followed the guide to make xen-3.4.gz… now xen-3.5.gz actually. However now I’m looking at a Grub error 15 File Not Found. I’ve checked the paths in the menu.lst and everything is perfect.

        Any ideas?

  4. dbaxps Says:

    Straight forward setup Xen 3.4.1 Dom0 on top of Ubuntu 9.04 Server via Marc – A. Dahlhaus’s UDEV patch.
    http://bderzhavets.wordpress.com/2009/06/25/setup-xen-3-4-1-dom0-on-top-of-ubuntu-9-04-server-via-marc-a-dahlhauss-udev-patch/

  5. dbaxps Says:

    Setup Xen 3.5 unstable on Ubuntu 9.04 Server is just straight forward.
    The only Config.mk should be tuned as above. Patches are already there.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: