[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Error while running virt-install


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Chandra Sekhar <sekhar_15@xxxxxxxxx>
  • Date: Sun, 16 Nov 2008 21:23:04 -0800 (PST)
  • Delivery-date: Sun, 16 Nov 2008 21:24:18 -0800
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Message-ID; b=gUS404Ou3SXk9sdEaZT9EteIX8YUk3s/YN3E3oTVhO4RwEnTpSoJllD7zEdRZjjDRUyn+fju0nG7feySlgaoO8aZwejVKYrTavnpO90KW6qw46vy/0W8mY7Vylm9yNK8Z03+4P6oSQUR21gvF7ESjRap6nea3y6NFibE6TrKv8w=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi All
I need some real help in using virt-install.
I have a fedora8 o/s + Xen installed and wanted to have RHEL4 as the Guest Domain.
I have mounted the CD1 of RHEL4 and wanted to install this as guest domain using virt-install and not able to do and seeking help.
Please let me know if the parameters to virt-install are correct and if not please let me know the correct parameters.
Contents of RHEL4 CD1
----------------------
[root@xenserver mnt]# ls
autorun                RELEASE-NOTES-ja.html        RELEASE-NOTES-U2-ja.html     RELEASE-NOTES-U4-hi.html
EULA                   RELEASE-NOTES-ko.html        RELEASE-NOTES-U2-ko.html     RELEASE-NOTES-U4-it.html
GPL                    RELEASE-NOTES-pa.html        RELEASE-NOTES-U2-pa.html     RELEASE-NOTES-U4-ja.html
images                 RELEASE-NOTES-pt_BR.html     RELEASE-NOTES-U2-pt_BR.html  RELEASE-NOTES-U4-ko.html
isolinux               RELEASE-NOTES-ru.html        RELEASE-NOTES-U2-ru.html     RELEASE-NOTES-U4-pa.html
README-bn.html         RELEASE-NOTES-ta.html        RELEASE-NOTES-U2-ta.html     RELEASE-NOTES-U4-pt_BR.html
README-de.html         RELEASE-NOTES-U1-bn.html     RELEASE-NOTES-U2-zh_CN.html  RELEASE-NOTES-U4-ru.html
README-en              RELEASE-NOTES-U1-de.html     RELEASE-NOTES-U2-zh_TW.html  RELEASE-NOTES-U4-ta.html
README-en.html         RELEASE-NOTES-U1-en          RELEASE-NOTES-U3-bn.html     RELEASE-NOTES-U4-zh_CN.html
README-es.html         RELEASE-NOTES-U1-en.html     RELEASE-NOTES-U3-de.html     RELEASE-NOTES-U4-zh_TW.html
README-fr.html         RELEASE-NOTES-U1-es.html     RELEASE-NOTES-U3-en          RELEASE-NOTES-U5-bn.html
README-gu.html         RELEASE-NOTES-U1-fr.html     RELEASE-NOTES-U3-en.html     RELEASE-NOTES-U5-de.html
README-hi.html         RELEASE-NOTES-U1-gu.html     RELEASE-NOTES-U3-es.html     RELEASE-NOTES-U5-en
README-it.html         RELEASE-NOTES-U1-hi.html     RELEASE-NOTES-U3-fr.html     RELEASE-NOTES-U5-en.html
README-ja.html         RELEASE-NOTES-U1-it.html     RELEASE-NOTES-U3-gu.html     RELEASE-NOTES-U5-es.html
README-ko.html         RELEASE-NOTES-U1-ja.html     RELEASE-NOTES-U3-hi.html     RELEASE-NOTES-U5-fr.html
README-pa.html         RELEASE-NOTES-U1-ko.html     RELEASE-NOTES-U3-it.html     RELEASE-NOTES-U5-gu.html
README-pt_BR.html      RELEASE-NOTES-U1-pa.html     RELEASE-NOTES-U3-ja.html     RELEASE-NOTES-U5-hi.html
README-ru.html         RELEASE-NOTES-U1-pt_BR.html  RELEASE-NOTES-U3-ko.html     RELEASE-NOTES-U5-it.html
README-ta.html         RELEASE-NOTES-U1-ru.html     RELEASE-NOTES-U3-pa.html     RELEASE-NOTES-U5-ja.html
README-zh_CN.html      RELEASE-NOTES-U1-ta.html     RELEASE-NOTES-U3-pt_BR.html  RELEASE-NOTES-U5-ko.html
README-zh_TW.html      RELEASE-NOTES-U1-zh_CN.html  RELEASE-NOTES-U3-ru.html     RELEASE-NOTES-U5-pa.html
RedHat                 RELEASE-NOTES-U1-zh_TW.html  RELEASE-NOTES-U3-ta.html     RELEASE-NOTES-U5-pt_BR.html
RELEASE-NOTES-bn.html  RELEASE-NOTES-U2-bn.html     RELEASE-NOTES-U3-zh_CN.html  RELEASE-NOTES-U5-ru.html
RELEASE-NOTES-de.html  RELEASE-NOTES-U2-de.html     RELEASE-NOTES-U3-zh_TW.html  RELEASE-NOTES-U5-ta.html
RELEASE-NOTES-en       RELEASE-NOTES-U2-en          RELEASE-NOTES-U4-bn.html     RELEASE-NOTES-U5-zh_CN.html
RELEASE-NOTES-en.html  RELEASE-NOTES-U2-en.html     RELEASE-NOTES-U4-de.html     RELEASE-NOTES-U5-zh_TW.html
RELEASE-NOTES-es.html  RELEASE-NOTES-U2-es.html     RELEASE-NOTES-U4-en          RELEASE-NOTES-zh_CN.html
RELEASE-NOTES-fr.html  RELEASE-NOTES-U2-fr.html     RELEASE-NOTES-U4-en.html     RELEASE-NOTES-zh_TW.html
RELEASE-NOTES-gu.html  RELEASE-NOTES-U2-gu.html     RELEASE-NOTES-U4-es.html     RPM-GPG-KEY
RELEASE-NOTES-hi.html  RELEASE-NOTES-U2-hi.html     RELEASE-NOTES-U4-fr.html     SRPMS
RELEASE-NOTES-it.html  RELEASE-NOTES-U2-it.html     RELEASE-NOTES-U4-gu.html     TRANS.TBL
[root@xenserver mnt]# find . -name "*.iso" -print
./images/boot.iso
[root@xenserver mnt]# virt-install
What is the name of your virtual machine? xenclient1
 How much RAM should be allocated (in megabytes)? 512
 What would you like to use as the disk (path)? /data/initrd.xenclient1.RHEL4.img
 How large would you like the disk (/data/initrd.xenclient1.RHEL4.img) to be (in gigabytes)? .5
 Would you like to enable graphics support? (yes or no) no
 What is the install location? /mnt/images/boot.iso

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 xenclient1'; otherwise, please
 restart your installation.
Mon, 17 Nov 2008 10:46:14 ERROR    Invalid file location given: No such file or directory
Traceback (most recent call last):
  File "/usr/sbin/virt-install", line 485, in <module>
    main()
  File "/usr/sbin/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
[root@xenserver mnt]#
 
 
Thanks
Chandra Sekhar

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.