WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Error while booting a PV guest from an Image file
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
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Error while booting a PV guest from an Image file, Kumar, Venkat <=