I am new in UEFI and I moved to GPT. I am now using windows 7 and 10 in dual boot.

I want to install Grub boot loader in a different folder, not in the EFI system partition/ESP. So, Windows boot manager will not be replaced by Grub and I can remove Linux and reinstall again without problem.

Is there any way to do this?

After searching in google I found that only one ESP partition can be created in a drive. So, If I install Grub in ESP then Windows boot manager will be replace in GPT?

1 Answer 1


See ArchWiki's entry on GRUB with UEFI (even if you don't run Arch, it's helpful to understand the general workflow). Basically, you can install GRUB alongside Windows' boot, and you should be able to select between them in your motherboard's EFI interface. See also the page on dual booting with Windows.

Mount the ESP to /boot, then:

grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=grub

Then follow these instructions to add Windows entries to GRUB.

rEFInd or systemd-boot might actually be better options for this, they finds Windows' boot entries automatically instead of having to add a custom GRUB entry.

If all else fails and you manage to ruin your windows boot, it's relatively easy to restore.

  • So, both entry will be show in Bios and I can select which one is need for me? Commented Apr 27, 2017 at 16:45
  • It depends on your motherboard, but usually when you have it in EFI mode (CSP disabled), you can go to the boot menu (look at the display to see what key to press, usually F12), and then select from there which you'd like to boot (grub or Windows)
    – etskinner
    Commented Apr 27, 2017 at 16:53
  • Ohh I see. thanks for helping me, let me try and reply here whan happen. thanks again Commented Apr 27, 2017 at 17:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .