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


RE: [Xen-users] Creating DomU by copying the files from another DomU

To: <bansal.tanuj@xxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Creating DomU by copying the files from another DomU
From: Ryan Perc <furor_hater@xxxxxxxxxxx>
Date: Fri, 3 Apr 2009 11:05:34 +0000
Delivery-date: Fri, 03 Apr 2009 04:06:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: Normal
In-reply-to: <e83c4de80904010840l806963dj2a119c4f20ac6284@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <e83c4de80904010840l806963dj2a119c4f20ac6284@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
The way I would do it is shutdown the domU and

dd if=/dev/sdaX of=/dev/sdaY


copy sdaX cfg file -> sdaY and make the changes you need.

Date: Wed, 1 Apr 2009 21:10:07 +0530
From: bansal.tanuj@xxxxxxxxx
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Creating DomU by copying the files from another DomU

2 DomU are running on my systems and I would like to add one more there but without installing it.
My DomU 1,2 are in /dev/sda7 and /dev/sda8
how is it possible to create another DomU using disk dev/sda9 without installing media.
I got the information from somewhere on gogole to use the below steps but it did not work
1. ext3 /dev/sda9
2. mount it
3. Copy all data from DomU1 to mounted disk
4. unmount
5. create DomU configuration file
6. now boot new DomU
After the above steps the DomU starts grub and then deid....


Rediscover Hotmail®: Get e-mail storage that grows with you. Check it out.
Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>