How to resize your Virtual Hard Drive in 12 easy steps

To increase the size of the C: partition on the virtual HD without increasing the overal size of the virtual disk.
 
*** BACKUP YOUR VIRTUAL IMAGE BEFORE STARTING THIS PROCEDURE ***
 
BEFORE YOU CAN DO ANYTHING…You will need to get your hands on a bootable Norton Ghost floppy disk or CD.  You will need Norton Ghost to generate this.
Down mbrwizrd beta 2 fromhttp://www.mbrwizard.com/
STEP 1 – CREATING A NEW VIRTUAL HARD DRIVE USING MICROSOFT VIRTUAL PC
 
1. In the Virtual PC settings of the current virtual image create a new VHD the same size as the existing VHD using the Virtual Disk Wizard (64Gb).  
 
STEP 2 – CREATE NEW DISK PARTITIONS ON YOUR VHD USING DISKMGMT.MSC
 
2. Mount this as the second drive on the virtual image and boot up your image and use diskmgmt.msc to create the partitions on the new disk.
 
3. Make the first partition which will be the new c: drive about double in size (20Gb), make the new d: and e: drives the same size as before and use any remaining space as the new f: drive.  Make sure the new hard drive disk is set to basic NOT dynamic and that the partitions you create are set to basic NTFS.
 
STEP 3: COPYING PARTITIONS USING NOTON GHOST 2003
 
4. Shut down the Virtual PC and rebbot either the bootable Norton Ghost 2003 floppy or cd in the drive.
 
5. You will see a message to sugest at least one new drive has been detected.  Select to use this drive in Norton Ghost and then Click OK when prompted at the about prompt.
 
6. Use GHOST to copy all the partitions from the old VHD to the new VHD. Hover over Local > Partition > To Partition and select your source drive and partition.  Then select your destination drive and partition.  Click Yes to proceed and then follow the progress indicator.  Once completed, repeat these steps for any remaining partitions that you require to copy over.
 
7. Once completed remove the bootable disk and restart the image as normal.
 
STEP 4: CHECKING YOUR NEW VIRTUAL HARD DRIVE WITH MBRWIZARD
 
8. Copy mbrwizard onto the virtual pc. Open a command prompt at the location of mbrwizard. run the command mbrwiz /list to check that the old VHD and new VHD have all the correct partitions etc.
 
9. run the command mbrwiz /repair=1 /disk=1 where disk=1 assusmes that your new VHD is mounted as drive 1, this command should repair the MBR on the new VHD.
 
10. run the command mbrwiz /active=yes /disk=1 /part=0 this should set the c: drive of the new VHD as the active partition for that disk.
 
11. Shut down the virtual pc. In the Images settings remove the old VHD as a mounted hard disk 1 and set the new VHD as mounted hard disk 1 ensure nothing is mounted on the other hard disk slots.
 
12. Boot up the virtual pc with the new VHD and the resized partitions. Check everything is working as it should. If confident delete the old VHD.
 
That’s it.  Job done.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s