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] Problems installing guest domains

To: Andrew Kilham <andrew@xxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Problems installing guest domains
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Mon, 30 Mar 2009 10:51:14 +0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 29 Mar 2009 20:51:55 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <49CEE82D.5020207@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: <49CEE82D.5020207@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Sun, Mar 29, 2009 at 10:17 AM, Andrew Kilham <andrew@xxxxxxxxxxxxxx> wrote:
> Firstly, if I try to install it as a paravirtualized guest I am running this
> command:
>
>> virt-install -n test1 -r 512 -f /vm/test1.img -s 5
>> --location=/vm/CentOS-5.2-x86_64-bin-DVD.iso

First of all, paravirtualized guests cannot install off cdrom media
(at least not when installing CentOS using virt-install). "location"
is suppose to be location of install server, like
http://mirror.centos.org/centos/5/os/x86_64/

> If I try to install a fully virtualized guest using virt-install, here is
> the command I am running:
>
>> virt-install -n test1 -r 512 -f /vm/test1.img -s 5
>> --location=/vm/CentOS-5.2-x86_64-bin-DVD.iso --hvm
>
> This comes up and it just hangs here:
>
>> Starting install...
>> Creating storage file... 100% |=========================| 5.0 GB 00:00
>> Creating domain... 0 B 00:00
>> ▒
>

That should be

virt-install -n test1 -r 512 -f /vm/test1.img -s 5
--cdrom=/vm/CentOS-5.2-x86_64-bin-DVD.iso --hvm

and you need to have virt-viewer installed. If you're working on
remote host things might get a little compilcated as you need to
enable X forwarding and have a fast-enough link. If everything works
out then you should have a GUI of the installation.

See http://wiki.centos.org/HowTos/Xen/InstallingCentOSDomU for a quick
alternative way of installation, or
http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Virtualization_Guide/index.html
for complete manual.

Regards,

Fajar

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users