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

Re: [Xen-users] No login on boot with VNC


  • To: Nerilaunt Nerilaunt <nerilaunt@xxxxxxxxx>
  • From: George Shuklin <george.shuklin@xxxxxxxxx>
  • Date: Tue, 24 Aug 2010 19:19:41 +0400
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 24 Aug 2010 08:20:43 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=PP+dj81sAK7afDkMnNld4UJZmk8QMhOpoQmyu20mvRfrFDbV5paM6z0fntWfROhIPQ 9VEMN2+FsYZz+0wQvTFdhFsRRy2hEwgbdPpKNqg/mRgKJ0nPrWBlQC3Ws61K6FY1J7Cu /rTRGtEZT7nXpPTUjlaM+xeHQAcR0+o/s/VzQ=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

You must setup console in guest properly.

add line to vm configuration (/etc/xen):
extra = "console=hvc0"

mount vm image and add following lines (IN VM IMAGE, NOT DOM0 CONFIG).
file /etc/inittab:
7:23:respawn:/sbin/getty 38400 hvc0

file /etc/securetty:
hvc0

I belive this is enough to get login prompt.


Ð ÐÑÑ, 24/08/2010 Ð 17:14 +0200, Nerilaunt Nerilaunt ÐÐÑÐÑ:
> Hi,
> 
> I'm using VNC to show vm's linux boot.
> 
> I see lines like
> 
> [    1.053298] EXT3-fs: INFO: recovery required on readonly filesystem.
> [    1.053686] EXT3-fs: write access will be enabled during recovery.
> [    1.494490] kjournald starting.  Commit interval 5 seconds
> 
> etc.
> 
> But à the end of booting, it stop. No prompt login.
> 
> With "xm console vm" I have the boot login. I also see lines like
> 
> Begin: Running /scripts/local-bottom ... done.
> done.
> Begin: Running /scripts/init-bottom ... done.
> INIT: version 2.86 booting
> 
> but i don't see this lines with VNC.
> 
> I tried to update my /etc/inittab without effect.
> 
> I run my vm with :
> 
> memory = 128
> name = "vm"
> vcpus = 1
> kernel = "/boot/vmlinuz-2.6.26-2-xen-amd64"
> ramdisk = "/boot/initrd.img-2.6.26-2-xen-amd64"
> builder='linux'
> disk = [ 'phy:vm/vm1,sda1,w' ]
> vnc=1
> vfb = [ 
> 'type=vnc,vncdisplay=12,vncpasswd=laurent,vnclisten=0.0.0.0,keymap=fr' ]
> root = "/dev/sda1 ro acpi=noirq noapic"
> extra = "xencons=tty console=tty"
> 
> Do you see or know something i missed ?
> 
> Thanks,
> 
> Neri
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

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