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/
Home Products Support Community News


Re: [Xen-users] Connect to Xen console

To: Guillaume <guillaume.chardin@xxxxxxxxx>
Subject: Re: [Xen-users] Connect to Xen console
From: "Paras pradhan" <pradhanparas@xxxxxxxxx>
Date: Fri, 14 Nov 2008 10:21:43 -0600
Cc: Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 14 Nov 2008 08:23:18 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=jZ5bzabWXO6FF0rbMuIVIkMvFAKBtQIw9SPsftIGTqY=; b=ZmOmvO/8y3pP/6jEJ4r5Xbw6urWAXFsTplu90fnpXvgvHq/gvo/xsQtAVWK8eWwmUg Q1kODBbE7mdAgoeZyudSG4kHA6M+PRMOFoo/e9ZozoP/AwCF7ZMVwXgciYQx40jZTuQT D/iBdQJDHtaPWNvRfcA3VO9afu/03YJ2WfFb4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=jeN8F/31pwzkhi3SBaaV7oO2VTe0TgHOQ6g0TqHkpLhCBLXrrgQPDPfXeJoMCLfiPj 5e7bWGYgaGjbPpkieL6GBtPWeoyVMiFgzTUevfZ69/16DY8dj59lbg9GECOyqXd7pXkG YNwYQxiJIIX6297lP1ugHBJs1dxJQMUDWH2SM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <aa184bd0811140811v40b9144eo9ce42757be78accc@xxxxxxxxxxxxxx>
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: <aa184bd0811140105q297ce0bex1e2a5f193210763@xxxxxxxxxxxxxx> <8b711df40811140718i59242275h1fc4b5caa4256b88@xxxxxxxxxxxxxx> <aa184bd0811140811v40b9144eo9ce42757be78accc@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

On Fri, Nov 14, 2008 at 10:11 AM, Guillaume <guillaume.chardin@xxxxxxxxx> wrote:
2008/11/14 Paras pradhan <pradhanparas@xxxxxxxxx>:
> This is what I did:
> In guest:
When you speak about guest, is it the physical computer whith os
acting as hypervisor or "The Virtual Machine Running" ?

Guest --> domU
Because grub is not used in "Virtual Machine", but maybe i'm wrong. So
i think you talk about the os w/ hypervisor. right ?

pygrub is used same way as grub do.


> * Edit menu.lst file and append console=ttyS0 console=tty0
I have to write this complete line ?
  -->    console=ttyS0 console=tty0
  --> # xenkopt=console=tty0

What does it mean ? I do not find anything about "console" option in
man menu.lst. Why i have to write this twice, whith different "tty"

Make your kernel line look like as:

kernel /vmlinuz-2.4.7-10 ro root=/dev/hda2 console=ttyS0 console=tty0


> * In /etc/inittab add:
>     "co:2345:respawn:/sbin/agetty ttyS0 9600 vt100-nav"
If i understant well, you attach a virtual console to ttyS0 (serial
line of the physical machine) . How to access this console ?

Mount the domU image file, edit it or access the guest using virtual-manager GUI . If you are using CentOS 5 virt-manager comes by default.


> In host:
> * In xen config file make sure you have serial="pty"
What does it mean too, I did not find anything about this in :  xm and
xmdomain.cfg manual.

it is the config file for you domU typically found at /etx/xen

> Paras.

Thanks for your reply.


Hope it helps

Xen-users mailing list