[Pkg-xen-devel] Bug#702369: Bug#702369: Bug#702369: Bug#702369: can't install wheezy from template

Ian Campbell ijc at hellion.org.uk
Thu Mar 7 01:26:34 UTC 2013


On Wed, 2013-03-06 at 23:05 +0800, Thomas Goirand wrote:
> On 03/06/2013 06:10 PM, Ian Campbell wrote:
> > On Wed, 2013-03-06 at 10:10 +0100, Daniel Pocock wrote:
> >>
> >> The domU boots as a PV, but the login prompt is never displayed.  I can
> >> view the console boot messages with VNC, but no login prompt appears in
> >> the console.  The machine is otherwise working fine and can't be
> >> accessed with an ssh login.  I think this has something to do with
> >> inittab and the terminal device names changing. 
> > 
> > Correct, you need to adda getty on hvc0, e.g:
> > 
> > H0:23:respawn:/sbin/getty -L hvc0 115200 vt102
> 
> Ian, do you think it would make sense to have such line in the inittab
> by default in Debian? It's always annoying Debian domU users, IMO (and
> not only with XAPI).

This would get you "getty restarted too many times, trying again in 5
minutes" (or whatever the message is) on non-Xen systems.

If you install using d-i in PV mode however it will DTRT and setup the
getty on HVC for you. If you install in HVM mode and convert then it is
up to you.

> What's the most easy way to mount an XAPI domU partition, in an ext SR,
> from the dom0? How to locate the device path? (I've done it often for PV
> or HVM domUs with non-XAPI Xen Debian systems)

ISTR a tool in /opt/xensource/debug called with-vdi, or something along
those lines, which would dump you in a shell with the devices setup etc.
I don't know if this is in the Debian package though, I expect it should
be.

Ian.



More information about the Pkg-xen-devel mailing list