On Mon, Feb 11, 2019 at 12:36 AM Łukasz Posadowski <mail@lukaszposadowski.pl> wrote:
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.

I forgot to mention I had to do a remount of efivars so it could get updated. 

efibootmgr is not good about letting you know. It just silently looks like it completes. 

Thanks,
Richard



--
Łukasz Posadowski
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org