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 <li...@cmadams.net>
Envoyé : dimanche 23 avril 2023 22:43
À : users@lists.fedoraproject.org <users@lists.fedoraproject.org>
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 <li...@cmadams.net>
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to