1) switch to pv-grub
This would mean that you'd need to have an Ubuntu kernel installed and initramfs built (all of this will happen when you 'apt-get install linux-image'). You can then generate a menu.lst with: 'apt-get install grub; update-grub'.
2) Replace /sbin/init with systemd.
This would look something like:
mv /sbin/init /sbin/init.orig
ln -s /bin/systemd /sbin/init
中文:
1.apt-get install linux-image-3.xxxxx-generic grub systemd -y
2.mv /sbin/init /sbin/init.orig
3.ln -s /bin/systemd /sbin/init
4.reboot