Re: F27 boots to grub> after (failed?) dnf update ?

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

 





On Mon, Mar 26, 2018, 10:15 AM linux guy <linuxguy123@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
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