|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] No login on boot with VNC
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
|
|
|
|
|