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] Can you convert Windows LVM domU to sparse img file?

I was able to do it using Māris' suggestion using:
dd if=/dev/vg/winpart of=/home/myuser/winimage.img bs=4096

I made sure the system was shut down cleanly and successfully before
doing it. Once it was done I used 'cp -v --sparse=always...' and copied
it to another file. 

Using 'du -s -B1 filename' I confirmed the file size. 

I recreated the machine in virtmanager and it booted up and seems to be
good. 

Thanks for the suggestions. 

James


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