I have installed a main Manjaro UEFI on sda2 with a GRUB installed on this partition.
(Here I described in details my disks and partions.)
But it the past I installed the second version of Manjaro (16.10) on sda5 and mistakenly installed the second GRUB on sda5.
Then I restored the GRUB on sda2 and used my main Manjaro successfully on sda2 for some time.
But recently I had inexplicable problems with GRUB and now I understood that during booting I do not see the current GRUB from sda2 but the old GRUB from sda5.
I wanted to restore the GRUB on sda2. But despite that I was restoring GRUB to sda2 without any errors, after rebooting I still got the old (and false) GRUB Menu from sda5.
Afer the result of this command:
efibootmgr -v
BootCurrent: 000F
Timeout: 0 seconds
No BootOrder is set; firmware will attempt recovery
I decided to set a boot order to boot from the GRUB on sda2, using the instruction from the website: https://wiki.gentoo.org/wiki/Efibootmgr .
As root, I executed the suggested commands:
mount | grep efivars
mount -o remount,rw -t efivarfs efivarfs /sys/firmware/efi/efivars
And I added, on the basis of the Gentoo's instruction, as I thought, a correct entry:
efibootmgr -c -d /dev/sda -p 1 -L "Manjaro" -l /boot/PATH_TO_MANJARO.efi
(my EFI partition is sda1)
After that, the command: efibootmgr -v
showed a result similar to that of Gentoo, so it seemed to be OK. However, after restart there is an error: https://imgur.com/a/QWS0YZG
What should I do now to restore the normal GRUB Menu and to boot from GRUB on sda2 (and to remove GRUB from sda5 completely)?