2014-01-15 6 views
0

xen에 domU를 설치하려고합니다. 나는이 오류를 이해할 수 없으며 어떻게 해결해야하는지 설명 할 수있다.xen에서 domU 설치가 실패했습니다

위의 오류에서 내 컴퓨터는 내가 설치하고자하는 이미지 파일을 다운로드 할 수 없습니다. 나는 프록시 환경 안에있다. 그것은 작동하지 않는 wheezy의 iso에 wget를 시도했다. 내 로컬 파일 시스템에서 iso를 제공해야합니다.

내가 사용하는 명령은 설치 위의 명령에 로컬 파일 시스템에서 이미지를 제공하는 방법을

xen-create-image --hostname=machine-0 --memory=512mb --vcpus=2 --lvm=vg0 --dhcp --pygrub --dist=wheezy 

입니다. 내 로그 파일에서

오류 : /etc/resolv.conf 파일이 DNS를 "해결"경우

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 

답변

0

확인하시기 바랍니다.

경우 resolv.conf 난 당신이 뭘 하려는지 전혀 확실하지 않다

0

네임 서버에게 말을 최소한 줄이 있어야합니다. 명령은/etc/xen에 작성한 디스크/이미지를 가리키는 구성 파일을 작성합니다 ("- mirror = http : //cdn.debian.net/debian"이 작동해야 함). 그러나 이미지를 이미 다운로드했다면 설정 파일에서 참조해야합니다 : disk = [ 'tap : aio : /srv/xen/mailserver.img,xvda,w',].

Centos example block devices

관련 문제