93
If the flags section above displays a flag named pae, then you have a processor that
supports PAE, otherwise your processor does not support PAE and you will need to
use a non-PAE kernel.
Creating Virtual Machines
[ 30 ]
Compiling a domU Kernel
In this section we are going to compile a domU kernel, an unprivileged kernel and
which will be used by the guest domains or virtual machines. We are going to use
the Xen 3.0.4 source that we downloaded in the previous chapter and build the
domU kernel.
1. Change to the directory that contains the source.
~ cd /home/pchaganti/xen-source/xen-3.0.4-testing.hg
2. Configure the domU kernel.
~ make linux-2.6-xenU-config
3. Select the options that you want for your domU kernel. If you are not sure,
opt for the default settings. Ensure that PAE is disabled by navigating
through the following screens under the Processor type and features menu
and making sure that the High Memory Support is set either to off or 4GB.
Save your configuration when you exit.
Chapter 3
[ 31 ]
4. Build the domU kernel and then install it.
make linux-2.6-xenU-build
make linux-2.6-xenU-install
5. Create an initrd for the domU kernel.
# mkinitrd -v -f --with=ide-disk --with=sd_mod --with=ide-generic
--with=ext3 --with=scsi_mod /boot/initrd-2.6.16.38-xenU.img
2.6.16.38-xenU
6. Here is what my /boot directory looked like with the domU kernel related
files after the installation from the previous step was completed.
7. Now we have a domU kernel compiled and ready and we will use it to boot
the virtual machines that we will create later in the chapter.
Pages:
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42