[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Windows2003 P2V migration, need help creating a shrunken disk image.




Hi,
Probably you can use partimage with a system rescue cd.
So you can choose the partition you wan't save and after, restore it inside the VM when you boot with the system rescue cd.
the ntfs support is ok , now

Regards
Yves


Julien Croquant a écrit :
> I have a windows server with a 250G drive
>
> the drive is partitioned as follows.
> partition 1: dell utility partition
> partition 2: fat32 windows c: partition
> partition 3: extended partition
> partition 5: logical NTFS partitition.
>
> NTFS partition was setup with 220G. but only
> about 18G was being used, so i shrank NTFS down to 50G.
>
> now i want to make a drive image to create a HVM domain.
>
> how can I create the image so that is is not contain the 170G or so of
> free space i freed up?
>
> technically i need the image with partition2 and partition5
> which has the MBR code to boot from partition2


You d'ont have to make a drive image, but instead you have to do partitions images. Depends of your setup. If you wan to use a whole drive for your Windows VM then what about just using your current disk ? If you want to share the drive, just use dd to copy partitions as seperate disks. Another possibility is to copy your disk into a file with dd, limiting to copy size to the ending of your last partition (add some Gb to be sure if you prefer).

This really depends of your setup.


------------------------------------------------------------------------
Connect to the next generation of MSN Messenger Get it now! <http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline>
------------------------------------------------------------------------

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


--
Yves-Gaël Chény
Directeur technique

44 Boulevard des Pas Enchantés
44230 St Sébastien sur Loire
Tel : 02 40 97 62 67 - 08 73 77 24 91
GSM : 06 98 58 41 55
http://www.tranquilitsystems.com/
yves-gael.cheny@xxxxxxxxxxxxxxxxxxxxxx

Tranquil IT Systems . SAS 37 000 ¤



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.