Marcelo Maia Garcia
2007-Apr-11 08:41 UTC
[CentOS] How to create a virtual machine? (Centos-5-beta-xen)
Hi, I am trying to create a virtual machine with FC6 inside a Centos 5 (beta) Xen host. I am following the documentation of Fedora[1]. 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 documentation seems so straightforward! Any hint or comment will be welcomed. Cheers Marcelo [1] http://fedoraproject.org/wiki/FedoraXenQuickstartFC6 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20070411/6825e35a/attachment-0004.html>
Mark Snyder
2007-Apr-11 14:38 UTC
[CentOS] How to create a virtual machine? (Centos-5-beta-xen)
Hey Marcelo, Do not expect to get a lot of help here about Xen. So far I have seen three post about Xen on the beta release and no (zero) replies. Either those who have success are not talking or nobody has had any success, I suspect the latter with the beta release. Just have to wait for the final release. I would suggest that you spend some time with the manuals, as that seems to be the only source for answers. Mark Snyder JMK Computerized TDIS Marcelo Maia Garcia wrote:> Hi, > > I am trying to create a virtual machine with FC6 inside a Centos 5 > (beta) Xen host. I am following the documentation of Fedora[1]. > > 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 documentation seems so straightforward! > > Any hint or comment will be welcomed. > > Cheers > > Marcelo > > > [1] http://fedoraproject.org/wiki/FedoraXenQuickstartFC6 > > > ------------------------------------------------------------------------ > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos
Matthew Berg
2007-Apr-16 09:51 UTC
[CentOS] How to create a virtual machine? (Centos-5-beta-xen)
> I used the "virt-install" command, and every went fine until themoment to> create the partitions on the virtual disk (file "/var/xen/fc6.iso"with> 10GB). No matter with option I choose: remove all partitions, removelinux> partitions, use free space, etc, does not work. The message is: > "An error has occurred - no valid devices were found on wihich tocreate 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