Extend (Boot/C:/System) disk size in windows 2008 R2 server VM in vsphere 4.1

Hi
I am trying to extend the Boot partition/System/C: drive of the 2008 server r2 VM hard disk. I have increased the size of the hard disk from 24 GB to 40 Gb which is really i need and i can see the unallocated hard disk size in windows 2008 disk management tool, when i right click the disk -> the extend option is grayed out and won't let me expand the disk.

I tried using Diskpart and doesn't work as its a C: Drive and its not a contiguous disk space which could be the reason for extending on both of these ways.

I also tried using gparted and even here also, its the same fault of not contiguous hard disk space with which i can't extend the hard disk.

between the actual hard disk space of 24 GB and unallocated 16 GB HD space, there is partition of 300 MB HD space which is a boot partition and is not letting to extend the hard disk space.

I did tried reducing the hard disk space back to 24 GB as it was initially, when i do this it won't reduce to 24 GB and still shows 40 GB with unallocated HD space in disk management tool.

I tried restarting the VM couple of times in between to make sure if restarting helps in anyway, but still the same issue.

I have already looked at EE article and google quite a bit before posting here and there are no snapshots while increasing the HD space as required.

well, i would like to have have a snapshot taken before increasing this HD space, so please let me know how can i increase HD space this way and if possible with a snapshot taken.

Many thanks


SALinfoAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Could you please post a screenshot of the disk layout, and I can guide you to make the correct modifications with gparted.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Personally I would committ and delete ALL snapshots before you start.

Make a backup before any modifications, NOT a snapshot, having a snapshot will slow the process as all the changes to the disk are being written to the delta snapshot file.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
what is the 300mb boot partition?
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

rindiCommented:
Is the 300MB partition before or after C:? Normally it should be the first partition. If it is after C:, you will first have to move that partition to the end of the drive (use GParted for that), then you can extend C: via Diskmanagement or GParted.
noxchoGlobal Support CoordinatorCommented:
How did you manage to put the 300MB boot partition after C: partition?
Give us a screen shot of Windows Disk Management of your virtual machine.
SALinfoAuthor Commented:
Its the BDEDrive of 300 MB size after C: Drive as shown in the image attached and i didn't created it.
It just created at the time of creating VM with win2k8 r2 in it.

the same thing appears while using Gparted and i am unable to extend the C: Drive because of this BDEDrive in between which is not a contigious space.

Please let me know furfther on this...
Diskmgmt-Extend-issue.bmp
noxchoGlobal Support CoordinatorCommented:
Ok, you have various options here.
1)Move the system files from 300MB drive to C: drive and then set the C: drive as active. During restart you could need to use repair option from Win2008 DVD.
2)Move the start of the C: drive for 300MB from left to right and then clone there this 300MB partition. Then hide the partition after C: drive and try to boot. Could require repair from Win2008 DVD
3)Allocate the space first to 300MB partition then take it off this partition thus you have it between C: and BDED drive. Allocate it to C:
This should work but also could ask for updating BCD as position of system boot files will change.
rindiCommented:
It's strange that it wasn't created as the first partition on the drive as it usually is. But anyway, as I mentioned, you need to move that partition using gparted to the end of the disk and then you will be able to extend the system partition.
rindiCommented:
You don't need to change the active partition. Windows 2008 needs that small active partition to boot from. You also don't need to hide it, it just doesn't need a drive letter assigned for most situations.
noxchoGlobal Support CoordinatorCommented:
I missed important phases of these two options:
1)Move the system files from 300MB drive to C: drive and then set the C: drive as active. Delete 300MB partition. Restart. During restart you could need to use repair option from Win2008 DVD.
2)Move the start of the C: drive for 300MB from left to right and then clone there this 300MB partition. Then hide the partition after C: drive and try to boot. Could require repair from Win2008 DVD. If it boots then delete the partition after C: drive and allocate space to C: using Gparted.
SALinfoAuthor Commented:
Refrering to the following article:
http://www.networksteve.com/forum/topic.php/BDE_drive_removal/?TopicId=14856&Posts=1

At a command line: bcdboot c:\windows /s c:
Then Right click the c: partition and set it as active. One reboot later, I can delete the BDEdrive partition and extend the C: drive...

is doing this safe ?
If so, while doing this i thinkind of having a VM snapshot and then try these options, so as to be on safe side of VM and its OS booting.

Can you suggest on this please...
rindiCommented:
That command just moves or copies what is on the boot partition to your C:, then recreates the boot info so it is properly referenced when it is booting. So it should be safe. But as I mentioned earlier that shouldn't be required, just move the partition to the end of your drive and you will be able to resize your C without problems.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Make sure YOU Have a valid backup, not a snapshot.
SALinfoAuthor Commented:
I can't move the BDEDrive as you suggested, as it says move/resize but only resizing option is working but not the moving option.

As we actually need to move it to end of the Unallocated partition space, so that i can add it to the C: partition as an extension of Hard disk.

But this option is not working with gParted Boot cd.

pls let me know other options or the best way of doing it.

Thanks
rindiCommented:
Can you try it with the PartedMagic LiveCD (it is similar to GParted but includes more tools and is probably also more up-to-date, and it has a Partition Editor which actually is gparted, which you can use to move partitions):

http://partedmagic.com

Or another tool you can try is the free version of paragon's partition manager, you should also be able to move partitions with that tool:

http://www.paragon-software.com/free/
noxchoGlobal Support CoordinatorCommented:
Refrering to the following article:
http://www.networksteve.com/forum/topic.php/BDE_drive_removal/?TopicId=14856&Posts=1

At a command line: bcdboot c:\windows /s c:
Then Right click the c: partition and set it as active. One reboot later, I can delete the BDEdrive partition and extend the C: drive...

is doing this safe ?
If so, while doing this i thinkind of having a VM snapshot and then try these options, so as to be on safe side of VM and its OS booting.

Can you suggest on this please...
This is the option 1 in my list.
300MB partition looks as OEM and thus normal partitioning tool will not let you move it.
SALinfoAuthor Commented:
I copied the system files to C: drive as mentioned in the above article, made the C: drive as the active partition and then deleted the 300 MB drive, which then gives me the option to extend the C: drive to the space required. this went successful in extending the C: drive.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
SALinfoAuthor Commented:
I've requested that this question be closed as follows:

Accepted answer: 0 points for SALinfo's comment http:/Q_27483177.html#37305739

for the following reason:

others suggested similar options, but at the same time they did suggested couple of other things to repair with win2k8 CD where as its not necessary and in my case, it just worked by moving system files to C: drive, deleting BDED drive and extended the drive succesfully.
noxchoGlobal Support CoordinatorCommented:
The answer was provided in ID: 37255270
The wording - it could need Win2008 DVD means - in some cases it asks.
noxchoGlobal Support CoordinatorCommented:
The answer was provided in ID: 37255270
The wording - it could need Win2008 DVD means - in some cases it asks.
thermoduricModeratorCommented:
I have either closed this question or have restarted the auto-close procedure on behalf of the question asker. After Moderator review the new disposition seems to be more appropriate to the outcome of this question.

- thermoduric -
EE Community Support Moderator
http://www.experts-exchange.com/Q_27499692.html

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VMware

From novice to tech pro — start learning today.