How to create a virtual machine? (Centos-5-beta-xen)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



> I used the "virt-install" command, and every went fine until the
moment to
> create the partitions on the virtual disk (file "/var/xen/fc6.iso"
with
> 10GB). No matter with option I choose: remove all partitions, remove
linux
> partitions, use free space, etc, does not work. The message is:
> "An error has occurred - no valid devices were found on wihich to
create new
> filesystems. Please check your hardware for the cause of the problem."

The selinux policy restricts the location of image files.
>From /etc/selinux/targeted/contexts/files/file_contexts:

  /var/lib/xen/images(/.*)? system_u:object_r:xen_image_t:s0

I ran into the same issue. :)

Matt

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux