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, wwp wrote:

> Hello Michael,
> 
> 
> On Tue, 12 Dec 2017 17:12:04 +0000 (GMT) Michael Young <m.a.young@xxxxxxxxxxxx> wrote:
> 
> > 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.
> [snip]
> 
> I've experienced the same here, since then I'm no longer booting into
> Windows on my (dual-boot) laptop, but fixing it afterwards doesn't seem
> very satisfying, isn't it possible to prevent Windows from killing
> other systems from the EFI? How come such situation where Windows can
> do that?

I can't give a definite answer because I had this problem on a box but it 
has stopped happening (it is running Windows Insider on the slow ring so 
it gets updated a fair amount) and I am not sure if it was something I 
did or just coincidence. I may have tried fscking the EFI partition but I 
can't remember if that worked or made a difference.

	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