DISKPART - How to Partition GPT disk  

Page 2 of 6 FirstFirst 1234 ... LastLast

  1. Posts : 6
    Windows 10 and Ubuntu 18.10
       #10

    Kari said:
    Yes, that is a unique detail in recovery partition, or OEM partition as Windows names it nowadays. If placed in front of system partition C:, when it needs to expand after a certain amount of upgrades, it can't, and therefore a new, second OEM partition is created after the C: partition.

    To avoid this, it's recommended to place OEM partition after the C: partition. When it needs to expand, it shrinks C: and takes the additional space it needs. It is the only partition in Windows which can expand backwards.

    This is told in tutorial step 2.9:




    Kari
    Yes, I am afraid I missed that the first time. It is actually cool that the recovery partition can do that, and I am sure there is a very good reason why it does not automatically expand forwards. Thanks for confirming.

    I am just starting over again here, and this time I will make my own custom diskpart scripts, using the guide for a template.

    About the recovery partition, any reason to be concerned it, like the EFI partition, showed as 100% free in Disk Management?
      My Computer


  2. Posts : 6
    Windows 10 and Ubuntu 18.10
       #11

    Also, in the following guide, Microsoft's script recommends assigning the letters S and R to the EFI and Recovery partitions respectively, is it okay that we are leaving that out and only assigning a letter for the Windows partition?

    https://docs.microsoft.com/en-us/win...ive-partitions
      My Computer


  3. Posts : 17,661
    Windows 10 Pro
    Thread Starter
       #12

    rusnwithascript said:
    About the recovery partition, any reason to be concerned it, like the EFI partition, showed as 100% free in Disk Management?
    EFI partition will always be shown as empty. Recovery / OEM partition should not be empty, on my various real and virtual machines it shows between 10% and 25% used. Did you set the partition ID correctly?


    rusnwithascript said:
    Microsoft's script recommends assigning the letters S and R to the EFI and Recovery partitions respectively, is it okay that we are leaving that out and only assigning a letter for the Windows partition?
    EFI and Recovery / OEM partition do not need drive letters. Instead, I use letter R for my custom recovery partition: Factory recovery - Create a Custom Recovery Partition | Tutorials

    Kari
      My Computer


  4. Posts : 6
    Windows 10 and Ubuntu 18.10
       #13

    Kari said:
    EFI partition will always be shown as empty. Recovery / OEM partition should not be empty, on my various real and virtual machines it shows between 10% and 25% used. Did you set the partition ID correctly?




    EFI and Recovery / OEM partition do not need drive letters. Instead, I use letter R for my custom recovery partition: Factory recovery - Create a Custom Recovery Partition | Tutorials

    Kari
    I used the following custom script, created using script 1 from this thread:

    Code:
    rem DISKPART script for single 230GB disk dual boot
    rem ---------------------------------------------------
    rem Select Disk, wipe it empty, convert to GPT
    rem 
    select disk 0
    clean
    convert gpt
    rem
    rem ---------------------------------------------------
    rem Create & format 600 MB EFI System partition 
    rem 
    create partition efi size=600
    format quick fs=fat32 label="System"
    rem
    rem ---------------------------------------------------
    rem Create 16 MB MSR partition (will not be formatted)
    rem 
    create partition msr size=16
    rem
    rem ---------------------------------------------------
    rem Create a 100 GB (1024,00 MB) partition for primary OS
    rem 
    create partition primary size=102400
    rem
    rem ---------------------------------------------------
    rem Format OS partition, label it, assign drive letter
    rem W. Windows Setup will change this drive letter to C
    rem when installed. It's important now to use a not
    rem reserved letter, therefore we use a letter from
    rem end of alphabet
    rem 
    format quick fs=ntfs label="windows"
    assign letter="W"
    rem
    rem ---------------------------------------------------
    rem Create & format a 450 MB recovery partition.
    rem Notice that ID must be set exactly as shown! 
    rem 
    create partition primary size=450
    format quick fs=ntfs label="WinRE"
    set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"
    rem
    rem ---------------------------------------------------
    rem Exit Diskpart 
    rem 
    exit
    The image in 6.1 also shows that recovery was 100% free is Disk Management?

    What can I do? I am just installing updates again, if there is anyway I can avoid having to start over I would appreciate it!

    Please note, I am using Windows 10 install media I created several years ago with Rufus.
      My Computer


  5. Posts : 17,661
    Windows 10 Pro
    Thread Starter
       #14

    rusnwithascript said:
    The image in 6.2 also shows that recovery was 100% free is Disk Management?

    What can I do? I am just installing updates again, if there is anyway I can avoid having to start over I would appreciate it!
    My apologies, I should have told that the OEM / recovery partition will in most cases be shown empty until the first feature upgrade. No worries, your partition ID is correct.[/quote]

    Kari
      My Computer


  6. Posts : 6
    Windows 10 and Ubuntu 18.10
       #15

    Kari said:
    My apologies, I should have told that the OEM / recovery partition will in most cases be shown empty until the first feature upgrade. No worries, your partition ID is correct.
    Thank you Sir, what a relief!

    I was staring at Windows update here, which is at 70% of preparing to install 1803, and hoping very much that either one of the updates will populate recovery, or perhaps Disk Management just did not see files that really are there! :)
      My Computer


  7. Posts : 17,661
    Windows 10 Pro
    Thread Starter
       #16

    rusnwithascript said:
    Thank you Sir, what a relief!

    I was staring at Windows update here, which is at 70% of preparing to install 1803, and hoping very much that either one of the updates will populate recovery, or perhaps Disk Management just did not see files that really are there! :)
    I have also seen OEM partition to be shown empty until the first time it needs to expand, not necessary already after first feature upgrade.

    Kari
      My Computer


  8. Posts : 6
    Windows 10 pro (N)
       #17

    After a bit of struggle I managed to get it done. Dual boot with W10 pro NL and English.
    The English version to be used a a 'naked' microsoft only version.
    One problem I run into, when updating V2, at some moment I am asked ro restart/reboot.
    Windows does not reboot in the version I left, but returns to the dual bootscreen.
    Is this normal or is there a way to make Windows restart/reboot to the version I left?
    Something in BCD?
    Any suggestions are welcome.
    Harry
    Last edited by Bedlamite; 14 May 2019 at 05:22. Reason: Typos
      My Computer


  9. Posts : 17,661
    Windows 10 Pro
    Thread Starter
       #18

    Bedlamite said:
    Windows does not reboot in the version I left, but returns to the dual bootscreen.
    Is this normal or is there a way to make Windows restart/reboot to the version I left?
    Restarting PC will always show the boot menu, and boot to default (top most) OS if user does not select any other OS within given time, by default 30 seconds.

    Kari
      My Computer


  10. Posts : 4,666
    Windows 10 Pro x64 21H1 Build 19043.1151 (Branch: Release Preview)
       #19

    Bedlamite said:
    After a bit of struggle I managed to get it done. Dual boot with W10 pro NL and English.
    The English version to be used a a 'naked' microsoft only version.
    One problem I run into, when updating V2, at some moment I am asked ro restart/reboot.
    Windows does not reboot in the version I left, but returns to the dual bootscreen.
    Is this normal or is there a way to make Windows restart/reboot to the version I left?
    Something in BCD?
    Any suggestions are welcome.
    Harry
    You could create a script that is automatically run privileged on boot on both OS versions.

    This is what the script must contain:
    Code:
    bcdedit /default {current}
    where {current} is a special ID that always points to the last used boot entry (the OS you're currently in)

    If you want to decrease the timeout for the boot menu run this once:
    Code:
    bcdedit /timeout 1
    ...for 1 second delay.
      My Computers


 

Tutorial Categories

DISKPART - How to Partition GPT disk Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 08:50.
Find Us




Windows 10 Forums