Andreas Sommer
2009-Jun-11 08:10 UTC
[Xen-users] domU only booting with extra = ''xencons=tty1''
Hi, I''m using Debian 5 (lenny) with Xen 3.2-1. When I try to start a Linux guest (installed with debootstrap like this <http://www.option-c.com/xwiki/Create_a_Debian_VM_with_debootstrap>), the VM hangs right after starting crond. This is exactly before the login prompt (which doesn''t come up). 1) In the internet, the solution is an /extra/ line in the configuration like /extra = ''xencons=tty1''/. That works, but isn''t there another solution? 2) I''m trying to start the VM via libvirt which uses XML configuration, and I can''t get it to work (tried to convert the /extra/ line to /<console tty="tty1" />/ but that didn''t work). This is why I asked for another solution ;) Regards Andi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2009-Jun-11 08:55 UTC
Re: [Xen-users] domU only booting with extra = ''xencons=tty1''
On Thu, Jun 11, 2009 at 3:10 PM, Andreas Sommer<AndiDog@web.de> wrote:> I''m using Debian 5 (lenny) with Xen 3.2-1.> 2) I''m trying to start the VM via libvirt which uses XML configuration, and > I can''t get it to work (tried to convert the extra line to <console > tty="tty1" /> but that didn''t work). This is why I asked for another > solution ;)Try editing domU''s /etc/inittab, add co:23:respawn:/sbin/getty -L hvc0 9600 vt102 in short, Lenny''s -Xen kernel creates console on hvc0 by default, so you should tell Lenny to spawn a login session there. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Andreas Sommer
2009-Jun-11 09:33 UTC
Re: [Xen-users] domU only booting with extra = ''xencons=tty1''
Thanks, that did the trick :) No need for an /extra/ statement anymore. Best regards Andi Fajar A. Nugraha wrote:> On Thu, Jun 11, 2009 at 3:10 PM, Andreas Sommer<AndiDog@web.de> wrote: > >> I''m using Debian 5 (lenny) with Xen 3.2-1. >> > > >> 2) I''m trying to start the VM via libvirt which uses XML configuration, and >> I can''t get it to work (tried to convert the extra line to <console >> tty="tty1" /> but that didn''t work). This is why I asked for another >> solution ;) >> > > Try editing domU''s /etc/inittab, add > > > co:23:respawn:/sbin/getty -L hvc0 9600 vt102 > > in short, Lenny''s -Xen kernel creates console on hvc0 by default, so > you should tell Lenny to spawn a login session there. > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Maybe Matching Threads
- Xen 4.0 - No console prompt after booting domU but functional SSH
- Problems with booting Debian DomU
- XEN DomU Boot hangs at: Starting periodic command scheduler: crond.
- what''s wrong with my pv domU console? INIT: Id "1" respawning too fast: disabled for 5 minutes
- xen 2.6.26 on amd64 console troubles