<div dir="ltr">virt-install can be interactive if you supply a few necessary options first.  I've put a sample of what I normally do below.<br><br>[root@dom0 ~]$ /usr/sbin/virt-install -p --nonsparse -b xenbr0<br><pre style="font-family: tahoma,sans-serif;">

<font style="font-family: arial,helvetica,sans-serif;" size="2">What is the name of your virtual machine? <VM NAME HERE><br>How much RAM should be allocated (in megabytes)? 256<br>What would you like to use as the disk (path)? /xen/images/<VM NAME HERE>.disk<br>

How large would you like the disk (/xen/images/</font><font><font style="font-family: arial,helvetica,sans-serif;" size="2"><VM NAME HERE></font></font><font style="font-family: arial,helvetica,sans-serif;" size="2">) to be (in gigabytes)? 5<br>

Would you like to enable graphics support? (yes or no) no<br>What is the install location? <a href="http://mirror.clarkson.edu/centos/5.3/os/x86_64/">http://mirror.clarkson.edu/centos/5.3/os/x86_64/</a></font></pre>Also, if your willing to spend a few bucks, the Running Xen book is a great source of information for anything relating to Xen (and I'm not saying that just because I'm friends with several of the authors).  Also, you might find the following slides useful.  <a href="http://cosi.clarkson.edu/docs/installingxen/">http://cosi.clarkson.edu/docs/installingxen/</a><br clear="all">

<br>--<br>Mathew S. McCarrell<br>Clarkson University '10<br><br><a href="mailto:mccarrms@gmail.com">mccarrms@gmail.com</a><br><a href="mailto:mccarrms@clarkson.edu">mccarrms@clarkson.edu</a><br>1-518-314-9214<br><br>

<br><br><div class="gmail_quote">On Thu, Aug 20, 2009 at 10:09 PM, Ian Murray <span dir="ltr"><<a href="mailto:murrayie@yahoo.co.uk">murrayie@yahoo.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div class="im"><br>
<br>
<br>
<br>
----- Original Message ----<br>
> From: Kai Schaetzl <<a href="mailto:maillists@conactive.com">maillists@conactive.com</a>><br>
> To: <a href="mailto:centos@centos.org">centos@centos.org</a><br>
</div><div class="im">> Sent: Thursday, 20 August, 2009 19:31:21<br>
> Subject: Re: [CentOS] virt-manager crashes Host during installation of guest<br>
><br>
> Ian Murray wrote on Thu, 20 Aug 2009 14:21:33 +0000 (GMT):<br>
><br>
> > Actual, virt-install commmand line looks no less daunting to me.<br>
><br>
> What is "daunting" about "virt-install -p"?<br>
<br>
</div>[root@xen ~]# virt-install -p<br>
ERROR    A name is required for the virtual machine.<br>
[root@xen ~]# virt-install -p -n newdom<br>
ERROR    Memory amount is required for the virtual machine.<br>
[root@xen ~]# virt-install -p -n newdom -r 256<br>
ERROR    A disk must be specified (use --nodisks to override)<br>
<br>
So it goes on... I suppose once you plough through all the options and save the whole command somewhere, then it is trivial to create new ones, but I got the impression that it was interactive for any missing options.<br>


<br>
Perhaps for the benefit of the OP, perhaps you could give a complete known working example.<br>
<div class="im"><br>
><br>
> > I don't know if that is possible under virt-install.<br>
><br>
> Everything is possible, it depends on how deep you want to dig into it. This guy<br>
> just wants to get his first Xen VM up for some testing (I suppose). There is no<br>
> need to follow lengthy explanations and fail in the end if there is a simple<br>
> command available.<br>
><br>
> > I think tap:aio is more favoured than file, for performance reasons.<br>
><br>
> This is general belief. I suggest doing some tests. After that you may think<br>
> different. ;-) Also, there have been various problems with tap:aio devices in<br>
> the<br>
> various Xen incarnations over time that weren't present in file.<br>
<br>
</div>Well, if you have done such tests, please do share... especially on the xen-users list, as there are far more competent Xen-ers to discuss your findings than me.<br>
<div class="im"><br>
> You want to use LVM or remote storage for real world usage, anyway, but that<br>
> wasn't the task outlined by the OP.<br>
<br>
</div>File based domains initially seemed the simplest way for me, but after a while I concluded they were a but of a pain actually, so indeed I do stick with LVs.<br>
<div><div></div><div class="h5"><br>
<br>
<br>
<br>
_______________________________________________<br>
CentOS mailing list<br>
<a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
</div></div></blockquote></div><br></div>