WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Installation of Debian Lenny on XCP
From: George Shuklin <george.shuklin@xxxxxxxxx>
Date: Tue, 15 Nov 2011 23:09:19 +0400
Delivery-date: Tue, 15 Nov 2011 11:13:13 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=vB4Ui1LIh2JgSJCAYnZoOydw21XJ5Ycl+SPk6iIZ7Sw=; b=M94oh9FzXS2CiMlRx+9f992pFDgHJnZuU4DGEpdnO4wh91e4s6dKib2yyP+IIb5b09 4WgDNLJN/dhrNnZwBqW96Oa7Ej/j4kaQWrfIHhswlEHjwnuw3srqIhnz1UOzo3m2AQhH ndfJLFAeaJBkW1U1DfP4A97ZQXYcBhI+31NV4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <DUB111-W124816578936535E7E89795D7C10@xxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <DUB111-W124816578936535E7E89795D7C10@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20111010 Icedove/3.1.15
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
<Prev in Thread] Current Thread [Next in Thread>