On Mon, Mar 26, 2018, 10:15 AM linux guy <linuxguy123@gmail.com> wrote:
I ran DNF update via ssh on my x86_64 FC27 server the other day. For some reason it didn't finish and when I rebooted it, it boots to a grub prompt.

"Minimal BASH-like line editing..." grub>

Sounds like this bug (long)
https://bugzilla.redhat.com/show_bug.cgi?id=1227736

Short version, boot any Fedora install media and simply mount the filesystem containing /boot. Then just reboot.

Ahhh except this is UEFI so no you have a different problem maybe. Your grub.cfg is on /boot/efi unless you've got a non-standard installation. And this is a FAT volume. I'm not really sure what's happened, but the easiest is boot netinstall or server DVD and choose the troubleshooting>rescue option. This will assemble the system and now you can chroot and run the usual grub2-mkconfig command for EFI systems.

grub> prompt on UEFI usually means the grub.cfg is not found, empty, or mangled.


So...

grub> set root=(lvm/fedora/root)
grub> linuxefi (hd0,gpt2)/linuz-4.14.13-300.fc27.x86_64
grub>initrdefi (hd0,gpt2)/initramfs-4.14.13-300.fc27.x86_64.img
grub>boot

This gives me a switch root error and stops at the emergency mode prompt #.

How do I get my server to boot again ?


Need logs.




Thanks
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-leave@lists.fedoraproject.org