The Compendium · Chapter 10 of 20

Optional Step C: If Windows Boots into Grub

1 min read

Updated October 2026: Windows 11 install media works here too, and there's a new check for the Windows volume's drive letter, which isn't always C: in the recovery environment.

  • Insert the Windows 10 (or Windows 11) Installation Media (USB) and restart, ensuring the machine (native or virtual) can boot from the media
  • Once media is loaded, select “Repair Your Computer”
    • Select “Troubleshoot”
      • Choose “Command Prompt” from the menu
        • Type in the command:
          • “Diskpart”
        • Type in the command:
          • “List disk” and note which is the primary disk, probably “0”
        • Type in the command:
          • “Sel disk 0” if the primary disk is in fact “0”
        • Type in the command:
          • “List vol” and note which volume is the EFI partition, probably 3
          • While you're here, also note the letter of the Windows volume (the big NTFS one). In the recovery environment it isn't always “C:”
        • Type in the command:
          • “Sel vol 3” if the EFI partition is in fact “3”
        • Type in the command:
          • “assign letter=V:” or any other letter starting at “Z” and going up
        • Type in the command:
          • “Exit”
        • Type in the command:
          • “V:”
        • Type in the command:
          • “bcdboot C:\windows /s V: /f UEFI”
          • Replace “C:” with the Windows volume's letter from List vol if it's different (for example, bcdboot D:\windows /s V: /f UEFI)

This will likely cause rEFInd to become unblessed, so follow Step 3 to rebless rEFInd.