Using Microsoft DISKPART to resize a volume

Using Microsoft DISKPART to resize a volume

Postby stephen » Sun Apr 01, 2007 2:38 pm

I used the microsoft DISKPART utility to resize a C: drive partition. on a Windows XP PC.

I used clone maxx to image a 60Gb drive to a 120Gb drive.
however the image on the 120Gb drive showed a partition of 60gb and a empty 60gb partition.
CLone Maxx Web Site
http://www.pcinspector.de/clone-maxx/uk/welcome.htm

I took the 120 Gb drive and installed it in an external usb drive case
connected it to my PC and ran DISKPART
LIST VOLUME
showed the volumes on my PC
The external drive showed as Volume 5
SELECT VOLUME 5
Then I extended the Volume simply by typing
EXTEND

The idea to use DISKPART came form this article from:-
http://forum.parallels.com/showthread.php?t=1481

How I resized a Windows partition
I successfully resized my Windows 2003 installation today using the following process.

1. Copy the HDD drive image file and rename
2. Use Image Tools to resize the original HDD file
3. Change your VM profile to boot off of the copied HDD image and add the original, resized image as a second hard disk
4. Once booted, open CMD prompt and run DISKPART
5. View volumes in DISKPART with the command list volume. Note which volume is your original, resized partition
6. Select that partition using the DISKPART command select volume # where # is the partition number.
7. Enter the command extend
8. Enter the command exit
9. Exit Windows and change the VM profile to once again boot from the original, resized image file. You can disconnect (and delete?) the copied image file from the VM profile.


I don't know if DISKPART can be used on Windows XP, etc. but I know that you can download it from Microsoft. Google diskpart windows download.

As mentioned, this worked for me though I cannot guarantee that this will work in all situations.
stephen
 
Posts: 507
Joined: Thu Feb 09, 2006 9:37 am
Location: Brisbane

Return to WIndows XP Issues

Who is online

Users browsing this forum: No registered users and 3 guests

cron