I'm currently having issues restoring my system's MBR to recognize Manjaro as an OS and I've hit a wall on trying to solve it myself. The long and short of it is that I run into the error
grub-install: error: cannot find EFI directory.
when running grub-install which all guides seem to require a successful execution to continue.
For context, I have two hard drives, a 1TB HDD with Windows 7 as a bootable OS (Soon to be removed) and a 240 GB SSD that is bisected with an ext4 formatted partition (Manjaro), and a ntfs partition (Windows 10).
I have done the following with help of five or so guides for the same issue:
- Ran Manjaro form a USB, mounted my install drive to the
/mnt
directory and rungrub-install
- Run my existing install through the Manjaro USB's GRUB by referencing my existing .cfg then running
grub-install
.
Both methods result in the same issue and I have not been able to gain enough insight on my own to understand what might be the problem and there are a few things that confuse me.
The previous GRUB files are still there but my system does not detect any booting functionality what-so-ever when the Manjaro partition is flagged as bootable.
If a EFI is a partition on my hard drive, as some guides seem to indicate, though don't confirm, then this only confuses me further as I have never had a dedicated EFI partition on this PC with the current drives and they've functioned fine with dual-boot functionality before my installation of Windows 10 ruined it. Is it possible that GRUB was using the ntfs partition as its EFI before I installed Windows 10 whithout me knowing? If so I have some followup questions.
If it is not a dedicated partition then what can I do differently to restore GRUB to my system?