Link to home
Start Free TrialLog in
Avatar of Avery Williams
Avery WilliamsFlag for United States of America

asked on

Diskpart.exe problem / question

I have used diskpart.exe to extend a volume.  I was attempting to extend by c:\ partition.  I wanted to extend the partition and not the volume.  Can I resize the volume then extend the partition.  Is there a way to repair it without re-installing server?
Avatar of Brian Pierce
Brian Pierce
Flag of United Kingdom of Great Britain and Northern Ireland image

I am confused by your use of the terms Volume and Partition.
You have partitions in BASIC disks and Volumes on DYNAMIC disks, please clarify.
You perform disk management in GUI. Right click "My Computer", select Manage, then Disk Management
Right click on the disks to manage them.
Diskpart is a low level tools for changing partitions on the drive.

Please explain exactly what you did, and what you wanted to do.


I hope this helps !
Avatar of Avery Williams

ASKER

I booted up into winpe ran diskpart.exe. I did a "Select volume 0" then I "expand"  When I rebooted it says not boot device detected.  I can see all data intact in winpe.  I will post in a minute what diskpart says right now in regards to disks, volumes and partitions.  
Volume 0 is Ltr E of type simple status healthy. Ltr C used to be volume 0 but is now 1 and type is simple as well as status healthy.  when I do a "List Partition" after selecting Volume 1 is see 3 partitions Which it looks like the size of partition 2 has been increased by running the extend command because is is now size = 149GB.  When I do a "Detail Partitions" on partition 2 is say type simple and Hidden=yes and Active =No. How do I may this partition bootable?
No - diskpart does not work on the system volume. You'll need a 3rd party tool such as gparted (http://gparted.sourceforge.net - download the iso) or Partition Magic to resize the partition - gparted is free and works very well indeed.

As always, it is wise to make a backup before attampting this operation.
Oooops - my post isn't terribly relevant.
There is a workaround for the issue. You may find these Microsoft KB articles helpful:
http://support.microsoft.com/kb/249321
http://support.microsoft.com/kb/223188 
ASKER CERTIFIED SOLUTION
Avatar of nobus
nobus
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I'm still confused about your use of Partition and Volume see http://en.wikipedia.org/wiki/Volume_(computing)

That said if you wat to resize partitions then use Ranish Disk manager http://www.ranish.com/part/ its FREE
1) You need to set an active partition using fdisk or whatever.

2) You may also need to add an entry into the boot.ini file to point to the changed volume/partiton ( 1 instead of 0

What error message do you get when trying to boot ?

I hope this helps !


Thanks to all for the help.  The tool nobus suggected did exactly what I needed.  I used the "Set Active" button and then the "Std MBR" button.  After reboot it said NTOSKRNL.EXE was Corrupt or missing after changing name to "whatever.old" then back to NTOSKRNL.EXE the server booted up fine.
good you're up again !