Oops! I broke grub. Help.

I have Aramo installed on a hard drive in a PC that has a second hard drive. Wanted to install something different on that second one. Ended up doing three consecutive installs: Fedora LXQT spin, Fedora Budgie spin and finally Aramo again. The problem was that when an install was finished and time to reboot, I always ended up in grub rescue mode (such and such a 'file not found' was the reason I believe).

I'm looking at 'https://help.ubuntu.com/community/Grub2/Installing#via_ChRoot' with a live Aramo CD and got:

trisquel@trisquel:~$ sudo grub-install /dev/sda1
Installing for i386-pc platform.
grub-install: error: failed to get canonical path of `/cow'.

It's mysterious that it mentions i386 platform as it is an AMD64 platform. then:

trisquel@trisquel:~$ sudo update-grub
/usr/sbin/grub-probe: error: failed to get canonical path of `/cow'.

I might try:
'sudo grub-setup -d /media/cdrom/EFI/BOOT /dev/sda1' or
'sudo grub-setup -d /media/2023-03-15-21-07-13-00/EFI/BOOT /dev/sda1,' would be the same.

Screenshot might have additional info .

AnhangGröße
screenshot1.png601.54 KB