Xen on Ubuntu: DomU hangs on boot

Markus Schönhaber ubuntu-users at schoenhaber.de
Thu Nov 29 10:52:32 UTC 2007


Allen Fowler schrieb:

> After I issue the "xm create xen_domu_name"
> command, no errors are returned, and the "xm list" command shows
> something like this:
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Name                                      ID   Mem VCPUs      State   Time(s)
> Domain-0                                   0   239     1     r-----   
>  279.0
> xendomu                                    7   128     1     -b----     27.5
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> However,
> I am unable to ssh into the VM, and typing anything at the "xm console"
> screen yields no response.  (Though, the "xm console" does show the
> scroll back listed below.)

Add
extra = 'xencons=tty'
to the config file for your DomU. I. e. make it look similar to

[...]
#
#  Kernel + memory size
#
kernel      = '/boot/vmlinuz-2.6.22-14-xen'
ramdisk     = '/boot/initrd.img-2.6.22-14-xen'
memory      = '128'
extra       = 'xencons=tty'

#
#  Disk device(s).
[...]

Maybe this helps.

Regards
  mks




More information about the ubuntu-users mailing list