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

Re: [Xen-devel] [PATCH] ts-debian-hvm-install: use text installer frontend



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 <wei.liu2@xxxxxxxxxx>
> > Cc: Ian Campbell <ian.campbell@xxxxxxxxxx>
> > Cc: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
> > ---
> >  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
> >  }
> >  
> 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.