Am 17.04.24 um 17:51 schrieb Go Canes:
Step by step:
I recently had similar problems. These are the things to check:
o use blkid to get the current UUID(s)
The current UUIDs correspond to the ones in
/etc/fstab, that hadn't been
changed btw.
o check /etc/kernel/cmdline if it exists - make sure the UUID (if
used) is correct for the new root disk
root=UUID=047db84f-e100-4696-9c6b-b2e48fb11c55 ro
That points to the new (and old) root partition
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
"search --no-floppy
--root-dev-only --fs-uuid --set=dev
ea60d506-7eb7-4174-ae54-5b47c7d08e17
set prefix ..."
This UUID points to my /boot paretition - that should be ok?
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"
There
was one suspicious UUID concerning the kernel resume parameter. It
pointed to a swap partition which was no longer present for a while. I
deleted the corresponding line from /etc/default/grub and updated
/boot/grub2/grub.cfg
o update /etc/fstab with any changed UUIDs
see above
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]
I did that again, no success
In your other post, you mentioned PARTUUIDs. Frankly, I didn't know much
about them, and I definitely didn't use them.
But, as Felix had proposed in his post, I dived a bit deeper into
efibootmgr (also new to me up to know), and found out that entries point
to PARTUUIDs, in my case:
FedoraHD(3,GPT,1ca6f5eb-cbea-11e9-a525-4ccc6ad8789c,0x24fc9800,0x32000)/\EFI\FEDORA\SHIM.EFI0000424f
Windows Boot Manager
HD(1,GPT,1ca6f5ea-cbea-11e9-a525-4ccc6ad8789c,0x800,0x24c60000)/\EFI\Microsoft\Boot\bootmgfw.efi0000424f
And I found, that two partitions (EFI, Windows) on my third harddisk
have the same PARUUID:
/dev/sdc1: LABEL="WIN" BLOCK_SIZE="512"
UUID="A1C61D016294FB66"
TYPE="ntfs" PARTUUID="1ca6f5ea-cbea-11e9-a525-4ccc6ad8789c"
/dev/sdc3: UUID="BEAD-09C3" BLOCK_SIZE="512" TYPE="vfat"
PARTLABEL="EFI
System Partition" PARTUUID="1ca6f5eb-cbea-11e9-a525-4ccc6ad8789c"
I don't know if that really matters ...