Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Xen and Fedora 7 'Disk image does not exist'
#1

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/virt-manager.py", line 246, in <module>

main()

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

gtk.main()

KeyboardInterrupt

 

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.

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)