修改 os 的 xen config
# vi debian.cfg
console='hvc0'
xencons='tty'
或 boot kernel command line
# vi /mnt/boot/grub/menu.lstkernel /boot/vmlinuz-3.2.0-4-amd64 root=/dev/xvda1 ro quiet console=hvc0 xencons=tty
修改 image 裡的設定
# mount -o loop debian.img /mnt
# vi /mnt/etc/inittab
1:2345:respawn:/sbin/getty 38400 tty1改成1:2345:respawn:/sbin/getty 38400 hvc0
and than try it ~
# xm create debian.cfg -c
Reference :
xen - domUs hang in start up, Debian Lenny - Server Fault
[Xen-users] Debain Domu Xen PV boot hangs at CRON message - Xen Source
沒有留言:
張貼留言