Hi I am new to xen, trying to get things going on a new CentOS install. I have xen installed fine, and "xm list" shows Domain-0 is OK. I am trying to use virt-install (or it''s GUI equiv through virt-manager) to set up a new VM. I am trying to give a local empty file file (created with dd as per docs) as the hard disc, and get it to install from an iso file. Every time I give the location for the iso file, I get the error: ERROR: Could not find an installable distribution the install location I have tried giving the full path to the ISO, the path to the containing directory, also ftp:// ... to the directory on an external server. Always the same thing. I''ve also tried DamnSmallLinux and Debian iso''s what am I doing wrong? what is the easy way to do this? thanks! Daniel _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Augusto Castelan Carlson
2008-Feb-08 15:24 UTC
Re: [Xen-users] installing a vm with virt-install
Hi!> I am trying to use virt-install (or it''s GUI equiv through > virt-manager) to set up a new VM. I am trying to give a local empty > file file (created with dd as per docs) as the hard disc, and get it > to install from an iso file. Every time I give the location for the > iso file, I get the error: > > ERROR: Could not find an installable distribution the install location > > I have tried giving the full path to the ISO, the path to the > containing directory, also ftp:// ... to the directory on an external > server. Always the same thing. I''ve also tried DamnSmallLinux and > Debian iso''s > > what am I doing wrong? what is the easy way to do this?Can you post the entire command? Regards, -- Augusto _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Daniel McBrearty wrote:> Hi > > I am new to xen, trying to get things going on a new CentOS install. I > have xen installed fine, and "xm list" shows Domain-0 is OK. > > I am trying to use virt-install (or it''s GUI equiv through > virt-manager) to set up a new VM. I am trying to give a local empty > file file (created with dd as per docs)Not required to create it via dd. virt-manager or virt-install would automatically create the file backend for you.> as the hard disc, and get it > to install from an iso file. Every time I give the location for the > iso file, I get the error: > > ERROR: Could not find an installable distribution the install location >Are you trying to install a paravirtual guest or a fully virt?> I have tried giving the full path to the ISO, the path to the > containing directory, also ftp:// ... to the directory on an external > server. Always the same thing. I''ve also tried DamnSmallLinux and > Debian iso''s > > what am I doing wrong? what is the easy way to do this? > > thanks! > > Daniel > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
my suggestion would be to look at one of the centos mirror sites, say like this ftp.usf.edu/centos/5.1/os/i386/ or whatever the right url is.. i gave this location to virt install. bottom line: The net install method works for virt install. So, you could look at those directories, see if you are missing any meta file that virt install requires (but i doubt it) Sadique Puthen wrote:> Daniel McBrearty wrote: >> Hi >> >> I am new to xen, trying to get things going on a new CentOS install. I >> have xen installed fine, and "xm list" shows Domain-0 is OK. >> >> I am trying to use virt-install (or it''s GUI equiv through >> virt-manager) to set up a new VM. I am trying to give a local empty >> file file (created with dd as per docs) > > Not required to create it via dd. virt-manager or virt-install would > automatically create the file backend for you. > >> as the hard disc, and get it >> to install from an iso file. Every time I give the location for the >> iso file, I get the error: >> >> ERROR: Could not find an installable distribution the install location >> > > Are you trying to install a paravirtual guest or a fully virt? > >> I have tried giving the full path to the ISO, the path to the >> containing directory, also ftp:// ... to the directory on an external >> server. Always the same thing. I''ve also tried DamnSmallLinux and >> Debian iso''s >> >> what am I doing wrong? what is the easy way to do this? >> >> thanks! >> >> Daniel >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> >> > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- "Your kernel is beyond salvage boy" said the doc "I know. Can I reinstall it again, properly?" asked I "Its not in your control anymore son" said he "How long before the batteries die off?" asked I _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> i gave this location to virt install. > bottom line: The net install method works for virt install. So, you > could look at those directories, see if you are missing any meta file > that virt install requires (but i doubt it) >OK. But what about when you have the iso downloaded on a local disc? surely this should be fine too? absolute path to dir/file should work, no ? I tried to find docs about this, what it expects to see and how to tell it, but found nothing ... _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Daniel McBrearty wrote:>> i gave this location to virt install. >> bottom line: The net install method works for virt install. So, you >> could look at those directories, see if you are missing any meta file >> that virt install requires (but i doubt it) >> >> > > OK. But what about when you have the iso downloaded on a local disc? > surely this should be fine too? > > absolute path to dir/file should work, no ? >Absolute path to the directory which contains the isos wouldn''t work for paravirtualized installation. You have to loop back mount the whole isos, copy the contents to a directory and share the directory using nfs/http/ftp and specify nfs/http/ftp url as the installation source. See some details at. http://kbase.redhat.com/faq/FAQ_108_10484.shtm --Sadique> I tried to find docs about this, what it expects to see and how to > tell it, but found nothing ... > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users