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

Re: [Xen-API] RuntimeError: Unable to find partition containing kernel


  • To: xen-api@xxxxxxxxxxxxx
  • From: Massimo Canonico <mex@xxxxxxxxxxxx>
  • Date: Mon, 18 Jun 2012 13:54:36 +0200
  • Delivery-date: Mon, 18 Jun 2012 11:57:08 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>



On 06/18/2012 01:10 PM, George Shuklin wrote:
On 18.06.2012 14:52, Massimo Canonico wrote:
Hi,
I was able to start a VM with squeeze template, even if the console hangs after few steps on installation procedure (but I will work on this later). Now the problem is when I destroy a VM with:
xl destroy 10

it becomes "halted":

uuid ( RO)           : 61c9aad3-e040-67c7-a5ab-db8b41ab4cec
     name-label ( RW): myVM
    power-state ( RO): halted

and I'm not able to re-start it, since I got this error:
[root@minicloud ~]# xe vm-start vm=myVM
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,

Googoling this problem I've tried to run this command in order to fix it:
 EDITOR=vi xe-edit-bootloader -n myVM -p 1

with no luck: the error is stille there.

Any suggestion?

Did you finish installation? If you kill VM before it creates partitions, bootloader, put kernel in /boot and other installation job, there is nothing to 'boot from'.
Yes, you were right!
Actually one of the problem is related to the fact that I'm not able to finish the installation procedure: the "xl console <vm-name>" hangs after 2/3 steps.


Thanks,
 Massimo

_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


 


Rackspace

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