WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] XEN Howto/ Host FC7 Guest Windows Me or Xp

Does anyone have an answer for this, I mean it is a simple question and you all must have done it to get Xen working.

During virt-install

"What would you like to use as the disk (path)? /home/xen/winme.img "

Do I need to create the image winme.img with dd or do I only give a filename.

thanks.


admin@xxxxxxx wrote:
Here is yet another route using CLI..at least now I get better error messages.


[root@bogus ~]# xm list
Name ID Mem VCPUs State Time(s) Domain-0 0 16319 2 r----- 749.7

[root@gateway ~]# virt-install
What is the name of your virtual machine? WinME-1
How much RAM should be allocated (in megabytes)? 1000
What would you like to use as the disk (path)? /home/xen/winme.img
How large would you like the disk (/home/xen/winme.img) to be (in gigabytes)? 3000
Would you like to enable graphics support? (yes or no) yes
What is the install location? /dev/scd0


Starting install...
libvir: Xen Daemon error : GET operation failed:
Invalid file location given: No such file or directory
Domain installation may not have been
successful.  If it was, you can restart your domain
by running 'virsh start WinME-1'; otherwise, please
restart your installation.
Thu, 08 Nov 2007 07:25:03 ERROR Invalid file location given: No such file or directory
Traceback (most recent call last):
 File "/usr/sbin/virt-install", line 474, in <module>
   main()
 File "/usr/sbin/virt-install", line 438, in main
   dom = guest.start_install(conscb,progresscb)
File "/usr/lib/python2.5/site-packages/virtinst/Guest.py", line 706, in start_install
   self._prepare_install(meter)
File "/usr/lib/python2.5/site-packages/virtinst/ParaVirtGuest.py", line 45, in _prepare_install
   self._installer.prepare(guest = self, meter = meter)
File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", line 678, in prepare
   self._prepare_kernel_and_initrd(guest, distro, meter)
File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", line 648, in _prepare_kernel_and_initrd
   distro = distro)
File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", line 578, in acquireKernel
   progresscb=progresscb, distro=distro, scratchdir=scratchdir)
File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", line 561, in _storeForDistro
   if store.isValidStore(fetcher, progresscb):
File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", line 213, in isValidStore
   if fetcher.hasFile("Fedora", progresscb):
File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", line 160, in hasFile
   tmpfile = self.acquireFile(filename, progresscb)
File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", line 150, in acquireFile
   raise ValueError, _("Invalid file location given: ") + msg
ValueError: Invalid file location given: No such file or directory
You have mail in /var/spool/mail/root
[root@bogus ~]#

So again, obviously the problem is at "What would you like to use as the disk (path)? /home/xen/winme.img". Someone can tell me what I nned to do there? Create an image just supply a file name, what else?







admin@xxxxxxx wrote:
I found the following Howto for FC7.
"http://www.howtoforge.com/xen_gui_fedora_7_desktop";

My problem is the file entered on the second window from the top displayed on the following page

"http://www.howtoforge.com/xen_gui_fedora_7_desktop_p2";

AGAIN I ask, Should the file be created first as a file, with dd as an image or does this do it automatically? The person who created the HOWTO selected a file /home/xen/Fedora-7 without saying HOW he created the file/image.

Surely someone here must have used it and must know?






admin@xxxxxxx wrote:
Here is the error message I get and it is not due to the cdrom.
Would someone tell me how they set up the initial file using "Virtual Machine Manager" Gui? I tried creating an image by hand with dd, just using a file etc. asuming the gui will dd it by itself nothing works.
It is not clear what they expect on the "assign storage space" window.

That is the problem with GUI configs, unlike CLI you end up fighting trivial matters easily solved with CLI configs.
If anyone used Virtual Machine Manager" Gui, let me know.



Unable to complete install '<type 'exceptions.ValueError'> Invalid file location given: No such file or directory
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/create.py", line 681, in do_install
   dom = guest.start_install(False, meter = meter)
File "/usr/lib/python2.5/site-packages/virtinst/Guest.py", line 706, in start_install
   self._prepare_install(meter)
File "/usr/lib/python2.5/site-packages/virtinst/ParaVirtGuest.py", line 45, in _prepare_install
   self._installer.prepare(guest = self, meter = meter)
File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", line 678, in prepare
   self._prepare_kernel_and_initrd(guest, distro, meter)
File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", line 648, in _prepare_kernel_and_initrd
   distro = distro)
File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", line 578, in acquireKernel
   progresscb=progresscb, distro=distro, scratchdir=scratchdir)
File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", line 561, in _storeForDistro
   if store.isValidStore(fetcher, progresscb):
File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", line 213, in isValidStore
   if fetcher.hasFile("Fedora", progresscb):
File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", line 160, in hasFile
   tmpfile = self.acquireFile(filename, progresscb)
File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", line 150, in acquireFile
   raise ValueError, _("Invalid file location given: ") + msg
ValueError: Invalid file location given: No such file or directory





_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users




_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users




_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users




_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users