Remove one Recovery Partition and Extend C Drive

Discussion in 'hardware' started by Krusty, Mar 13, 2024.

  1. Krusty

    Krusty Registered Member

    Joined:
    Feb 3, 2012
    Posts:
    10,444
    Location:
    Among the gum trees
    Today I installed Windows 10 over Windows 10 to repair Windows. Unlike my MBR machine which I did yesterday, I could not extend C as it was greyed out. Diskpart successfully deleted the smaller Recovery Partition, but after some research, I believe that partition needs to be on the right hand side of C.

    I would rather not use 3rd party tools if I can help it. I do have UFDs I can boot Linux to if that would help.

    Restored an image and here is Disk Management:

    Disk Management.PNG

    What's the best approach here?

    Thanks.
     
  2. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,561
    Location:
    NSW, Australia
    Krusty,

    Can you run...

    Code:
    reagentc /info
    Which RE partition is in use?
     
  3. Krusty

    Krusty Registered Member

    Joined:
    Feb 3, 2012
    Posts:
    10,444
    Location:
    Among the gum trees
    Hi Brian,

    Sure:

    Code:
    Microsoft Windows [Version 10.0.19045.4170]
    (c) Microsoft Corporation. All rights reserved.
    
    C:\WINDOWS\system32>reagentc /info
    Windows Recovery Environment (Windows RE) and system reset configuration
    Information:
    
        Windows RE status:         Enabled
        Windows RE location:       \\?\GLOBALROOT\device\harddisk0\partition5\Recovery\WindowsRE
        Boot Configuration Data (BCD) identifier: 5e460d3a-e187-11ee-b808-fd53eed479f0
        Recovery image location:
        Recovery image index:      0
        Custom image location:
        Custom image index:        0
    
    REAGENTC.EXE: Operation Successful.
     
  4. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,561
    Location:
    NSW, Australia
    All OK. You can delete the 529 MB partition. You could slide the first few partitions if you like but I wouldn't bother. It's not much to add to the OS partition.
     
  5. Krusty

    Krusty Registered Member

    Joined:
    Feb 3, 2012
    Posts:
    10,444
    Location:
    Among the gum trees
    How would I "slide the first few partitions", Brian?
     
  6. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,561
    Location:
    NSW, Australia
    I use BootIt but you could use Gparted in Linux.
    You would need to slide ESP, MSR and Windows. Then resize Windows.

    Edit... A Gparted slide of the Windows partition can be VERY slow as sectors not is use are moved too. BootIt only moves sectors in use.
     
    Last edited: Mar 14, 2024
  7. Krusty

    Krusty Registered Member

    Joined:
    Feb 3, 2012
    Posts:
    10,444
    Location:
    Among the gum trees
    Do they need to be in that specific order? As you can see, the new Recovery partition is last, that is furtherest to the right in my screenshot above.
    I would consider Bootit, but since Win10 is going EOL before too long, I'm seriously considering wiping Windows at that point and installing Linux solo. I'm not sure I'd get the benefit.
     
  8. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,561
    Location:
    NSW, Australia
    You could use the trial version of BootIt. From a UFD. If you are interested I can help.
     
  9. Bill_Bright

    Bill_Bright Registered Member

    Joined:
    Jun 29, 2007
    Posts:
    4,151
    Location:
    Nebraska, USA
    Umm, I don't think so. I sure have never seen that published anywhere. Have you? If so, got a link?

    And just looking at my Disk Management, it is on the left - but I don't see how that matters. What matters is how the partition is designated in the tables.
     
  10. Krusty

    Krusty Registered Member

    Joined:
    Feb 3, 2012
    Posts:
    10,444
    Location:
    Among the gum trees
    Can you explain why the Extend link is grey after using Diskpart to remove the smaller, no longer needed, Recovery Partition?
    I'll get back to you.

    Thanks.
     
  11. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,561
    Location:
    NSW, Australia
     
  12. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,561
    Location:
    NSW, Australia
    After deleting the 529 MB partition you will have 529 MB of Free Space in front of the ESP. Slide the ESP so there is no Free Space Before.
    Next, slide the MSR so there is no Free Space Before.
    Next, slide the Windows partition so there is no Free Space Before.
    Now you will have 529 MB of Free Space after the Windows partition. Resize the Windows partition 529 MB larger.

    Your system looks like an upgrade from Win8. Win8 had partitions in this order...

    RE
    ESP
    MSR
    Windows
     
  13. Krusty

    Krusty Registered Member

    Joined:
    Feb 3, 2012
    Posts:
    10,444
    Location:
    Among the gum trees
    No, never had Windows 8 on that machine. Maybe installing Win10 over Win10 done it that way?

    Please check PMs when you have the time.

    Thanks.
     
  14. Bill_Bright

    Bill_Bright Registered Member

    Joined:
    Jun 29, 2007
    Posts:
    4,151
    Location:
    Nebraska, USA
    I don't know what you mean by "Extend link". Sorry.

    But, if I were to guess, I would say you are trying to do something you can't. You cannot, for example, extend a partition if the space you are trying to extend into is already allocated to another partition. That extra space needs to be freed up first.
     
  15. Krusty

    Krusty Registered Member

    Joined:
    Feb 3, 2012
    Posts:
    10,444
    Location:
    Among the gum trees
    After deleting old Recovery Partition, it was unallocated.

    Extend link in the right click context menu was grey.
     
  16. Bill_Bright

    Bill_Bright Registered Member

    Joined:
    Jun 29, 2007
    Posts:
    4,151
    Location:
    Nebraska, USA
  17. Krusty

    Krusty Registered Member

    Joined:
    Feb 3, 2012
    Posts:
    10,444
    Location:
    Among the gum trees
    Yes, and from your link:

     
  18. Bill_Bright

    Bill_Bright Registered Member

    Joined:
    Jun 29, 2007
    Posts:
    4,151
    Location:
    Nebraska, USA
    My bad. When you said "on the right hand side of C" before, I took that as meaning to the right side of that disk, that is, to the right of that 577mb partition in your screen shot above. Not "directly" to the right of C (and before the 577mb). Sorry.

    Did any of the fixes in that link help.
     
  19. Krusty

    Krusty Registered Member

    Joined:
    Feb 3, 2012
    Posts:
    10,444
    Location:
    Among the gum trees
    :thumb: All good. Thanks.

    For some reason, one of my Firefox Extensions (CanvasBlocker) keeps stopping that page from loading properly, plus I'm also getting a message saying that this page is slowing Firefox down.

    I'm in contact with @Brian K by PM at the moment.
     
  20. Krusty

    Krusty Registered Member

    Joined:
    Feb 3, 2012
    Posts:
    10,444
    Location:
    Among the gum trees
    My thanks goes to Brian. You've helped me multiple times and have always come through for me.

    Disk Management New.PNG

    Thank you, @Brian K ! :thumb:
     
  21. Bill_Bright

    Bill_Bright Registered Member

    Joined:
    Jun 29, 2007
    Posts:
    4,151
    Location:
    Nebraska, USA
    :( One of the biggest problems with providing and receiving help via PMs is no one else benefits and that defeats the purpose and entire concept of "forums" - an "open" venue where EVERYONE can participate, share and learn! This is why seeking and providing help via PMs is actually against the rules at many forums.

    I am glad Brian was able to help and you got your issue resolved, but how about sharing the solution so others here, and future readers seeking a solution to the same issue, can learn from your experiences too?
     
  22. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    5,258
    Location:
    .
    Recently I asked for help by PM to three members here and if they were willing to help then hold on until I opened a public thread here for the very same reasons you wrote @Bill_Bright . So I fully agree with you, in this case.
     
  23. Krusty

    Krusty Registered Member

    Joined:
    Feb 3, 2012
    Posts:
    10,444
    Location:
    Among the gum trees
    OK, I downloaded a trial of BootIt, created a bootable UFD, booted to that UFD, used that to delete the smaller Recovery Partition, slide each of the remaining partitions to the left, then extended C to use up the newly created unallocated free space.
     
  24. Bill_Bright

    Bill_Bright Registered Member

    Joined:
    Jun 29, 2007
    Posts:
    4,151
    Location:
    Nebraska, USA
  25. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,561
    Location:
    NSW, Australia
    Detailed instructions for partitioning.

    Download BootIt UEFI trial from here...

    https://www.terabyteunlimited.com/bootit-uefi/

    Unzip
    double click makedisk.exe
    PC Platform (UEFI)
    BootIt UEFI
    Accept
    Image for UEFI ticked
    Default video
    1024 x 768 - 16M colors
    Device options... ignore
    Global geometry.. put a tick in Align partitions on 1 MiB boundaries
    Additional bootit.ini options... ignore
    Select the drive letter of your UFD
    Ignore Layout and Geometry
    Finish

    Boot the UFD
    Don't choose the Install option
    Maintenance
    Now you see the BootIt desktop
    click Partition Work
    In the Drives field, click the drop down arrow to select your boot drive
    Partitions are visible

    Select the RE 529 MiB partition
    click Delete (on the right)
    Yes
    Select the ESP 100 MiB partition
    click Slide (on the right)
    select the Free Space Before field and type 0
    leave the tick in Data Only (and each time you do this)
    OK, Continue, Close
    Now the ESP should be at the top with 529 MiB of Free Space after it
    Select the Microsoft reserved partition
    Slide
    Make the Free Space Before 0 (no tick for data only with a MSR slide)
    OK, Continue, Close
    Select the Windows partition
    Slide
    Make the Free Space Before 0
    OK, Continue, Close
    Select the Windows partition
    Resize (on the right)
    OK
    Select the New Size field and type in the Max Size number
    OK, Continue, Close

    Click Close on the Work with Partitions window
    click Reboot (bottom right)
    remove the UFD
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice