Re: Booting impossible

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

 



On Tue, 25 Jun 2019 19:20:32 +0200
"Patrick Dupre" <pdupre@xxxxxxx> wrote:
 
> The situation is becoming worst and worst.
> I tried an grub2-install /dev/sda
> Now, I cannot boot at all.
> I just enter in to a grub menu from here I am stuck.
> Can I collect a bit of help?

It sounds like you are throwing mud at the wall, and hoping something
will stick.  That's a recipe for disaster when troubleshooting computer
systems.  Calm and methodical, that's the way.

I know only a little about UEFI booting, though I recently got it
working.  My understanding is that there can be only one
default uefi /boot/efi.  So, if you wanted the second system installed
to be bootable directly, you should have created a /boot/efi for the
second install on the disk where it was installed. You then could use
the firmware boot selection to switch to the alternate if the default
isn't what you want.  I *think* the last installed uefi system is the
default in the firmware. Do you have a rescue CD / USB stick you can
boot from? You can then mount /mnt/sysimage for the system you want to
repair, and chroot there to do your repairs.  I think you need to
re-install the shim and grub-efi. e.g.
dnf reinstall grub2-efi shim-ia32 shim-x64
That system will then be the default boot for uefi.  You should
probably run 
grub2-mkconfig -o grub.cfg
in /boot/efi/EFI/fedora after you do the reinstall.  That should give
you a bootable system to work from.

This is a little out of date, but has useful information.  It says
there that grub-install will render a uefi system unbootable, which is
your experience.

https://superuser.com/questions/596317/how-would-i-reinstall-the-grub-efi-bootloader-on-fedora-linux

Here's the official Fedora uefi docs.  

https://docs.fedoraproject.org/en-US/Fedora/18/html-single/UEFI_Secure_Boot_Guide/index.html#sect-UEFI_Secure_Boot_Guide-Tools-shim

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