WHAT'S HOT
Prev | Current Page 23 | Next

Prabhakar Chaganti

"Xen Virtualization: A Practical Handbook"


7. Install these artifacts on to your system by running the following command
as root. This will install the kernel modules and copy the kernel image and
symbol files to /boot.
make linux-2.6-xen0-install
Chapter 2
[ 21 ]
Following are the files in the /boot directory after running the
above command.
8. Run depmod to create a list of module dependencies by reading each
module under /lib/modules/2.6.16.38-xen0 and to determine what
symbols it exports, and what symbols it needs
depmod -a 2.6.16.38-xen0
Running Xen
[ 22 ]
9. Create the initrd in the boot dir that will be used by the Xen kernel
while booting.
Compile and install the various Xen tools, libraries and Python modules.
Please make sure that you don't have the Xen tools binary package
installed before doing this.
make install KERNELS="linux-2.6-xen0"
Chapter 2
[ 23 ]
10. Modify grub to add an entry for booting this new Xen kernel.
11. Reboot into your new Xen system!
12. Check to make sure that everything started up fine.
Running Xen
[ 24 ]
13. Check the network interfaces to make sure they are all up and running.
You have successfully compiled and installed the development version of Xen in
your machine and are now running it.
Chapter 2
[ 25 ]
What Just Happened?
The source code for Xen is stored in a mercurial repository that is hosted at
http://xenbits.xensource.com. This is a public repository and contains the
source code for the open-source version of Xen. The code is tagged with different
versions for the stable and development versions.


Pages:
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35