I successfully installed Ubuntu Gnome 15.10 along with Windows 10 on my Satellite laptop, but after some boots Windows abruptly decided to put MBR on top of GRUB. No way to get back into Ubuntu, I tried to run a grub-update on live USB (after the relevant mounts) but nothing changed.
If I try to reinstall the GRUB following this guide I get this error:
root@ubuntu-gnome:/# grub-install /dev/sda
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.
Here's my partition table, if it may help:
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 9FEFCFA9-CD66-11E3-8DDC-CA6477994E64
Device Start End Sectors Size Type
/dev/sda1 2048 2099199 2097152 1G Windows recovery environment
/dev/sda2 2099200 2303999 204800 100M EFI System
/dev/sda3 2304000 2566143 262144 128M Microsoft reserved
/dev/sda4 2566144 1827946926 1825380783 870.4G Microsoft basic data
/dev/sda5 1927376896 1929019391 1642496 802M Windows recovery environment
/dev/sda6 1929019392 1953523885 24504494 11.7G Windows recovery environment
/dev/sda7 1827948544 1914957823 87009280 41.5G Linux filesystem
/dev/sda8 1914957824 1927376895 12419072 5.9G Linux swap
efibootmgr
in Linux orbcdedit
or EasyUEFI in Windows, to adjust the boot order. Unless GRUB files have been overwritten or deleted, this is much less risky. Thebcdedit
approach, in particular, is more likely to be successful in the long term, too. – Rod Smith Mar 14 '16 at 15:04