On 2024-06-23 11:43, Frank Bures wrote:
On 2024-06-23 04:29, Tim wrote:

I followed

https://fedoraproject.org/wiki/GRUB_2?rd=Grub2#Updating_GRUB_2_configuration_on_UEFI_systems

and then I tried to run
grub2-emu

I get the list of installed kernels OK, but any choice for boot returns

error: ../../grub-core/loader/emu/linux.c:319:cannot find kernel file /vmlinuz-6.9.4-200.fc40.x86_64.

and the same error for initramfs.  Please note the dot at the end of the line, is it normal?

No matter which kernel I choose, I get the error that kernel file was not found.  All kernel files are in /boot and have correct permissions.

As a general warning only:

Never, I mean NEVER try to dd the boot disk to another permanently connected disk in a machine. The existence of two identical UUIDs in the same machine created all kinds of problems, one of those exhibited itself as described in this thread. But that was just the beginning.

Actually I ended up trying changing the UUID on /dev/sga that somehow changed the UUID on /dev/sda by itself. Even after wiping the sdg, blkid still reported an alive msdos partition, no matter how invisible in gparted. It behaved like quantum entanglement :-).

I had to wipe the disk completely and then remove all mentions of sdg* in /dev to free myself of this mess.

After repairing /boot and /boot/efi, subsequent reboot worked normally.

Very painful experience, suffice to say.  Never again!

Cheers
Frank


--

<listfra...@gmail.com>

--
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to