Re: UEFI Migrate to new hard drive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Data Sun, 10 Feb 2019 15:20:17 -0600
Richard Shaw <hobbes1069@xxxxxxxxx> 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.

-- 
Łukasz Posadowski
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux