Skip to main content

VMWare - Increasing the size of boot drive

It was fairly simple to do that and one of the following link can help you with this.

http://mcpmag.com/columns/rss.asp?editorialsid=1169

http://vmprofessional.com/index.php?content=2k3resize
http://www.vmware.com/community/thread.jspa?messageID=685039

http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&externalId=1647
http://support.microsoft.com/kb/325590

Sample from my case:
Microsoft Windows XP [Version 5.1.2600](C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\vjs866\Desktop>cd \

C:\>cd "C:\Program Files\VMware\VMware Workstation"

C:\Program Files\VMware\VMware Workstation>vmware -vdiskmanager -x 34gb "C:\1\Virtual Machines\Win2003Ent\Windows Server 2003 Enterprise Edition-cl1.vmdk"

C:\Program Files\VMware\VMware Workstation>vmware-vdiskmanager -x 34gb "C:\1\Virtual Machines\Win2003Ent\Windows Server 2003 Enterprise Edition-cl1.vmdk"Using log file

C:\DOCUME~1\vjs866\LOCALS~1\Temp\vmware-vjs866\vdiskmanager.logFailed to open the disk 'C:\1\Virtual Machines\Win2003Ent\Windows Server 2003 Enterprise Edition-cl1.vmdk' : Failed to lock the file (16392).Failed to open disk 'C:\1\Virtual Machines\Win2003Ent\Windows Server 2003 Enterprise Edition-cl1.vmdk' : Failed to lock the file (16392).

C:\Program Files\VMware\VMware Workstation>vmware-vdiskmanager -x 34gb "C:\1\Virtual Machines\Win2003Ent\Windows Server 2003 Enterprise Edition-cl1.vmdk"Using log file

C:\DOCUME~1\vjs866\LOCALS~1\Temp\vmware-vjs866\vdiskmanager.log Grow: 100% done.The old geometry C/H/S of the disk is: 3263/255/63The new geometry C/H/S of the disk is: 4438/255/63Disk expansion completed successfully.

WARNING: If the virtual disk is partitioned, you must use a third-party utility in the virtual machine to expand the size of the partitions. For more information, see: http://www.vmware.com/support/kb/enduser/std_adp.php?p_faqid=1647

Please post your comment if this post help you are you have some suggestions.

Comments

Popular posts from this blog

SharePoint WebPart Error - Unable to add selected web part (s) – MOSS 2007

ISSUE: Recently I faced this issue that when I try to deploy my WebPart.  Unable to add selected web part(s). WebPartName: Cannon unregister UpdatePanel with ID ‘ctl00RTMPanel’ since it was not registerd with the ScripManager. This might occure if the UpdatePanel was removed from the control tree and later added again, which is not supported. Parameter name: updatePanel.   I faced this issue twice and both the time the issue was not what display here. This could be sure to any error in the WebPart. Following are list resolution from multiple instances.   RESOLUTION: 1. Check the WebPartName.webpart file. Check whether you have a proper PublicKeyToken value. When I face the issue the value was PublicKeyToken=$PublicKeyToken$. If you have used WSP builder then in the Visual Studio you will find this file at \WebPartsProject\12\TEMPLATE\FEATURES\WebPartName\WebPartName.webpart. Sometime when you create a new WebPart using WSP builder then you do not get

Could not open virtual machine – vmx is not a valid virtual machine configuration file

I recently faced an issue with one of my VMWare virtual machine that when I try to run this virtual machine it did not work. VMWare display this message that “Could not open virtual machine: .vmx. ".vmx" is not a valid virtual machine configuration file.” ISSUE: Could not open virtual machine: G:\VPC\RakhiQAXPProfQtp\Windows XP Professional.vmx. "G:\VPC\RakhiQAXPProfQtp\Windows XP Professional.vmx" is not a valid virtual machine configuration file. I try to open .vmx file [G:\VPC\RakhiQAXPProfQtp\Windows XP Professional.vmx] in notepad then I found it was empty (0 KB). Resolution: I wanted to resolve it quickly so I try following method and it worked very well. But this is not a valid documented process so please try with caution. Following are the steps 1. First of all go to the folder where you have your virtual machine and delete all .lck folders. 564df2d4-03de-04e8-d1c3-bd2d53dcb1b7.vmem.lck Windows XP Professional.vmdk.lck

How To Create Virtual Machine Using Existing vmdk file in VMWare Workstation

vmdk file is hard disk of the VMWare virtual machine. There are many scenarios where you may need to create a new virtual machine for an existing vmdk file. This is also an alternate Method to the “ vmx is not a valid virtual machine configuration file – Could not open virtual machine ” issue. Please refer to the previous post “ Could not open virtual machine – vmx is not a valid virtual machine configuration file ” for a full list of possible resolution. This post is to describe one of the solution in more details. How To Create a new virtual machine & attach the existing .vmdk file: 1. Open VMware and select create a new virtual machine with custom (advanced) configuration option. 2. Chose “I will install the operating system later”. and chose “I will install the operating system later”. 3. Select the operating system that matches the operating system in your existing .vldk file. 4. Select a location of the new virtual machine 5. Chose “Use an exis