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

Re: [Xen-users] XCP 1.0 Vm Install



On 14/03/11 20:15, JOSÉ FORMIGA wrote:
> Hi.
>  
> I executed the following steps to instal a Debina Lenny Vm (as the
> manual describe):
>  
> 1)- xe vm-install template="Debian Lenny 5.0 (32-bit)"
> new-name-label=vmlenny_1
>      UUID = dd29fd58-9ed2-0d53-5a71-dea5bf0d613b
> 2)- xe vm-param-set uuid=dd29fd58-9ed2-0d53-5a71-dea5bf0d613b
> other-config:install-repository=http://ftp.br.debian.org/debian
>  
> 3)- xe vm-start uuid=dd29fd58-9ed2-0d53-5a71-dea5bf0d613b
>  
> But here it hang giving the error message:
>  
>   Failed: WARNING: /dev/xvda is not a disk image

Run the command

xe vm-param-get uuid=dd29fd58-9ed2-0d53-5a71-dea5bf0d613b
param-name=PV-bootloader

I'm guessing that this will give you 'pygrub', which will try to boot
from the first virtual disk on the VM, which is usually /dev/xvda. This
usually happens if you abort a guest install, say, if you forgot to give
the VM a VIF, and had to shutdown the VM and restart the install.

You can fix this by doing

xe vm-param-set uuid=dd29fd58-9ed2-0d53-5a71-dea5bf0d613b
PV-bootloader=eliloader

and starting the VM again. Hope this helps!

Mike
>  
> I have done a long search in Internet but have no register about this.
>  
> Can someone help me ? 
>  
> Very thanks.
> JoseFormiga

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