Boris Derzhavets
2008-Mar-22 18:42 UTC
[Xen-users] Install Xen 3.2 on Ubuntu 7.10 Desktop (amd64)
Backported Mercurial from Ubuntu Hardy Neron Repositories:- $ vi /etc/apt/sources.list and add this line to the end: deb-src http://us.archive.ubuntu.com/ubuntu/ \ hardy main restricted universe multiverse # apt-get update # apt-get build-dep mercurial # apt-get source -b mercurial # dpkg -i mercurial_0.9.5-2_amd64.deb Installed gcc:- # apt-get install gcc gcc-3.4 gcc-4.1 libsdl1.2-dev make libz-dev uuid-dev libasound2-dev gcc libc6-dev zlib1g-dev Dowloaded :- zlib-1.2.3.tar.gz openssl-0.9.8g.tar.gz 1. Tuned Makefile when install openssl 2. Tuned Makefile when install zlib to perform "make install" to folders expected by Xen 3.2 3.apt-get install libncurses5-dev Installing zlib configured as follows :- # ./configure --shared # make # make install (In Makefile prefix=/usr) Compiling Xen:- # cd /usr/src # wget http://bits.xensource.com/oss-xen/release/3.2.0/xen-3.2.0.tar.gz # hg clone http://xenbits.xensource.com/linux-2.6.18-xen.hg # tar -xzf xen-3.2.0.tar.gz # cd xen-3.2.0 # make all # make install # update-rc.d xend defaults 20 21 # update-rc.d xendomains defaults 21 20 # vi /etc/init.d/xend and insert before shell code:- mkdir -p /var/run/xenstored mkdir -p /var/lock/subsys Update /boot/grub/menu.lst title Xen 3.2.0 / Ubuntu 7.10, kernel 2.6.18.8-xen root (hd0,4) kernel /boot/xen-3.2.0.gz module /boot/vmlinuz-2.6.18.8-xen root=UUID=8f17d1a1-64ab-425a-9b53-71d20aa7893e ro console=tty0 module /boot/initrd.img-2.6.18.8-xen Boot into new kernel SNV84 DomU has been installed and tested at Xen 3.2 Ubuntu 7.10 Desktop Dom0 (64-bit). ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users