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]

 



Dear Chris,


the shell seems broken with your advice chroot fornulately the second advice smell good so your two advice below finaly if as stan you want again help myself your are welcome :

[liveuser@localhost-live ~]$ grub2-mkconfig -o /etc/grub2.cfg
grub2-mkconfig : seul le superutilisateur peut exécuter cela
[liveuser@localhost-live ~]$ sudo grub2-mkconfig -o /etc/grub2.cfg
Création du fichier de configuration GRUB…
Windows Boot Manager trouvé sur /dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi
Ajout de l'entrée du menu d'amorçage pour les paramètres du firmware UEFI …
fait
[liveuser@localhost-live ~]$ chroot /mnt/sysimage
chroot: impossible de modifier le répertoire racine en '/mnt/sysimage': Opération non permise
[liveuser@localhost-live ~]$ sudo chroot /mnt/sysimage
chroot: failed to run command ‘/bin/bash’: No such file or directory

finaly thanks you in advance to the team fedora to help myself repair the three boot,

have a good week,

regards.


Dorian ROSSE.

De : Chris Adams <linux@xxxxxxxxxxx>
Envoyé : dimanche 23 avril 2023 22:43
À : users@xxxxxxxxxxxxxxxxxxxxxxx <users@xxxxxxxxxxxxxxxxxxxxxxx>
Objet : 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
 
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
_______________________________________________
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