Ubuntu官方不支持Xen了,引出一系列问题,最主要的是debootstrap安装之后,报:
init: ureadahead main process (907) terminated with status 5
libudev: udev_monitor_new_from_netlink: error getting socket: Invalid argument
mountall:mountall.c:3204: Assertion failed in main: udev_monitor = udev_monitor_new_from_netlink (udev, "udev")
init: mountall main process (910) killed by ABRT signal
General error mounting filesystems.
A maintenance shell will now be started.
CONTROL-D will terminate this shell and reboot the system.
Give root password for maintenance
(or type Control-D to continue):
第一个错误可以到虚机里:
mv ureadahead-other.conf ureadahead-other.conf.disabled
mv ureadahead.conf ureadahead.conf.disabled
来解决,之后的就不行了,用官方的-virtual核心也不行,但是用-ec2核心就可以,于是,最简单的方法是chroot进去之后,
apt-get install linux-image-ec2
自己编译核心是更彻底的方法