<div dir="ltr">On Tue, Sep 15, 2009 at 1:23 PM, Bernhard Gschaider <span dir="ltr"><<a href="mailto:bgschaid_lists@ice-sf.at">bgschaid_lists@ice-sf.at</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br>
Hi!<br>
<br>
Some weeks ago the "Running Xen"-book was recommended to me on this<br>
list. A nice book, but it gave me crazy idea: One of the<br>
recommendations (which sounds very reasonable to me) was to have<br>
instead of a single file that serves as a disk-image to have to<br>
files: one of them (which is mounted to hda1) serves as a partition<br>
that holds the data, the other one (which mounts to hda2) is the swap<br>
partition. The text in the books (admittedly it's a bit vague there)<br>
lead me to the conclusion that to the Xen-machine they will look like<br>
two partitions of a single drive hda. The advantage should be that it<br>
is much easier to extend the data partition (Take the machine<br>
offline. Extend the image with dd. Extend the filesystem on the image)<br>
<br>
I created the two files as described in book. "Formatted" them with<br>
mkswap and mkfs.ext3 (as described in the book) and added them to the<br>
configuration file for the host. Now when I start the installation of<br>
the host machine right in the beginning I get a message "/dev/hda1 has<br>
a loop partition layout. To use this disk for the installation of<br>
CentOS it must be initialized". When I don't allow formatting I get<br>
caught in a loop ("Is a loop partition. Initialize?"), when I allow<br>
formatting I get a partition on each of the devices (hda11 and hda21)<br>
and I would be allowed to go on with the installation, but IMHO this<br>
would defeat the purpose of the exercise<br>
<br>
So my question:<br>
 - is there some error in thinking on my side?<br>
 - is this a situation that the installer can't deal with? (in other<br>
   words: would it work if I copied a complete installation into the root<br>
   partition-image and then booted that?)<br>
 - or is there a reason that using partition images is not very<br>
   popular (Googling around did not reveal anything useful)<br>
<font color="#888888"><br>
Bernhard<br>
</font><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>
<br></blockquote><div><br>Bernhard,<br><br>I'm actually probably the one that recommended the book to you.  I hope your enjoying it so far.<br><br>As for your issue, I forwarded this to a friend of mine that is one of the authors of the book.  He's interested in trying to fully understand what you're trying to achieve.  He is wondering if you would mind sending an email to <a href="mailto:contact@runningxen.com">contact@runningxen.com</a> with your issue and the specific page(s) that you are referencing.  He also wanted me to make you aware of the Running Xen readers mailing list, which you can find more information about at <a href="http://runningxen.com/">http://runningxen.com/</a> .  You can also find several other resources for the book on the site as well.<br>

<br>Feel free to keep me in the loop as well.  I might have some advice to offer once I fully understand everything.<br><br>Matt<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></div></div><br></div>