Linux-Noob Forums
Xen and Fedora 7 'Disk image does not exist' - Printable Version

+- Linux-Noob Forums (
+-- Forum: Distro Noob (
+--- Forum: Fedora (
+---- Forum: Fedora 7 (
+---- Thread: Xen and Fedora 7 'Disk image does not exist' (/thread-1211.html)

Xen and Fedora 7 'Disk image does not exist' - c4rdinal - 2007-08-13

Hi there!


Hope you can help me solve this problem. I've been working on this of almost 1week now. I Googled alot but can't find any definite answer.


Whenever I created guest OS using virt-manager this error came out.


Here's the error:


libvir: Xen Daemon error : POST operation failed: (xend.err 'Disk image does not exist: /virt/vega.img')

Traceback (most recent call last):

File "/usr/share/virt-manager/", line 246, in <module>


File "/usr/share/virt-manager/", line 242, in main




I followed this procedure to create image for the guest OS:

Create a mountpoint for the images.


mkdir -p /xen-images/mnt


Create a 1 GB image file and 500 MB swap file, for larger images increase count.


dd if=/dev/zero of=/xen-images/guest_base.img bs=1024k count=1000

dd if=/dev/zero of=/xen-images/guest_base-swap.img bs=1024k count=500


Change permissions for the image files. No one should have access to your Domain-0 computer since that would compromise security for all of the guest domains, but this is a good idea anyway and doesn't affect Xen.


chmod 640 /xen-images/guest_base*


Format guest_base.img as ext3 and then format guest_base-swap.img as swap. When it says "/xen-images/guest_base.img is not a block special device." answer yes to proceed anyway.


mkfs.ext3 /xen-images/guest_base.img

mkswap /xen-images/guest_base-swap.img


But still stuck whenever booting the OS.


Please help me solve the problem.


Thank you very much.

Xen and Fedora 7 'Disk image does not exist' - znx - 2007-08-13

It is attempting to look for the disk image file here: Disk image does not exist: /virt/vega.img. I can only assume that doesn't exist.