WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits

To: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>, Stephen Spector <stephen.spector@xxxxxxxxxx>
Subject: [Xen-users] Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D
From: Martinx - ジェームズ <thiagocmartinsc@xxxxxxxxx>
Date: Tue, 31 Aug 2010 19:01:57 -0300
Cc:
Delivery-date: Tue, 31 Aug 2010 15:03:46 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=M/12mWYUySs8wodYFOb1hL+oB9K5M/d2UFaaNnpuZGg=; b=EG4/8uRNB3PjevJXDLB8e9q42hOuUfRqiegY6ti5SsvFT/RziBwynM94gbxfsTJ1zn JgbigG3vtthfpkl7iFMUFTdb2RfDrJ6tPVPrBkHeaACMG1CvYluaEf9CBU+Bu4kv6m9/ 6jQ9Ju5ZJZOcba1masKcZvl8Siu4Mk0y3HgiE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=S6eYiVqlbnBUM86ciBYwitWoxOzlILpLxNVe1r3PJFQ6XHTGdWfbhyoiJbq20KEySr lOwegm9L+ss7h77Tnmxf0aiqLhgrAdS36ErIF3XjEnu5Pd0oCQMDpoFoa7p5cI0FPMar mDLQlnhvCW38pYX3aepDJ/80YWTc1300qE9Lo=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Guys!

 Tomorrow in my "live" presentation at Linuxcon Xen Directions! I'll show the Xen Live CD to the public!
 To celebrate! I want to share my last procedure to get and run Xen 4.0.1 on Ubuntu 10.04 64 bits, here we go:



      The procedure:


 1- Install all the packages:

 aptitude update
 aptitude install bridge-utils build-essential libncurses5-dev dpkg-dev debhelper fakeroot uuid-dev iasl texinfo git-core
 apt-get build-dep xen-3.3

 2- Download, compile and install Xen and its tools:

 cd /usr/src
 wget http://bits.xensource.com/oss-xen/release/4.0.1/xen-4.0.1.tar.gz
 tar xf xen-4.0.1.tar.gz
 cd xen-4.0.1
 make xen
 make tools
 make stubdom
 make install-xen
# make install-tools
 make install-tools PYTHON_PREFIX_ARG=
 make install-stubdom


 3- Download, compile and install Linux from the Jemery's tree:

 make prep-kernels
 wget http://livexen01.worldweb.com.br/linux-config-2.6.23.18-xen-4.0.1-1-tcmc-10.08-1 -O build-linux-2.6-pvops_x86_64/.config
 cd build-linux-2.6-pvops_x86_64
 make menuconfig # Change whatever you want, if you now what you're doing...
 make
 chmod g-s /usr/src/ -R
 make deb-pkg
 dpkg -i ../linux-image-2.6.32.18-tcmc-10.08-1-xen_2.6.32.18-tcmc-10.08-1-xen-*.deb
 depmod 2.6.32.18-tcmc-10.08-1-xen
 update-initramfs -c -k 2.6.32.18-tcmc-10.08-1-xen

 4- Enable Xen at boot:

 update-rc.d xend defaults 20 21
 update-rc.d xendomains defaults 21 20

 5- Configure the Grub2:

 vim /etc/grub.d/40_custom

---- cut here ----
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the ‘exec tail’ line above.

menuentry 'Xen 4.0.1, Ubuntu 10.4 kernel 2.6.32.18' {
        recordfail
        insmod ext2
        set root='(hd0,4)'
        multiboot (hd0,4)/boot/xen-4.0.1.gz dummy=dummy dom0_mem=832M
        module (hd0,4)/boot/vmlinuz-2.6.32.18-tcmc-10.08-1-xen dummy=dummy root=/dev/sda4 i915.modeset=0 earlyprintk=xen ro
        module (hd0,4)/boot/initrd.img-2.6.32.18-tcmc-10.08-1-xen
}
---- cut here ----

 NOTE.: Pay attention to you root partition and also you'll need to disable the KMS (maybe the nomodeset option works for you) of your videoboard.

 update-grub
 reboot

 Choose the right Grub2 menu entry...

 Done!

Cheers!
Thiago

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D, Martinx - ジェームズ <=