Re: EFI

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

 





On Thu, Jul 19, 2018 at 1:16 PM Rick Stevens <ricks@xxxxxxxxxxxxxx> wrote:
On 07/19/2018 10:38 AM, Greg Woods wrote:
 what happened to me was, after the first time I booted
> Windows 10 after installing Fedora, I could no longer boot Linux

I expect that was Microsoft forcing the EFI "BootOrder' to give them
preference (boot us first if we're installed) and possibly setting the
"Timeout" to zero so the EFI selection screen isn't shown. They're
famous for that.

Yes, it doesn't surprise me to hear that. But I did think of going into the EFI boot screens and selecting the Fedora partition, and it still wouldn't load GRUB. Since I can't go back to what it looked like then, it remains unclear as to exactly what happened.
 

Reinstalling Fedora sets the parameters to a more reasonable choice. The
rule I've always used (even in the MBR days) is "if you must have
Windows on your machine coexisting with some other OS, you need to
install Windows first, reserving space for your other OS, then install
the second OS. Windows will absolutely try to take over the boot order."

True. In this case the laptop came with Windows 10 already installed, so I did something I have done many times before, which was to use gparted to shrink down the Windows partition to make room for Linux, then installed Fedora on the remaining space. The error I made on this machine was to not specify that /boot/efi should mount on the existing Windows EFI partition, instead allowing the installer to create a new one. All looked good; when I booted, I got the GRUB screen that included Windows as a selection, and I was able to boot Fedora just fine at that point. The problem came after the first time I booted Windows 10 after installing Fedora; from that point on, GRUB no longer was shown, it just went straight into the Windows boot manager. Even selecting the Fedora partition from the EFI boot screen would fail to load GRUB. The system was hosed for anything but Windows. My guess is, I could have booted from a live USB stick, copied the /boot/efi/EFI/fedora directory to the same location on the Windows EFI partition, and run grub-install with the correct incantation to re-create the GRUB image, and I could have gotten it to work without having to use the nuclear option of reinstalling Fedora.
 
The point, of course, was just to show that you can hose yourself trying to run with multiple EFI partitions. That doesn't mean it can't be done, but you really have to know what you are doing, and I didn't.

--Greg

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx/message/DDZKLYMCIXV3C4JB7FMRNI6W2XJ4QIDO/
[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