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

[Xen-users] disk - error


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: kibirango moses <kibsmoses@xxxxxxxxx>
  • Date: Tue, 12 Oct 2010 08:26:21 +0300
  • Delivery-date: Mon, 11 Oct 2010 22:27:35 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=jjnnonIAYGdTeUq/fIYnNTUN2iCvuf+mXyr0wIu21TspXj4ETr1YOYFVV46fU+0r9D thtzfngH6pVcihhNI3ruNAHS3rvU+Lfgsck7kLatxjMwhWsJGdcV4scgFKPR2//500Ng 0n1IARYyVv6UoHx4pAyHEAfjdQpSRTOz1eVS0=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

hullo everybody


I am getting the error below on starting my slackware 13 guest OS VM and below are my file configurations ;Could anyone help me identify my mistakes / error i am doing in my configurations.

Iam using a downloaded  image  from stacklet website


Slackware.pygrug.cfg:

bootloader = "/usr/bin/pygrub"
name = "slackware.13-0"
vif = [ '' ]
memory = 1024
disk = ['tap:aio:/dev/XenVG/root,sda1,w','tap:aio:/dev/XenVG/swap,sda2,w''tap:aio:/dev/loop0,hdc:cdrom,r']
root = "/dev/XVG/root"
extra = "fastboot"


/boot/grub/grub.conf:(guest OS)

default=0
timeout=10
title vmlinuz-2.6.18.8-xenU
root (hd0,0)
kernel /boot/vmlinuz-2.6.18.8-xenU console=xvc0 root=/dev/sda1 ro


/etc/fstab (guest OS):

[root@virtualintranet etc]# cat fstab
/dev/sda1        /             ext3     defaults,errors=remount-ro 0 0
devpts           /dev/pts      devpts   gid=5,mode=620             0 0
proc             /proc         proc     defaults                   0 0



[root@virtualintranet /]# xe vm-start uuid=7f374370-4b65-3cca-45d3-be55fedad52b


Error code: WARNING: /dev/xvda is not a disk image

Error parameters: Traceback (most recent call last):,   File "/usr/bin/pygrub", line 746, in ?,     raise RuntimeError, "Unable to find partition containing kernel", RuntimeError: Unable to find partition containing kernel,


[root@virtualintranet /]# /usr/bin/pygrub  /xen/images/slackware.13-0.x86.img


WARNING: /xen/images/slackware.13-0.x86.img is not a disk image

Using <class 'grub.GrubConf.GrubConfigFile'> to parse /boot/grub/grub.conf

linux (kernel /var/run/xend/boot/boot_kernel.5-DL4Z)(args "console=xvc0 root=/dev/sda1 ro ")[root@virtualintranet /]#


Thanx

_______________________________________________
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®.