I created a PV guest on an Image file.
The configuration file is
=======================================================
kernel = "/home/venkat/RHEL_PV_Image/vmlinuz"
ramdisk = "/home/venkat/RHEL_PV_Image/initrd.img"
memory = 512
name = "RHEL-domu"
vif = [ '' ]
dhcp = ""
disk = [ 'file:/var/lib/xen/images/Rhel-domU.img,xvda,w']
=======================================================
Vmlinuz and initrd images are taken from the images/xen
folder inside the installation CD.
I assume these two files will have PV drivers enabled kernel
and isolinux/ directory will have unmodified vmlinuz and initrd images.
I used http as installation media.
This configuration file successfully installs the PV guest
on the Rhel-domU.img image file using “xm create configfile”.
Now I need to boot my PV guest from the Rhel-domU.img image
file. For that I changed the configuration file as
========================================================
bootloader = "/usr/lib/xen/boot/domUloader.py"
bootargs =
"--entry=xvda1:/boot/vmlinuz-xen,/boot/initrd-xen.img"
memory = 512
name = "RHEL-domu"
vif = [ '' ]
dhcp = ""
disk = [ 'file:/var/lib/xen/images/Rhel-domU.img,xvda,w']
boot = "c"
========================================================
I added boot parameter and mentioned “c” option
so that it boots from harddisk (this case it is a image file).
I get the following error while doing it.
Using config file
"./Redhatconfig".
: No such file or directory
I did the same with the HVM guest and used hvmloader instead
of domUloader and it worked fine.
I reckon that the bootargs that are provided are wrong.
Any idea about the error message?
Venkat
================================
Venkata
Kumar Duvvuru,
LSI Engenio,
Adv.
Development,
Bangalore.
Mob:
+91-9880318542
Off :
+91-80-41978700 ( Extn : 3544 )
================================