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/
Home Products Support Community News


[Xen-users] Creating a Xen image from HDD partition

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Creating a Xen image from HDD partition
From: Yoav Felberbaum <mailinglists@xxxxxxxxxx>
Date: Wed, 21 Feb 2007 17:27:10 +0000
Delivery-date: Wed, 21 Feb 2007 09:26:41 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

I know that this is fairly straightforward & supposedly documented elsewhere, but damned if I can find the info using Google.

I have a "stock" CentOS 4.4 installed on /dev/sda3 (with a RHEL install on /dev/sda2). How should I create a xen-usable loop image from the CentOS partition?

Would the following (paraphrased) command work from RHEL ...?

dd if=/dev/sda3 of=/path/to/file.img

I understand that certain directories, like /boot, /proc & a couple of others should NOT be in the image. Is there a full list?

TIA for any help you are able to provide!


Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>