Re: Windows 10 update ate Fedora 25 boot info: EFI. LVM, LUKS, oh, my!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 12 Dec 2017, Ted Roche wrote:

Booted into Windows 10 to start the annual TurboTax stuff, and it
asked to do an update, as usual. It turned out the "Features Update"
was an entirely new version of Windows 10, Fall Creator's Update
update, or something.

Rebooting to go back into Fedora 25, and the boot menu is gone, replaced with:

grub>

The fedoraproject page above suggests:

grub2-mkconfig -o /boot/grub2/grub.cfg

and

grub2-install --boot-directory=/boot /dev/sda

Finally, my question: are these last two commands correct with all the
variations of EFI, GPT, LVM, LUKS etc that is my configration? After
all this, I'd really hate to write to the wrong place!

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_UEFI_systems
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.

	Michael Young
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux