Can’t designate partition as recovery partition


  1. Posts : 18
    macOS Ventura
       #1

    Can’t designate partition as recovery partition


    I am following the instructions in another thread on how to recreate the recovery partition in the command line utility diskpart:

    Code:
    create partition primary
    format quick fs=ntfs label="winRE"
    set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"
    The last instruction gives me this error: “The specified type is not in the correct format.” Looking in the help file for the create partition primary command it states: “Recovery partition: de94bba4-06d1-4d40-a16a-bfd50179d6ac”.

    What is wrong here?
      My Computer


  2. Posts : 18,434
    Windows 11 Pro
       #2

    Is your disk gpt or mbr?

    Personally, I don't mess with recovery partitions. I enable the recovery environment without creating a partition for it and it resides in C:\Recovery.
      My Computer


  3. Posts : 13
    Windows 11 Pro
       #3

    How to check if a disk uses GPT or MBR.

    diskpart
    list disk
    exit

    You'll see a table listing your connected disks. If a disk is GPT, it will have an asterisk (that's a * character) under the "Gpt" column. If it's an MBR disk, it will be blank under the Gpt column.

    GPT

    diskpart
    select volume c
    shrink desired=1000
    create partition primary
    format quick fs=ntfs
    set id=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC
    gpt attributes=0x8000000000000001

    list partition
    exit

    MBR

    diskpart
    select volume c
    shrink desired=1000
    create partition primary
    format quick fs=ntfs
    set id=27
    list partition
    exit
      My Computer


  4. Posts : 18
    macOS Ventura
    Thread Starter
       #4

    This is the GPT checK

    DISKPART> list disk

    Disk ### Status Size Free Dyn Gpt
    -------- ------------- ------- ------- --- ---
    * Disk 0 Online 476 GB 0 B


    I can’t get that to format right.

    This is the command:

    set id=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC

    This is the error:

    The specified type is not in the correct format.
    For more information on the command type: HELP SET


    I see now that the disk is a MBR disk.
      My Computer


  5. Posts : 5,330
    Windows 11 Pro 64-bit
       #5

    In this video, i will take you through the steps to create a Windows recovery partition in a Windows 10 or Windows 11 PC installed in UEFI mode with GPT partition style.

      My Computer


  6. Posts : 5,330
    Windows 11 Pro 64-bit
       #6

    For MBR disk execute set id=27
      My Computer


 

  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 19:47.
Find Us




Windows 10 Forums