[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D

  • To: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>, Stephen Spector <stephen.spector@xxxxxxxxxx>
  • From: Martinx - ジェームズ <thiagocmartinsc@xxxxxxxxx>
  • Date: Fri, 3 Sep 2010 14:26:48 -0300
  • Cc:
  • Delivery-date: Fri, 03 Sep 2010 10:29:13 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=DjGCBRvRLbOVNd0yXDf7d+m2BykrB6nbCIpv+5NfEXAdMwzPD/NLzO/dZ+gX605HZj uQ1kNXnUNfG3Nirx6o92ZvcOmviPzqIrIpCU19tewadZzOgi9n2rpnSxKbrZeeTVr+X7 zN175qg6KNtBGYJHbkyWqmFvkhGAHagVZS4iA=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>


ÂIf my server is down, all of you can download the Linux configuration file (a.k.a. .config) from an attachment of this mail.


2010/8/31 Martinx - ããããã <thiagocmartinsc@xxxxxxxxx>

Â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- -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...
Âchmod g-s /usr/src/ -R
Âmake deb-pkg
Âdpkg -i ../linux-image-*.deb
Âupdate-initramfs -c -k

Â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 ----
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' {
ÂÂÂÂÂÂÂ 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- dummy=dummy root=/dev/sda4 i915.modeset=0 earlyprintk=xen ro
ÂÂÂÂÂÂÂ module (hd0,4)/boot/initrd.img-
---- 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.


ÂChoose the right Grub2 menu entry...



Attachment: linux-config-
Description: Binary data

Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.