x345v20z
8th November 2007, 20:15
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?
[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?