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

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


  • To: "Brian Hammond" <BRIANH@xxxxxxxxxxxxxxxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

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