On Wed, 18 Mar 2020 11:09:23 -0400
Robert McBroom via users wrote:
/etc/grub2.cfg
That's usually a link to the "real" file, and some
editors don't do well with links. Might want to check
the actual file down under /boot somewhere (location
varies for old dos versus uefi installs).
I'm not even using uefi, yet for some reason I have
both these links:
/etc/grub2.cfg -> ../boot/grub2/grub.cfg
/etc/grub2-efi.cfg -> ../boot/efi/EFI/fedora/grub.cfg
There are also references to things like "hd0,msdos2"
in grub.cfg which may need fixing as well. Possibly
there is a device.map file that needs fixing as well?
I do this all the time to install a new fedora where I want
it by installing in a virtual machine then using guestmount
and rsync to put it on a "real" disk and boot it from
a stand alone grub partition using the "configfile" option.
I've never seen a uuid make it's way into an initramfs
file before, but if you can get booted by hook or
by crook, "dracut -f" forces a rebuild.