On Fri, Jun 28, 2024 at 2:10 PM Frank Bures buresf@gmail.com wrote:
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...
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!
Lol... quantum entanglement.
Another one to avoid: cheap SSDs with duplicate serial numbers. Some manufacturers repeat (clone?) serial numbers, and when you try to use them in a RAID configuration, things go badly. A fellow on a Ubuntu list struggled for months because of it.
Jeff