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

Re: [Xen-users] Complete Xen n00b getting stuck trying to create a VM



On Tue, Jun 22, 2010 at 1:21 AM, Ewan Slater <ewan.slater@xxxxxxxxxxxxxx> wrote:
> I then try to create my first vm with virt-install --prompt, and give
> the path to the .iso for CentOS.

That won't work. Basically virt-install and RHEL/Centos installer issue.

> How can I get it to read the .iso that I specified on the command line?

You can't. Not directly.

>
> I have tried exporting the directory containing the .iso through NFS,
> I've checked I can mount the directory via NFS and then tried to use
> this but no dice ("That directory could not be mounted from the
> server").  I then tried mounting the .iso as a directory on the host
> file system, and exporting that directory via NFS, but got the same
> result.

That SHOULD work. Perhaps some IP range or path mixup?
IMHO, the easiest way is to simply use http. Something like:
- install httpd on your dom0
- create /var/www/html/iso
- mount your ISO there
- use http://ip_of_your_dom_0/iso as installation source.

>
> What I would ideally like to do is to tell the VM I'm creating that it
> has a CD/DVD-ROM attached and to point it to the .iso file.

Again, you can't. Opensolaris can do it just fine. RHEL/Centos
currently can't do it when installing as PV guest, thus the http
workaround needed.

-- 
Fajar

_______________________________________________
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®.