Windows 10: Moving / recreating EFI partition

Discus and support Moving / recreating EFI partition in Windows 10 Installation and Upgrade to solve the problem; I recently upgraded my laptop with an SSD, moving my older HDD into the optical drive bay. I then installed Windows 10 from a UEFI USB (using the... Discussion in 'Windows 10 Installation and Upgrade' started by quirkyprotein, Jun 8, 2016.

  1. Moving / recreating EFI partition


    I recently upgraded my laptop with an SSD, moving my older HDD into the optical drive bay. I then installed Windows 10 from a UEFI USB (using the Windows 10 media creation tool), on my SSD (with the HDD also installed). But the problem is the EFI partition is still on my HDD, not the SSD. I would like to move the EFI partition to the SSD, as the HDD I feel might be on the verge of failing.

    Is there a way to either recreate the partition, or move it from my HDD to the SSD?

    I came across this thread (System won't boot after removing second hard drive, EFI? - Page 3 - Windows 7 Help Forums), but it mentions you should remove the HDD first before following the steps. But, because the screws are starting to wear out on my laptop (horrible T5 torx screws), I don't want to be opening it up too many times to insert and remove parts...

    Any help greatly appreciated!

    :)
     
    quirkyprotein, Jun 8, 2016
    #1
  2. WTCelesta Win User

    Update KB3206632 stuck!

    Would this procedure help? Create a new partition, which hopefully will work fine from get-go, and if it won't, apply the fix to the new partition?

    Moving / recreating EFI partition - Windows 10 Forums
     
    WTCelesta, Jun 8, 2016
    #2
  3. Windows 10 not booting

    difference too. I recreated the efi partition with diskpart but that didn't help too.
     
    OctavianQR, Jun 8, 2016
    #3
  4. Kyhi Win User

    Moving / recreating EFI partition

    - Boot the computer using the Windows 7/8/8.1/10 installation media.
    - On the first screen, press SHIFT+F10 to bring up the command prompt.
    - Run the following commands at the command prompt.

    diskpart
    list disk
    select disk # Note: Select the disk where you want to add the EFI System partition.
    list partition
    select partition # Note: Select the Windows OS partition (# number) or your data partition.
    shrink desired=100
    create partition efi size=100
    format quick fs=fat32
    assign letter=s

    list partition
    list volume Note: Note the volume letter where the Windows OS is installed.
    exit

    bcdboot X:\windows /s S:
    Note: Replace "X" with the volume letter of the Windows OS partition.

    BCDBoot copies the boot files from the Windows partition to the EFI System partition and creates the BCD store in the same partition.

    Remove the Windows installation media and restart the computer into your BIOS settings and set the SSD as the First Boot Device.
     
    Kyhi, Jun 8, 2016
    #4
  5. Thanks for your help! So after doing this, can I now delete the EFI partition from the other HDD? Is there a concern to worry about setting the SSD partition as active?
     
    quirkyprotein, Jun 8, 2016
    #5
  6. For future reference,

    I carried out those commands, but from inside Windows. I then restarted the PC, and booted from the Windows USB installer, and pressed Shift+F10 to bring up a CMD when the installer had begun. I then used diskpart to 'clean' the disk with the old EFI partition. (diskpart > list disk > select disk X > clean). And then simply restarted the PC, and all was fine!

    Many thanks for the help!
     
    quirkyprotein, Jun 8, 2016
    #6
  7. stark Win User
    Hi,

    this post seems to be exactly what i need to fix my problem.
    after installing a SSd and migrating windows 10 on it, i tried to remove my old HD and windows would't boot. i realized that the EFI partition was still showing on the old HD but not on my new SSD.
    i followed your instructions to create a new EFI partition on the SSD but when i type the bcdboot X:\windows /s S: i get a "failure when attemting to copy boot files" message. (i replace the X with C which is the volume of the SSD where windows is)
    can you help me?


     
    stark, Aug 25, 2016
    #7
  8. Wimoweh Win User

    Moving / recreating EFI partition

    I have the same problem. Windows boot manager is on wrong hard drive. Can not move it...
     
    Wimoweh, Aug 28, 2016
    #8
  9. Wimoweh Win User
    Hey! I figured it out myself. Remember to replace the X with the volume you have the boot manager at the moment, ie the HDD. (The wrong one). It is like reading that information and copying it to the volume S: (in this example). I hope you understand my explanation.
     
    Wimoweh, Aug 28, 2016
    #9
  10. pflau Win User
    So this is the top google search result for "moving efi system partition". Well let me just add this one thing: bcdboot X:\windows /s S: is not enough. You also need to manually copy all the files in your original EFI partition to the new EFI partition you just created. That is, assign a letter to the original EFI partition, and do an xcopy /s t:*.* s: where t: is the letter you assigned to the original EFI partition. Without those files your BIOS would not recognize it as a bootable EFI partition. You're welcome.
     
    pflau, Mar 31, 2018
    #10
  11. NavyLCDR New Member
    That is not true at all. The bcdboot command places all of the files needed into the selected partition for the UEFI firmware to see it as a bootable EFI partition and boot the designated Windows installation.
     
    NavyLCDR, Apr 1, 2018
    #11
  12. Kyhi Win User
    Since you have still the original EFI partition
    You would just have to assign the drive letter S to that partition and then format that efi partition
    then run bcdboot

    Reading your post - you created another EFI partition
     
  13. pflau Win User

    Moving / recreating EFI partition

    Perhaps that's what it's supposed to do when it works. In my case it did not. Maybe it will be addressed in one of the many Patch Tuesdays to come.
     
    pflau, Apr 12, 2018
    #13
Thema:

Moving / recreating EFI partition

Loading...
  1. Moving / recreating EFI partition - Similar Threads - Moving recreating EFI

  2. How to move "EFI System Partition"?

    in Windows 10 Gaming
    How to move "EFI System Partition"?: Hi guys, I need to move my m.2 drivedisk 1 in pic above to a different pc but when I did so, it didn't boot. When I installed windows 10 onto disk 1, I'm pretty sure disk 0 was plugged in as well. I suspect that the reason disk 1 won't boot on a different pcwithout disk 0 is...
  3. How to move "EFI System Partition"?

    in Windows 10 Software and Apps
    How to move "EFI System Partition"?: Hi guys, I need to move my m.2 drivedisk 1 in pic above to a different pc but when I did so, it didn't boot. When I installed windows 10 onto disk 1, I'm pretty sure disk 0 was plugged in as well. I suspect that the reason disk 1 won't boot on a different pcwithout disk 0 is...
  4. How to move "EFI System Partition"?

    in Windows 10 Customization
    How to move "EFI System Partition"?: Hi guys, I need to move my m.2 drivedisk 1 in pic above to a different pc but when I did so, it didn't boot. When I installed windows 10 onto disk 1, I'm pretty sure disk 0 was plugged in as well. I suspect that the reason disk 1 won't boot on a different pcwithout disk 0 is...
  5. can i move EFI Partitions?

    in Windows 10 Software and Apps
    can i move EFI Partitions?: I wanted to extend a particular partition Specifically drive C:, as I have about 80gb of unallocated space, and the C: partition is completely full, however, there is an EFI partition in the way, and as windows has no functionality with assigning two different sections of a...
  6. can i move EFI Partitions?

    in Windows 10 Network and Sharing
    can i move EFI Partitions?: I wanted to extend a particular partition Specifically drive C:, as I have about 80gb of unallocated space, and the C: partition is completely full, however, there is an EFI partition in the way, and as windows has no functionality with assigning two different sections of a...
  7. Cloning System Partition, Recreating EFI & Recovery partitions......

    in Windows 10 Gaming
    Cloning System Partition, Recreating EFI & Recovery partitions......: This guide is intended for educational purposes only.A fresh and clean installation is always the best thing to do, because in addition to a bug-free Windows experience, everything outside the Windows environment like the EFI partition, Recovery partition, and overall system...
  8. Cloning System Partition, Recreating EFI & Recovery partitions......

    in Windows 10 Software and Apps
    Cloning System Partition, Recreating EFI & Recovery partitions......: This guide is intended for educational purposes only.A fresh and clean installation is always the best thing to do, because in addition to a bug-free Windows experience, everything outside the Windows environment like the EFI partition, Recovery partition, and overall system...
  9. Moving EFI Partition

    in Windows 10 Drivers and Hardware
    Moving EFI Partition: Can someone tell me how to move EFI partition from one place to another, its just the example, but my problem is that i have C partition, after that i have EFI partition, and after that i have free space, now i can't resize my C partition coz EFI partition is next one... Win...
  10. How to "move" an EFI system partition

    in Windows 10 Network and Sharing
    How to "move" an EFI system partition: I'd like to move a 200MiB EFI partition to the D-drive to join some unallocated space together. It's on my hard drive (D: drive) and if i don't need it at all i would like to delete it. Planning on dual booting Debian on the ~300GiB of unused space.[ATTACH]...