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

Re: [Xen-users] Problems installing guest domains



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.