I have dual boot, Manjaro xfce and Windows 10. Windows asked for a major update, I clicked yes, and when it was time for rebooting I received the message that I have no operating system installed. I god mad with Windows because it ruined the grub, so I deleted the partition on which it was installed. Now I am trying (without success until now) to restore the grub for Manjaro. I can boot into Manjaro with live cd and grub prompt, and write these 2 lines:
grub> search -f /boot/intel-ucode.img --set=root
grub> configfile /boot/grub/grub.cfg
After I write them, the system boots, and I can use it normally until the first restart. I tried to install chroot, but I receive the message: No linux system found !
I tried to follow this tutorial https://wiki.manjaro.org/index.php/Restore_the_GRUB_Bootloader , but without success. Here is the output of some commands in the terminal: https://pastebin.com/XkRjjS9T
LE: I forgot to mention, before being able to boot into Manjaro, I receive the next message:
error: file /boot/grub/grubenv’ not found.
Loading Linux 4.14.3-1-MANJARO x64 …
Loading initial ramdisk …
Press any key to continue…
And when I press any key, it boots