Step1:
First
I have allocated 100 GB for Centos 5.8
Step 2:
I
have Customized Hardware options like RAM Size and Number of Processors(no.of
Processors to 2 & no.of core Processors to 2) and Virtualization engine (
under this “Preferred mode:Intel VT-x/EPT or AMD-V/RVI(selected this option and
we need to check this checkbox)
Step 3: I have Changed
Memory To 2 GB (RAM Size)
Step 4: Click on Close
and Continue Our Installation of Centos 5.8 and we are almost done with this
Step 5: After
Complete Installation of Centos 5.8 and we need to install the following packages
for XEN
1.
Kernel-xen-2.6.18-308.24.1.el5.i686.rpm
2.
Kernel-xen-devel-2.6.18-308.24.1.el5.i686.rpm
3.
Xen-libs-3.0.3-135.el5-8.5.i386.rpm
4.
Libvirt-python-0.8.2-25.el5.i386.rpm
5.
Xen-devel-3.0.3-135.el5-8.5.i386.rpm
6.
Python-virtinst-0-400.3-13.el5.noarch.rpm
7.
Xen-3.0.3-135.el5-8.5.i386.rpm
8.
Libvirt-0.8.2.-25.el5.i386.rpm
9.
Virt-manager
rpm
10.
Gtk-vnc
11.
Gtk-vnc-python
12.
Gnome-python2-gnome
[root@localhost ~]# yum install
kernel-xen*
This will install two packages
(kernel-xen , kernel-xen-devel)
[root@localhost ~]# yum install xen*
This will install following packages and
dependencies (xen ,xen-devel ,xen-libs
and bridge-utils, e4fsprogs-libs,
libvirt , libvirt-python, python-virtinst)
[root@localhost ~]# yum install
virt-manager*
This will install following Package and
their dependencies (virt-manager and
gnome-python2-gnomekeyring,gtk-vnc, gtk-vnc-python)
Step
6:
After installing above packages we need to edit grub.conf and we need to set it to “default=0”.
vi /etc/grub.conf
#boot=/dev/sda
default=1-------------------------------------------------------------------------à this line to
Zero(0)
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-308.24.1.el5xen)
root (hd0,0)
kernel /xen.gz-2.6.18-308.24.1.el5
module /vmlinuz-2.6.18-308.24.1.el5xen ro root=LABEL=/ rhgb quiet
module /initrd-2.6.18-308.24.1.el5xen.img
title CentOS (2.6.18-308.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-308.el5 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.18-308.el5.img
:wq(save and quit)
After saving and quit . we need to
reboot the system so that “XEN” (workstation) will start
Step
7:
We can check whether xen is installed or
not
[root@localhost ~]# virsh list
Id Name State
----------------------------------
0 Domain-0 running
[root@localhost ~]# xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 1651
4 r----- 194.8
Step 8:
Issue the following command “virt-manager" in terminal
[root@localhost
~]# virt-manager
[root@localhost
~]#
fig2 :
click on new button
fig3:
Stepc: click on forward
fig4:
stepd:
Give the name as you like I am giving system1 and click forward and select
which type of install in this (paravirtualiztion or fully virtulization)
After
selecting click on forward and I am using iso (windowsxp) and click forward and
allocate disk size(ex:20gb) and forward and select physical shared device for
network and click on forward
Finally
after selecting all this will install our new operating system inside.
We finally installed window xp inside centos 5.8 which is installed inside VM ware workstation






No comments:
Post a Comment