WARNING - OLD ARCHIVES

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

xen-users

RE: [Xen-users] converting ntfs > xen image ? viable?

To: <glenn@xxxxxxxxxxxxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] converting ntfs > xen image ? viable?
From: "Steffen Heil" <lists@xxxxxxxxxxxxxxx>
Date: Sun, 5 Nov 2006 11:47:40 +0100
Delivery-date: Sun, 05 Nov 2006 02:47:41 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200611051611.23876.glenn@xxxxxxxxxxxxxxxxxxx>
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
Thread-index: AccAmP1qNfoRW0q3TyC3hOyUA6Ym7wALtDXw
Hi

> im wondering if i can 'convert' and existing physical windows 
> partition to a xen image like this:
> 
> - mount the existing ntfs fs
> - use dd to make a correct sized foo.img file
> - loop back mount foo.img
> - ntfs format (as bootable?) foo.img
> - 'cp -r ' the files from the  mounted ntfs to the mounted 
> and formated foo.img
> - use the disk=['file:...foo.img' etc] clause to use it in xen
> 
> I'd just try this myself, but Im having other issues (seems 
> ubuntu amd64 and xen dont play well together)  so I cant 
> really experiment with xen or this yet - but still need to 
> think through my options and know im heading down an achievable path

Why not just mount the partition to the domU?
Xen does not need image files.
disk=['phy:....']

And if you want a copy, dd from the existing ntfs partition to a new
partition or file.
No need to mount, format or cp -r....

Regards,
  Steffen

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users