Re: Broken by the grub startup after have move whole the system from one SSHDD more small to a SSD more big by a software acronis

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

 



I'm not sure exactly where your system is stopping, but I just went
through an issue moving a system yesterday, so maybe this will help.

If your system is booting in UEFI mode (running "efibootmgr" shows boot
entires), there's an extra file that needs to be updated that I don't
think is clearly documented anywhere, nor is there a command to updated
it.  That is /boot/efi/EFI/fedora/grub.cfg.  It searches for the /boot
partition by UUID.

To find the correct UUID, I believe this will work:

- boot a Live image from USB
- select Troubleshooting at the boot menu and choose Rescue
- at the prompt, choose to mount the system
- in the shell, run: chroot /mnt/sysimage
- find the correct UUID with: lsblk -o UUID,MOUNTPOINT | grep ' /boot$'
- edit /boot/efi/EFI/fedora/grub.cfg and put that UUID on the "search" line

I'm not sure that this is clearly documented anywhere, and I don't think
there's any command to update that file easily (unlike regenerating the
main grub.cfg with "grub2-mkconfig -o /etc/grub2.cfg").
-- 
Chris Adams <linux@xxxxxxxxxxx>
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[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