CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 5 - Server Support
  Can't install debian xen guest with virt-installer [Centos 5.3]

 

 Bottom   Previous Topic   Next Topic
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread Rated:  2 Votes
  •  sveinh
      sveinh
Can't install debian xen guest with virt-installer [Centos 5.3]
#1
Newbie
Joined: 2009/5/3
From
Posts: 1
I have tried to install debian 5.0 and 4.0 without any luck. I have both tried virt-manager and virt-install with both debian-501-i386-netinst.iso, and full dvd.
I't always gives me the same error:
Starting install...
Could not find an installable distribution at '/xen/debian-501-i386-netinst.iso'
Domain installation may not have been
 successful.  If it was, you can restart your domain
 by running 'virsh start test'; otherwise, please
 restart your installation.
søn, 03 mai 2009 03:06:44 ERROR    Could not find an installable distribution at '/xen/debian-501-i386-netinst.iso'
Traceback (most recent call last):
  File "/usr/sbin/virt-install", line 560, in ?
    main()
  File "/usr/sbin/virt-install", line 492, in main
    dom = guest.start_install(conscb, progresscb, wait=(not wait))
  File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 820, in start_install
    self._prepare_install(meter)
  File "/usr/lib/python2.4/site-packages/virtinst/ParaVirtGuest.py", line 56, in _prepare_install
    self._installer.prepare(guest = self, meter = meter)
  File "/usr/lib/python2.4/site-packages/virtinst/DistroManager.py", line 261, in prepare
    self._prepare_kernel_and_initrd(guest, distro, meter)
  File "/usr/lib/python2.4/site-packages/virtinst/DistroManager.py", line 231, in _prepare_kernel_and_initrd
    arch = arch)
  File "/usr/lib/python2.4/site-packages/virtinst/DistroManager.py", line 133, in acquireKernel
    arch=arch)
  File "/usr/lib/python2.4/site-packages/virtinst/DistroManager.py", line 109, in _storeForDistro
    raise ValueError, _("Could not find an installable distribution at '%s'" % baseuri)
ValueError: Could not find an installable distribution at '/xen/debian-501-i386-netinst.iso'
Posted on: 2009/5/3 1:08
Create PDF from Post Print
Top
  •  Cthulu
      Cthulu
Re: Can't install debian xen guest with virt-installer [Centos 5.3]
#2
Newbie
Joined: 2009/8/20
From
Posts: 1
I'm having the same issue, I'm afraid. I installed amd64 Centos 5.3 on a rather underpowered but low energy nettop Intel Atom based CPU without virtualization hardware support.

cat /proc/cpuinfo | grep flags 
flags   : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl tm2 cx16 xtpr lahf_lm

I'd like to replace my less energy-efficient AMD Athlon X2 local web and file server but I wanted to install apt-proxy or apt-cacher so I won't have to continually download updates for various Debian and Ubuntu clients in my little LAN. My new server won't handle KVM. I doubt it matters by the system uses LVM and LUKS encryption.

Xen is installed, I'm booting to a xen kernel, xend seems to be running. I've tried both the virt-install & virt-manager, everything to go fine, but whenever I'd hit the "Finish" button (in the Virtual Machine Manager) I'd get some message like this:
Unable to complete install 'exceptions.ValueError 
Could not find an installable distribution at '/ka' Traceback (most recent call last):   
File "/usr/share/virt-manager/virtManager/create.py", line 627, in do_install     
dom = guest.start_install(False, meter = meter)   
File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 820, in start_install     
self._prepare_install(meter)   
File "/usr/lib/python2.4/site-packages/virtinst/ParaVirtGuest.py", line 56, in _prepare_install     
self._installer.prepare(guest = self, meter = meter)   
File "/usr/lib/python2.4/site-packages/virtinst/DistroManager.py", line 261, in prepare     
self._prepare_kernel_and_initrd(guest, distro, meter)   
File "/usr/lib/python2.4/site-packages/virtinst/DistroManager.py", line 231, in _prepare_kernel_and_initrd     
arch = arch)   File "/usr/lib/python2.4/site-packages/virtinst/DistroManager.py", line 133, in acquireKernel     arch=arch)   
File "/usr/lib/python2.4/site-packages/virtinst/DistroManager.py", line 109, in _storeForDistro     
raise ValueError, _("Could not find an installable distribution at '%s'" % baseuri) 
ValueError: Could not find an installable distribution at '/ka'

I tried pointing the installer at an ISO, a loop mounted ISO, a directory with the files copied from a loop mounted ISO, what I figured was the Debian server repository with the latest netboot installer, even directories with compressed and uncompressed XEN img image files from Stacklet. I even loop mounted the Debian amd64 Lenny ISO and soft linked to it in my local web browser as I gleaned was a good tact from this post on a similar vein:
http://www.centos.org/modules/newbb/viewtopic.php?topic_id=12946&forum=41&post_id=43016#forumpost43016
I can browse to the ISO files fine at http://localhost/iso/

Can anyone beat me with a clue stick? What am I missing?

I have read the Stacklet documentation and tried to appropriately edit the debian.5-0.x86-64.xen3.cfg file.
kernel = "/boot/vmlinuz-2.6-xen" 
memory = "384" 
name = "debian.5-0" 
vif = [''] 
dhcp = "dhcp" 
disk = ['file:/ka/debimg/debian.5-0.x86-64.img,/dev/mapper/luks-93d27066-e97f-44d2-80ab-1cc1a7bf9416,w'] 
root = "/dev/mapper/luks-93d27066-e97f-44d2-80ab-1cc1a7bf9416 ro"

I've looked over the Virtualization Guide that came with the distro.

file:///usr/share/doc/Virtualization-en-US-5.2/index.html#pref-Virtualization-Installation_Procedures-Installing_Red_Hat_Enterprise_Linux_Virtualization

Also, I've mucked around with various helpful tutorials:

http://www.howtoforge.com/installing-xen-on-centos-5.2-i386-p2
http://www.howtoforge.com/paravirtualization-with-xen-on-centos-5.3-x86_64-p2

I'm not the brightest penny in the jar, but seems like it should be easier. Some folks are just too daft to run Linux.
Posted on: 2009/8/20 21:07
Create PDF from Post Print
Top
  •  postman76
      postman76
Re: Can't install debian xen guest with virt-installer [Centos 5.3]
#3
Newbie
Joined: 2009/11/2
From
Posts: 1
Hello guys,


I´ve got exactly the same problem and tested everything even a local NIS installation. Nothing worked. With a CentOS 5.3 guest it´s working, but I want to use a Debian installation as guest. It seems to me that CentOs developers didn´t think about the possibility to install something else. IMHO it should not matter which OS I want as guest.

Best regards

postman
Posted on: 2009/11/2 16:47
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic

 


 You cannot start a new topic.
 You can view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com