Welcome to BLOGIT.NU
Login or Register Home  ·  Articles  ·  Downloads  ·  Your Account  ·  Forums  ·  About  

  Menu
· Home
· Articles
· Donations
· Downloads
· Forums
· Search
· Sitemap
· Statistics
· Stories Archive
· Submit News
· Top 10
· Topics
· Web Links
· Your Account

  Current users
Welcome, Anonymous
Nickname
Password
(Register)
Membership:
Latest: evaultbk
New Today: 1
New Yesterday: 23
Overall: 4797

People Online:
Visitors: 16
Members: 3
Total: 19

Online Now:
01 : Dindalik
02 : aapamokawa
03 : DingnelP

  Last articles
· About
· Track the growth of your SQL Databases
· Truncate SQL Transaction Logfiles
· Creating a customized WinPE for Vmware
· Programming the VMware SDK1.x using vbscript
· Cloning a VM using vbscript
· Explanation of Virtual Center's customization process


  Shrinking and extending volumes, even system volumes... (winPE 2.0)
Posted on Wednesday 06 December 2006 @ 10:48 by tomarentsen
WinPE



This week I was looking at the new functionality of WinPE 2.0, one very interresting tool is the new version the diskpart utility.

There are some really cool new features, one of them is that you can format a drive from within diskpart (saves you another few lines in your scripts) but the coolest feature is that you can now extend and shrink all partitions even boot or system partitions.

Previously when you wanted to extend or shrink a boot volume, you had to create a new disk with the proper size, xcopy the content and replace the original disk with the new disk of your VM. While I guess everybody played with the extend option I won't cover that, but the shrink option is completely new.



When you want to shrink you have to use the shrink option with caution:


1. Power off your Virtual Machine
2. Boot-up your virtual machine with winPE 2.0
3. Type: diskpart at the command prompt
a. Type: select volume
b. Type: shrink querymax
This will output the maximum reclaimable bytes.
c. Type: shrink desired=xxx (where xxx are the number of MB,
you want to reduce your volume by.
This cannot be larger the output of the previous command.
This will shrink your volume.
d. Confirm the result by typing: list volume
Your volume should now show the shrinked size,
remember the size as you need to provide it when shrinking
the actual vmdk file using the vmkfstools.
e. Type: Exit
4. Type: exit to reboot winPE
5. Power off the virtual machine
6. Shrink your vmdk file using vmfstools -x xxxxM my.vmdk --force
(where xxxx is the output of 3d)
7. Power on your virtual machine..
 
"Shrinking and extending volumes, even system volumes... (winPE 2.0)" | Login/Create an Account | 0 comments
The comments are owned by the poster. We aren't responsible for their content.

No Comments Allowed for Anonymous, please register
 
  Related Links
· More about WinPE
· News by tomarentsen


Most read story about WinPE:
Shrinking and extending volumes, even system volumes... (winPE 2.0)


  Article Rating
Average Score: 0
Votes: 0

Please take a second and vote for this article:

Excellent
Very Good
Good
Regular
Bad


  Options

 Printer Friendly Printer Friendly

Associated Topics

VMWare

You can syndicate our news using the file or ultramode.txt
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2006 by me.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.16 Seconds