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

Re: [Xen-users] xen image problem on CentOS 5

To: "Brian Hammond" <BRIANH@xxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] xen image problem on CentOS 5
From: "Marconi Rivello" <marconirivello@xxxxxxxxx>
Date: Tue, 11 Sep 2007 08:34:09 -0300
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 11 Sep 2007 04:34:47 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=8bsiiId/TaMXXnsMGXerxC89RVHRpJu/+n5PpoYGKLA=; b=rympaA412pKa4NCAKr4ioa7wAf4I4N+ovYR91zo5wU0zATsskrEL++bYoDAxFefuZdVDeq0HTq5kEdmZUAxbP1jBap5xbvcz5eJzO66QNBAqr3BuvalZYwBIHaxKYs+G+mhez68OLgUzWXGcZO4qSOPp4YWmKGq3jdIbi8UFoec=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=m6QTCcnV2oZqmqrwOR8Bq+mJPfyvU7RCbRD+SD8NUR4VJrkF4O/2O0zIUHYEPoUVCvbjgeo+eB0/hJ7ibtGt2Ck7pW/Glp7GhW3KEmktHVrrmHIIIzacyEdKxIyYmD6/pBGAQm37Z2N68iSQx5a8WxR+iE0Lh8HSswr7jAj/lkI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <A9F320F86E24D54EB1E939E4323AE53EC0430F@xxxxxxxxxxxxxxxxxxx>
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>
References: <A9F320F86E24D54EB1E939E4323AE53EC0430F@xxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
That image can be of the partition (sda1), and it should've worked if it were. Or it can be an image of the whole disk (sda), in this case, you should change:
disk = ['file:/var/lib/xen/images/KTree.img,sda1,w']
to
disk = ['file:/var/lib/xen/images/KTree.img,sda,w']

And keep the other options as they are. See if it helps.

On 9/6/07, Brian Hammond < BRIANH@xxxxxxxxxxxxxxxxxxxxxxx> wrote:

I downloaded the knowledge tree appliance(Raw Filesystem Image) from

  http://www.rpath.org/rbuilder/project/knowledgetree/release?id=5774

 

I've tried various cfg file scenarios but I still get the cannot mount

Ive been able to build my own xen file images and boot them but I'v never been able to boot pre-made appliances.

I've tried hda1,sda1 etc because i've see others around the net with similar problems but I've not been able to get it resolved.  

 

Error Msg:

VFS: Cannot open root device "sda1" or unknown-block(0,0)

Please append a correct "root=" boot option

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

 

 

ConfigFile:

 

kernel = "/boot/vmlinuz-2.6.18-8.1.8.el5xen"

memory = 512

name = "ktree"

vif = [ '' ]

ip = "xx.xx.xx.xx"

disk = ['file:/var/lib/xen/images/KTree.img,sda1,w']

root = "/dev/sda1 ro"

vcpus=2

 

 

This is the config file generated when I created my own xen vm but it does not work when I adapt it to work with appliances.

 

name = "CentOS_I386_node0"

memory = "500"

disk = [ 'tap:aio:/var/lib/xen/images/CentOS_I386_node0,xvda,w', ]

vif = [ 'mac=00:16:3e:36:5b:e6, bridge=xenbr0', ]

vfb = ["type=vnc,vncunused=1"]

uuid = "4c2d6734-286f-689b-111a-e46139748a57"

bootloader="/usr/bin/pygrub"

vcpus=2

on_reboot   = 'restart'

on_crash    = 'restart

 

 

Brian Hammond
,

Senior Programmer,IT 


The statements and opinions expressed in this email are my own and may not represent those of Four Seasons Solar Products LLC or subsidiary Companies. The preceding email message (including any attachments) contains information that may be confidential. It is intended to be conveyed only to the designated recipient(s). If you are not an intended recipient of this message, please notify the sender by replying to this message and then delete it from your system. Use, disclosure, distribution or reproduction of this message by unintended recipients is not authorized and may be unlawful.

 

"The statements and opinions expressed in this email are my own and may not represent those of Four
Seasons Solar Products LLC or affiliated Companies. The preceding email message (including any
attachments) contains information that may be confidential. It is intended to be
conveyed only to the designated recipient(s). If you are not an intended recipient of this
message, please notify the sender by replying to this message and then delete it from
your system. Use, disclosure, distribution or reproduction of this message by unintended
recipients is not authorized and may be unlawful."


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

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>