[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: George Shuklin <george.shuklin@xxxxxxxxx>
  • Date: Mon, 18 Jun 2012 15:10:24 +0400
  • Delivery-date: Mon, 18 Jun 2012 11:10:44 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>

On 18.06.2012 14:52, Massimo Canonico wrote:
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'.

Xen-api mailing list



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