[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-users] compiling Xen 3.3.1 on Lenny
Thiago Camargo Martins Cordeiro wrote:
Try the Xen Live CD! It's a Debian Lenny! ;-)
http://wiki.xensource.com/xenwiki/LiveCD
-
Thiago
2009/3/20 Thiago Camargo Martins Cordeiro <thiagocmartinsc@xxxxxxxxx>
You
do not need to compile entire Xen and a dom0 kernel if you are running
Debian Lenny...
Just install Debian Lenny and to install Xen, run:
apt-get install xen-linux-system-2.6.26-1-xen-686
reboot
;-)
-
Thiago
2009/3/17 Peter <vmail@xxxxxxxxxxxxx>
Hi
I was wondering what is the official procedure to compile Xen 3.3.1. In
fact the readme that comes with this release says:
make world
make install
however, this does not copy the compiled vmlinuz-2.6.26-1-xen-686
into /boot
it seems that I have to run
./install.sh
as well.
if instead I say:
make world KERNELS="linux-2.6-xen0 linux-2.6.-xenU"
as suggested in the readme and in the users manual, I will get:
vmlinuz-2.6.18.8-xen0 and vmlinuz-2.6.18.8-xenU ( note the different
versions )
also , the xen download site talks about 2.6.18.-8 and not ( yet )
about 2.6.26.1
in a recent mail , the following procedure was suggested:
Hi:
Please refer to http://www.xen.org/download/docs/xen33.linux-2.6.18.README.txt.
steps:
1. download the xen-3.3.1.tar.gz
2. tar -zxf xen-3.3.1.tar.gz
3. Download kernel code by "http://www.xen.org/download/docs/xen33.linux-2.6.18.README.txt"
4. cd to folder xen-3.3.1
5. make prep-kernels.
6. run other make commands you want.( you can get help by "make help")
enjoy your time :)
Shunli
My questions are:
on a fresh debian lenny system:
1) what is the recommend installation command sequence ?
2) what is the recommend kernel version for dom0 and domU ?
Thanks very much for your help
peter
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
Hi
Thanks very much for your help.
In fact, I wanted to compile myself to better understand xen and also
because I will ultimately want to build a custom kernel with xen.
I also think it could benefit to other users if installation
instructions were consolidated in the different places where they
appear. For example, the README of the latest 3.3.1 tarball suggest ,
that you call
make world KERNELS="linux-2.6-xen0 linux-2.6-xenU"
however the Installation
instructions on the web reads as follows:
... Many
users will be better off using the "-xen" kernel instead of "-xen0" and
"-xenU" kernels. ....
In fact, the usage of the make world command is not suggested !
I did the following to successfully install xen 3.3.1 on debian lenny.
This is adapted from thoandswelt.blogspot.com/2008/10/xen-33-installation-auf-debian-etch.html
( in german ) and maybe it would be useful for people new to xen to
have something clear and straigthforward on the xen website ( maybe its
already there but I missed it ... )
(my) Installation Instructions for xen 3.3.1 on a pristine debian
lenny 5.0.0 ( please notify if this is incorrect ) :
aptitude update && aptitude dist-upgrade
aptitude install build-essential mercurial gawk libx11-dev libssl-dev zlib1g-dev gettext ncurses-dev python-dev iproute
bridge-utils texinfo pciutils-dev
wget
http://bits.xensource.com/oss-xen/release/3.3.1/xen-3.3.1.tar.gz
tar xvzpf xen-3.3.1.tar.gz
cd xen-3.3.1
make world && make dist
./install.sh
aptitude install linux-image-xen-686
add this to /boot/grub/menu.lst
title Debian GNU/Linux,
kernel vmlinuz-2.6.26-1-xen-686
root (hd0,0)
kernel /boot/xen-3.3.1.gz
module /boot/vmlinuz-2.6.26-1-xen-686 root=/dev/hda1 ro
module /boot/initrd.img-2.6.26-1-xen-686
savedefault
|
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|