Henok Mikre wrote: > I am installing SL-5.1 on a test vm and I am having the following problem: > > virt-install --name server1 --ram 1024 --nographics --file /dev/vm1 > --file-size 20 --location > http://ftp.scientificlinux.org/linux/scientific/51/i386/ > > always returns with Could not find an installable distribution at > 'http://ftp.scientificlinux.org/linux/scientific/51/i386/' > > I have tried both Fedora 8 and CentOS and they both work. I am thinking > there is a specific file that virt-install and virt-manager look for in > a folder and it is missing in SL. > > I need Scientific Linux. I would appreciate your help. > > Henok Hi, What distro are you running to install this on? You need a patched virt-install for it to recognize that SL can do paravirtulization. CentOS managed to already get a patch in before redhat released, so RHEL automatically see's them. The bugzilla entry is here https://bugzilla.redhat.com/show_bug.cgi?id=448634 Here is the patch that is there. --- DistroManager.py.orig 2008-05-27 16:40:47.000000000 -0700 +++ DistroManager.py 2008-05-27 16:45:19.000000000 -0700 @@ -37,6 +37,7 @@ from OSDistro import FedoraDistro from OSDistro import RHELDistro from OSDistro import CentOSDistro +from OSDistro import SLDistro from OSDistro import SuseDistro from OSDistro import DebianDistro from OSDistro import UbuntuDistro @@ -60,6 +61,10 @@ store = FedoraDistro(baseuri, type, scratchdir) if store.isValidStore(fetcher, progresscb): return store + # Check for Scientific Linux? + if fetcher.hasFile("SL.releasenote", progresscb): + logging.debug("Detected a Scientific Linux distro") + return SLOSDistro(baseuri, type, scratchdir) # Check for CentOS? if fetcher.hasFile("centosdocs-man.css", progresscb): logging.debug("Detected a CentOS distro") @@ -83,6 +88,8 @@ stores.append(RHELDistro(baseuri, type, scratchdir)) if distro == "centos" or distro is None: stores.append(CentOSDistro(baseuri, type, scratchdir)) + if distro == "sl" or distro is None: + stores.append(SLDistro(baseuri, type, scratchdir)) if distro == "suse" or distro is None: stores.append(SuseDistro(baseuri, type, scratchdir)) if distro == "debian" or distro is None: --- OSDistro.py.orig 2008-05-27 16:41:43.000000000 -0700 +++ OSDistro.py 2008-05-27 16:45:50.000000000 -0700 @@ -113,6 +113,14 @@ return True return False +# Scientific Linux distro check +class SLDistro(RedHatDistro): + def isValidStore(self, fetcher, progresscb): + if fetcher.hasFile("SL", progresscb): + logging.debug("Detected a Scientific Linux distro") + return True + return False + # Suse image store is harder - we fetch the kernel RPM and a helper -- __________________________________________________ Troy Dawson [log in to unmask] (630)840-6468 Fermilab ComputingDivision/LCSI/CSI DSS Group __________________________________________________