Data Sun, 10 Feb 2019 15:20:17 -0600 Richard Shaw hobbes1069@gmail.com napisał(a):
I bought an SSD to replace my HDD and I used System Rescue CD to move my EFI and boot partitions over and then used lvm tools to add the new drive to the lvm and then remove the old one.
So all of my data is over on the new driver... but I can't boot it...
I've looked at efibootmgr and it still has an entry for Fedora, the partition looks correct and per efibootmgr the loader name looks good...
But no matter what I do it won't boot.
So I figured it out...
Somehow the PARTUUID did change... And using system rescue CD the efivars was mounted read only so even though efibootmgr didn't complain, it wasn't actually changing anything.
I had to:
efibootmgr -B 0001 (which was the fedora entry) and then efibootmgr -c -d /dev/sda -p 1 -l "EFI/fedora/shim.efi" -L Fedora
then it worked...
NOTHING ABOUT THIS IS INTUITIVE!
Thanks. I have similar problems with Samsung 530U when changing distro. I removed the drive from Samsung, plugged to another computer trough usb/sata adapter and wiped it clean. I can't even boot from Rescue CD if UEFI has valid xyz distro entries and appropriate partitions on disk.
I will try efibootmgr to solve it next time.