From: Ian Campbell Subject: Re: [PATCH] ts-debian-hvm-install: use text installer frontend Date: Thu, 1 May 2014 16:53:28 +0100 Message-ID: <1398959608.22521.11.camel@kazak.uk.xensource.com> References: <1398959424-748-1-git-send-email-wei.liu2@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1398959424-748-1-git-send-email-wei.liu2@citrix.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: Wei Liu Cc: Ian Jackson , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org 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? 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 > } >