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

Re: [Xen-users] Installation of Debian Lenny on XCP



You ... well.. not really make it right.

1) You _NEED_ networking to make any debian to install via those template. Create VIF for VM and plug it to internet network.
2) You need to get access to console. There is pretty big article about consoles in XCP on xen wiki (short: use XenCenter)
3) If you shutdown installing VM before completing installation you need to reconfigure it to repeat installation.

This can be done by typing xe vm-param-set uuid=... PV-bootloader=elilo
(every time VM stating with elilo it replace itself in PV-bootloader by pygrub which can just load kernels from VDI, not downloading installation from internet).


On 15.11.2011 20:21, Eugenio Mauri wrote:
Hi.

I tried to install Debian Lenny on XCP; here is what I got:

[root@labtest7 ~]# xe vm-install template=Debian\ Lenny\ 5.0\ \(32-bit\) new-name-label=ExampleVM
2479df9e-dcc7-4105-456f-d03a5a17c185
[root@labtest7 ~]# xe vm-param-set uuid=2479df9e-dcc7-4105-456f-d03a5a17c185 other-config:install-repository=ftp://ftp2.fr.debian.org/debian/
[root@labtest7 ~]# xe vm-start uuid=2479df9e-dcc7-4105-456f-d03a5a17c185
[root@labtest7 ~]#
[root@labtest7 ~]#
[root@labtest7 ~]#

Inside xsconsole I can see that the VM "ExampleVM" is "running" but:

- the "installation" toke only about 10 sec.
- the installation did not ask for anything (eg: IP address, locale, etc...)

When I try to restart the VM I get the following:

[root@labtest7 ~]# xe vm-shutdown uuid=2479df9e-dcc7-4105-456f-d03a5a17c185
[root@labtest7 ~]# xe vm-start uuid=2479df9e-dcc7-4105-456f-d03a5a17c185
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@labtest7 ~]#

What is it that I do wrong?

Cheers,


Eugenio


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