【问题标题】:domU installation failed in xenxen 中的 domU 安装失败
【发布时间】:2014-04-08 19:56:24
【问题描述】:

我正在尝试在 xen 中安装 domU。我收到这个错误我无法理解这个错误以及如何解决任何人都可以解释这个错误的原因。

在上述错误中,我的机器无法下载我想要安装的图像文件。我在代理环境中。它试图 wget 到 iso 的喘息它不起作用。我需要从我的本地文件系统中提供 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

【问题讨论】:

    标签: installation xen


    【解决方案1】:

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

    resolv.conf 至少应该有一行说明

    域名服务器

    【讨论】:

      【解决方案2】:

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

      Centos example block devices

      【讨论】:

        猜你喜欢
        • 2015-05-05
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2015-06-05
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多