From: Wei Liu Subject: Re: [PATCH] ts-debian-hvm-install: use text installer frontend Date: Thu, 1 May 2014 17:00:26 +0100 Message-ID: <20140501160026.GI19082@zion.uk.xensource.com> References: <1398959424-748-1-git-send-email-wei.liu2@citrix.com> <1398959608.22521.11.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1398959608.22521.11.camel@kazak.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: Ian Jackson , Wei Liu , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Thu, May 01, 2014 at 04:53:28PM +0100, Ian Campbell wrote: > On Thu, 2014-05-01 at 16:50 +0100, Wei Liu wrote: > > The installation log is output to serial console so that we can know if > > there's anything wrong. > > Where does the serial console end up? > prepareguest_part_xencfg sets serial='file:/dev/stderr' which I suppose > directs it to the qemu stderr which is logged? I suppose it goes to guest console log. Like: http://www.chiark.greenend.org.uk/~xensrcts/logs/26098/test-amd64-i386-xl-qemuu-ovmf-amd64/guest-ovmf.guest.osstest-console Did I overlook something? Wei. > > FWIW I normally use serial='pty', which ends up directing it to > xenconsole (somehow...) > > > > > Signed-off-by: Wei Liu > > Cc: Ian Campbell > > Cc: Ian Jackson > > --- > > ts-debian-hvm-install | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/ts-debian-hvm-install b/ts-debian-hvm-install > > index c322d6b..03f585a 100755 > > --- a/ts-debian-hvm-install > > +++ b/ts-debian-hvm-install > > @@ -88,7 +88,7 @@ set default="0" > > set timeout=5 > > > > menuentry 'debian guest auto Install' { > > - linux /install.amd/vmlinuz console=vga console=ttyS0,115200n8 preseed/file=/preseed.cfg > > + linux /install.amd/vmlinuz DEBCONF_DEBUG=5 DEBIAN_FRONTEND=text console=ttyS0,115200n8 preseed/file=/preseed.cfg > > initrd /install.amd/initrd.gz > > } > > END > > @@ -102,7 +102,7 @@ sub isolinux_cfg () { > > > > label autoinstall > > kernel /install.amd/vmlinuz > > - append video=vesa:ywrap,mtrr vga=788 console=ttyS0,115200n8 preseed/file=/preseed.cfg initrd=/install.amd/initrd.gz > > + append DEBCONF_DEBUG=5 DEBIAN_FRONTEND=text console=ttyS0,115200n8 preseed/file=/preseed.cfg initrd=/install.amd/initrd.gz > > END > > } > > >