WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: Ewan Slater <ewan.slater@xxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Complete Xen n00b getting stuck trying to create a VM
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Tue, 22 Jun 2010 09:01:10 +0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 21 Jun 2010 19:02:42 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTik50rICiVjYhkqEvw1aIBkmN14iRpcQ80yNoPqO@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTik50rICiVjYhkqEvw1aIBkmN14iRpcQ80yNoPqO@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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