[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Error while booting a PV guest from an Image file


  • To: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "Kumar, Venkat" <Venkat.Kumar@xxxxxxx>
  • Date: Mon, 23 Jun 2008 20:14:56 +0800
  • Accept-language: en-US
  • Acceptlanguage: en-US
  • Delivery-date: Mon, 23 Jun 2008 05:15:43 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: AcjVKr+6R9WHxftnSwS7th2fWra9Cg==
  • Thread-topic: Error while booting a PV guest from an Image file

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 )

================================

 

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.