Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 8th November 2007, 19:15
x345v20z x345v20z is offline
Junior Member
 
Join Date: Nov 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default XEN Howto/ Host FC7 Guest Windows Me or Xp

Here is yet another route using CLI..at least now I get better error messages tan with the GUI application "Virtual machine manager"

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

[root@bogus~]# 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 need to do there? Create an image just supply a file name, what else?
Reply With Quote
Sponsored Links
  #2  
Old 9th November 2007, 18:58
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Does the /home/xen directory exist? If not, create it and try again.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 9th November 2007, 19:09
x345v20z x345v20z is offline
Junior Member
 
Join Date: Nov 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

yes /home/xen was presented and for good measure it was chmod 777.
I have no problem using Qemu, but XEN is really troublesome for some reason.
Reply With Quote
  #4  
Old 10th November 2007, 21:06
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Quote:
Originally Posted by x345v20z
How large would you like the disk (/home/xen/winme.img) to be (in gigabytes)? 3000
Did you really specify 3000 GB?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 16th January 2008, 23:40
Sp4rt4n Sp4rt4n is offline
Junior Member
 
Join Date: Jan 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default solved?

Hey guys,
Did you ever solve this problem? Im trying the same thing with FC8 and encountering the same error message (i think).

[root@localhost xen]# pwd
/home/xen
[root@localhost xen]# uname -r
2.6.21-2952.fc8xen
[root@localhost xen]# /usr/sbin/xm list
Name ID Mem VCPUs State Time(s)
Domain-0 0 1880 2 r----- 7073.5
[root@localhost xen]# virt-install
What is the name of your virtual machine? WinXP
How much RAM should be allocated (in megabytes)? 1200
What would you like to use as the disk (path)? /dev/sda4
Would you like to enable graphics support? (yes or no) yes
What is the install location? /dev/cdrom


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 WinXP'; otherwise, please
restart your installation.
Wed, 16 Jan 2008 16:44:34 ERROR Invalid file location given: No such file or directory
Traceback (most recent call last):
File "/usr/bin/virt-install", line 485, in <module>
main()
File "/usr/bin/virt-install", line 449, in main
dom = guest.start_install(conscb,progresscb)
File "/usr/lib/python2.5/site-packages/virtinst/Guest.py", line 722, in start_install
self._prepare_install(meter)
File "/usr/lib/python2.5/site-packages/virtinst/ParaVirtGuest.py", line 48, in _prepare_install
self._installer.prepare(guest = self, meter = meter)
File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", line 681, in prepare
self._prepare_kernel_and_initrd(guest, distro, meter)
File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", line 651, in _prepare_kernel_and_initrd
distro = distro)
File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", line 581, in acquireKernel
progresscb=progresscb, distro=distro, scratchdir=scratchdir)
File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", line 564, in _storeForDistro
if store.isValidStore(fetcher, progresscb):
File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", line 445, in isValidStore
ignore = fetcher.acquireFile("directory.yast", 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


I have tried using an iso i made of the WinXP disk i have, instead of /dev/cdrom (using the dd command). Also I have tried installing it to a .img file i made (with the dd command) instead of a partition (/dev/sda4 is an empty ntfs partition). Any help would be appreciated.

Thanks
Reply With Quote
  #6  
Old 18th January 2008, 02:34
x345v20z x345v20z is offline
Junior Member
 
Join Date: Nov 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

No, I never got it to work, and just went ahead and used Qemu instead. Qemu works good enough.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting e-mail working hansoffate Installation/Configuration 29 13th August 2008 16:33
apache2 problem laser144 Server Operation 8 15th March 2007 17:32
This is %#@*&^$# embarrassing! domino Smalltalk 34 5th February 2007 21:57
I broke it.. I think.. Email in is not being delivered? edge Server Operation 1 3rd July 2006 14:22
Xen 3.0, Ubuntu 5.10, and Windows 2003 Server Jcorrea920 HOWTO-Related Questions 3 4th May 2006 11:26


All times are GMT +2. The time now is 17:54.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.