<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Verdana">Obviously you don't use
xenguest-install to set up your guests as it is not possible to do that
natively...<br>
<br>
Finally, what I did:<br>
- I installed a guest FC5 with xenguest-install in a file. (1 partition
for "/", grub installed in first sector, no swap partition)<br>
- create a new lvg , mount it<br>
</font></font><font size="-1"><font face="Verdana">- from dom0, lomount
mount the file (partition 1)<br>
</font></font><font size="-1"><font face="Verdana">- copy everything
from the file (partition 1) to the lvg (cp -ax)<br>
- change the grub.conf (root=) and fstab ("/" partition) in the lvg to
adapt to the new name for /dev/sda1<br>
- change the corresponding xen config file to replace xvda by sda1 and
put the name of the lvg<br>
<br>
..and it works great.<br>
<br>
I now have a "base" version for FC5 in that lvg, I can duplicate it to
create a new FC5 guest when needed, and I indeed can easily change the
size of the base "disk" (lvextend, resize2fs).<br>
<br>
Thanks everyone for your help.<br>
</font></font><br>
Lamont R. Peterson wrote:
<blockquote cite="mid200604251118.39492.lamont@gurulabs.com" type="cite">
<pre wrap="">On Monday 24 April 2006 08:45pm, Denis Forveille wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Thanks, but I still miss how to grow the partition inside the disk
inside the lvg (lvg -> /dev/xvda -> /dev/xvda1)
</pre>
</blockquote>
<pre wrap=""><!---->
I don't have partitions inside of the LVs in dom0. It works great for all
distros (SUSE 9.x/10.0, SLES8/9, RHEL3/4, CentOS3/4, FC2/3/4/5, Gentoo,
Ubuntu). Just make the LV the partition for the domU guests. Then, you
don't have to worry about a partition table from either dom0 or domU and the
guests don't care about it either.
[snip]
</pre>
<pre wrap="">
<hr size="4" width="90%">
--
Fedora-xen mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Fedora-xen@redhat.com">Fedora-xen@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/fedora-xen">https://www.redhat.com/mailman/listinfo/fedora-xen</a>
</pre>
</blockquote>
</body>
</html>