When you attempt to boot a Xen DomU on Debian Lenny Dom0, the console might hang as the follows:
Starting NFS servers: nfsd mountd.
Starting automounter: amd.
Starting anac(h)ronistic cron: anacron.
Starting periodic command scheduler: crond.
Running local boot scripts (/etc/rc.local).
This problem occurs when using xen-tools to create a new (Debian Lenny in my case) guest image and configuration.
The cause for the problem is when the guest configuration file does not have the “extra” configured.
To solve this problem – just add -
extra = ‘console=hvc0 xencons=tty‘
To your guest configuration file.
kernel = '/boot/vmlinuz-2.6.18.8-xen'extra = ‘
ramdisk = '/boot/initrd.img-2.6.18.8-xen'
console=hvc0 xencons=tty‘
memory = '512'
root = '/dev/sda2 ro'
disk = [
'phy:/dev/VM/vm01-disk,sda2,w',
'phy:/dev/VM/vm01-swap,sda1,w',
]
name = 'vm01'
vif = [ 'mac=00:16:7E:DC:C9:F6' ]
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'
If you are using pygrub, edit /boot/grub/menu.lst on the domU and append - console=hvc0 xencons=tty to the kernel line.




