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?
Avery WilliamsIT Director/Business ArchitectAsked:
Who is Participating?
 
nobusCommented:
try bootit-ng :  www.terabyteunlimited.com/       
lets you resize partitions
when you boot it up, do NOT install it on the disk, hit cancel - then select partition work
0
 
Brian PiercePhotographerCommented:
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.
0
 
SysExpertCommented:
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 !
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
Avery WilliamsIT Director/Business ArchitectAuthor Commented:
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.  
0
 
Avery WilliamsIT Director/Business ArchitectAuthor Commented:
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?
0
 
Duncan MeyersCommented:
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.
0
 
Duncan MeyersCommented:
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 
0
 
Brian PiercePhotographerCommented:
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
0
 
SysExpertCommented:
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 !


0
 
Avery WilliamsIT Director/Business ArchitectAuthor Commented:
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.
0
 
nobusCommented:
good you're up again !
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.