Installation 在xen中安装domU失败

Installation 在xen中安装domU失败,installation,xen,Installation,Xen,我正在尝试在xen中安装domU。我得到这个错误,我不能理解这个错误,如何解决,任何人都可以解释这个错误的原因 在上面的错误中,我的机器无法下载我想要安装的映像文件。我在代理环境中。它试着用呼噜呼噜呼噜呼噜呼噜呼噜呼噜呼噜呼噜呼噜呼噜呼噜呼噜呼噜呼噜呼噜呼噜呼噜呼噜不响。我需要从我的本地文件系统提供iso 我使用的命令是 xen-create-image --hostname=machine-0 --memory=512mb --vcpus=2 --lvm=vg0 --dhcp --pygrub

我正在尝试在xen中安装domU。我得到这个错误,我不能理解这个错误,如何解决,任何人都可以解释这个错误的原因

在上面的错误中,我的机器无法下载我想要安装的映像文件。我在代理环境中。它试着用呼噜呼噜呼噜呼噜呼噜呼噜呼噜呼噜呼噜呼噜呼噜呼噜呼噜呼噜呼噜呼噜呼噜呼噜呼噜不响。我需要从我的本地文件系统提供iso

我使用的命令是

xen-create-image --hostname=machine-0 --memory=512mb --vcpus=2 --lvm=vg0 --dhcp --pygrub --dist=wheezy
如何将本地文件系统中的映像提供给上述命令进行安装

我的日志文件中的错误:

Done
Installation method: debootstrap
Using /usr/sbin/debootstrap as debootstrap command

Copying files from host to image.
Copying files from /var/cache/apt/archives/ -> /tmp/cwlcFRPxgQ/var/cache/apt/archives
Done
Done
I: Retrieving Release
I: Retrieving Release.gpg
I: Checking Release signature
I: Valid Release signature (key id ED6D65271AACF0FF15D123036FB2A1C265FFB764)
I: Retrieving Packages
I: Retrieving Packages
I: Retrieving Packages
E: Couldn't download dists/wheezy/main/binary-amd64/Packages
WARNING (/usr/bin/xt-install-image): The installed system at /tmp/cwlcFRPxgQ doesn't  seem to be a full system.
WARNING (/usr/bin/xt-install-image): The installed system is missing the common file: /bin/ls.
WARNING (/usr/bin/xt-install-image): The installed system at /tmp/cwlcFRPxgQ doesn't seem to be a full system.
WARNING (/usr/bin/xt-install-image): The installed system is missing the common file: /bin/cp.

Copying files from new installation to host.
Copying files from /tmp/cwlcFRPxgQ/var/cache/apt/archives -> /var/cache/apt/archives/
Done
Done
Done
System installation failed.  Aborting
umount: /tmp/cwlcFRPxgQ/proc: not found
Running command 'umount /tmp/cwlcFRPxgQ/proc 2>&1' failed with exit code 256.
Aborting

检查/etc/resolv.conf是否正在“解析”您的dns

resolv.conf至少应该有一句话


名称服务器

我不完全确定您想做什么。您的命令在/etc/xen中创建一个配置文件,指向您创建的磁盘/映像(“--mirror=http://cdn.debian.net/debian”应该可以工作)。但是,如果您已经下载了该映像,则应该在配置文件中引用它:disk=['tap:aio:/srv/xen/mailserver.img,xvda,w',]