[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D
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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |