[CentOS] How to create a virtual machine? (Centos-5-beta-xen)
Matthew Berg
galt at gothpoodle.com
Mon Apr 16 09:51:52 UTC 2007
> 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
More information about the CentOS
mailing list