Jump to content

c4rdinal

Members
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral

About c4rdinal

  • Rank
    Noob

Previous Fields

  • Distribution
    Fedora7
  1. c4rdinal

    XEN howto

    Hi! Thanks for the nice article. However, I had a problem on the portion of xm create area. I downloaded a Fedora image at http://www.jailtime.org/ and mount it using your article. However, at the final stage I encountered this error, as follows: [root@vmsrv xen-images]# xm create fedora.fc6.xen3.cfg Using config file "./fedora.fc6.xen3.cfg". Error: Device 2049 (vbd) could not be connected. File /home/xen-images/fedora.fc6.img is loopback-mounted through /dev/loop0, which is mounted in the privileged domain, and so cannot be mounted by a guest. I placed the image: /home/xen-images/fedora.fc6.img And my config: kernel = "/boot/vmlinuz-2.6.20-2925.13.fc7xen" memory = 512 name = "fedora.fc6" vif = [ '' ] dhcp = "dhcp" disk = ['file:/home/xen-images/fedora.fc6.img,sda1,w', 'file:/home/xen-images/fedora.swap,sda2,w'] root = "/dev/sda1 ro" How can I resolve the problem? Please help me. I'm stuck for almost 2 weeks already. Can't seem to find definite solutions everywhere. Thank you so much.
  2. 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.
  3. 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.
×
×
  • Create New...