如何使用debootstrap安装VM

我在使用xen服务器configuration虚拟机时遇到问题。

以下教程我做了这个步骤:

  1. 使我的主机和格式的LVM分区(根,交换)
  2. 在/ mnt上挂载根分区
  3. debootstrap –arch amd64 precise / mnt http://us.archive.ubuntu.com/ubuntu/
  4. 创build.cfg文件

     memory = 1024 vcpus = 1 name = "testdomain" vif = [' '] disk = ['phy:/dev/<VG>/testdomain_root,sda1,w', 'phy:/dev/<VG>/testdomain_swp,sda2,w'] root = "/dev/sda1 ro" extra = "console=hvc0" 
  5. 卸载分区
  6. 最后执行xm create -c testdomain.crg

但总是告诉我,引导程序不会返回任何东西

我的错在哪里?