[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>

Guys,

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

Att,
JamesÂ

2010/8/31 Martinx - ããããã <thiagocmartinsc@xxxxxxxxx>
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


Attachment: linux-config-2.6.23.18-xen-4.0.1-1-tcmc-10.08-1
Description: Binary data

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

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