Skip to content

Instantly share code, notes, and snippets.

@2KAbhishek
Created August 6, 2019 03:09
Show Gist options
  • Save 2KAbhishek/e5aa354dafd7e11d6b91d7c9d3e1a001 to your computer and use it in GitHub Desktop.
Save 2KAbhishek/e5aa354dafd7e11d6b91d7c9d3e1a001 to your computer and use it in GitHub Desktop.
Move EFI partition

Using Minitool PW:

  1. Shrink the Windows partition by the same size as the existent EFI partition is. (300mb in my case) and place the unallocated space before the windows partition (the "before" is the most important point).

  2. Create a new FAT32 partition from the unallocated space

  3. copy the EFI partiton to this new partition. validate the operations.

Using Gparted

  1. With Gparted (as live USB), booted from it. (please disable Secureboot in BIOS settings, if not you won't boot from it)

  2. Gparted will ask 2-3 questions, let them at default.

  3. Once the GUI appears, select the newly created partition (should be at the left of the Windows partition; with the size you chose earlier).

  4. Right click > select Manage Flags > tick BOOT and ESP.

  5. Validate the operations, Gparted will execute them and refresh the GUI. now at this point you should have 2 EFI partitions (one before and one after the Windows partition)

  6. Exit Gparted, reboot, you shouldn't have any problems but we aren't finish.

Using Minitool PW (or Windows Disk Management)

  1. Delete the old EFI partition, (the one at right of Windows one ), it will become unallocated space.

  2. Extend Windows partition using the unallocated space made from the old EFI partition.

  3. Reboot, normally Windows will load properly, and by launching diskmgmt.msc via "run", your EFI partition should be properly located before Windows (at its left).

  4. Don't forget to re-enable Secureboot in BIOS settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment