On Tue, Dec 12, 2017 at 12:12 PM, Michael Young <m.a.young(a)durham.ac.uk> wrote:
On Tue, 12 Dec 2017, Ted Roche wrote:
For EFI booting the location of grub.cfg is /boot/efi/EFI/fedora/grub.cfg
which I am guessing has been corrupted by your Windows 10 update. As your
boot gets as far as the grub2 prompt this is probably all you have to fix,
eg.
grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
You could write the output of grub2-mkconfig somewhere else first so you can
check what it will do before you overwrite anything. eg.
grub2-mkconfig -o /tmp/grub.cfg
A good place to look for instructions is
https://fedoraproject.org/wiki/GRUB_2#Updating_GRUB_2_configuration_on_UE...
which includes the line
grub2-install shouldn't be used on EFI systems
so I don't suggest you use it.
Note Fedora 25 is going EOL (today, I think) so you might want to update to
a later version when you have everything working.
Thank you! I see the grub.cfg at that location was truncated to zero
bytes on Friday, and now it appears to be resurrected.
re: Fedora 25 EOL. Yep, I tend to run on the trailing edge: new
features pretty soon, but avoid the heartbreak of the new distro. F26,
here I come!
Thanks again.
--
Ted Roche
Ted Roche & Associates, LLC
http://www.tedroche.com