Re: Stuck at grub prompt after reordering partitions

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

 



On Wed, Apr 17, 2024 at 10:48 AM Klaus-Peter Schrage via users
<users@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
> But rebooting still gets me to the dreaded grub>.
> So what am I missing?
> BTW, I did NOT use the grub2-install command which shoud not be used on
> UEFI systems.

I recently had similar problems.  These are the things to check:
o use blkid to get the current UUID(s)
o check /etc/kernel/cmdline if it exists - make sure the UUID (if
used) is correct for the new root disk
o check /boot/efi/EFI/fedora/grub.cfg for correct UUID(s) - as far as
I am aware you would have to edit the file to fix
o check /boot/grub2/grub.cfg for correct UUID(s) - you should be able
to update if needed with "grub2-mkconfig -o /boot/grub2/grub.cfg"
o update /etc/fstab with any changed UUIDs
o these things get recorded in the initramfs - update with "dracut
--force --regenerate-all"  [or use "man dracut" for commands to just
regenerate a single initramfs]

As I recall at least one of the above things has tripped me up in the
past when moving disks/partitions around.
--
_______________________________________________
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
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[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