VMware: Extend the OS disk the easy way (ExtPart.exe)

ExtPart.exe kun je hier downloaden: http://support.dell.com/support/downloads/

Start de ExtPart.exe op en pak de bestanden uit naar de default directory.

In deze post voeg ik 2GB toe aan de VM.

image

Even wachten totdat de taak klaar is.

image

Nu wordt het tijd om naar de tool ExtPart.exe te kijken.

Via het commando: ExtPart.exe /? krijg je de volgende output:

C:\dell\ExtPart>extpart /?

ExtPart – Utility to extend basic disks (Build 1.0.4)
(c) Dell Computer Corporation 2003

Usage: extpart [volume size]
volume  – volume to expand. eg. f:, g: etc. (only basic volumes)
size    – size in megabytes to expand the volume

Return codes for script mode
(If parameters are not specified extpart will run in interactive mode)
0       – Success
1       – Parameter error. size parameter is invalid
2       – Invalid volume or failed to connect to volume
3       – Invalid volume type or failed to get volume properties
4       – Requested size is invalid or volume expansion operation failed
5       – Unable to retrieve volume properties after expansion completed
6       – Invalid size requested for expansion (minimum value is 8 MB)

Oké nu we weten hoe het commando werkt voeren we het volgende commando uit:

ExtPart.exe C: 2048 (je moet de waarde in MB’s opgeven)

C:\dell\ExtPart>extpart.exe C: 2048

ExtPart – Utility to extend basic disks (Build 1.0.4)
(c) Dell Computer Corporation 2003

Current volume size     : 8181 MB (8578934272 bytes)
Current partition size  : 8181 MB (8578934784 bytes)

New volume size         : 10228 MB (10725732352 bytes)

De opdracht lijkt succesvol maar we kijken het nog even na binnen Windows:

image

De credits gaan naar drexciya die deze tool tipte op het vmug forum: http://www.vmug.nl

Advertisement

6 Responses to VMware: Extend the OS disk the easy way (ExtPart.exe)

  1. Pingback: Networknet.nl » VMWare ESX: Virtual Hard Disk FULL

  2. harish says:

    I have tried .. but while executing extpart.exe C: 17000 its give message that cannot connect to C:, …..C: does exist since thats where i am executing this commad from… any idea why this error

  3. C .Beerse says:

    Hoe lang duurt zo’n extpart.exe actie ongeveer? Als maten er toe doen, van 6 naar 10 GB onder msWindows 2003…

    En wat als je geen maat op geeft? gaat ze dan voor de ruimte die er is? of doet ze gewoon niets (vergroten met 0 MB)?

    • afokkema says:

      Bij mij was het in een paar seconden klaar. Je moet een maat opgeven, anders gebeurd er volgens mij niks.

  4. Pingback: Extend a Windows 2008 boot partition « ICT-Freak.nl

  5. Mats says:

    Thanks! This really saved my day! :)

Leave a Reply

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

Gravatar
WordPress.com Logo

You are commenting using your WordPress.com account. 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 )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 902 other followers