I have dual booting Manjaro and Windows 10. After latest windows update my computer stopped booting. Whenever I turn on computer I get:
error: unknown filesystem Entering rescue mode... grub rescue>
I boot in UEFI mode, have GPT partition table. Some more details:
I tried some fixes myself:
Using GRUB rescue command line mode I ran this.
(hd0,gpt4) is just my windows "D:" disk, on which i have my games/movies/etc, so I don't know why it wanted to boot from there.
grub rescue> set prefix=(hd0,gpt5)/boot/grub grub rescue> set root=(hd0,gpt5) grub rescue> insmod normal grub rescue> normal
Then I had my standard grub menu from which I booted manjaro and it started as it should.
Next I proceeded to reinstall grub with:
sudo grub-install /dev/sda sudo update-grub reboot
Now the problem seems to be even worse, because above error is still shown on startup, but now I cannot show normal grub menu anymore (using "normal" command), because of the error:
grub rescue> set prefix=(hd0,gpt5)/boot/grub grub rescue> set root=(hd0,gpt5) grub rescue> insmod normal error: symbol `grub_file_filters` not found. grub rescue>
I thought maybe it's worse because I reinstalled grub as if i had MBR partitions, but I have GPT!
Luckily I found out that when I enter BIOS boot menu (F11 when computer starts) I can boot perfectly fine by manually choosing manjaro or windows os. So I chose manjaro, saw my standard grub menu, chose manjaro again and when it started, I proceeded to reinstall grub properly (according to wiki):
kossak@matikomp ~> sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck Installing for x86_64-efi platform. Installation finished. No error reported. kossak@matikomp ~> sudo update-grub Generating grub configuration file ... Found background: /usr/share/grub/background.png Found linux image: /boot/vmlinuz-4.14-x86_64 Found initrd image: /boot/intel-ucode.img /boot/initramfs-4.14-x86_64.img Found initrd fallback image: /boot/initramfs-4.14-x86_64-fallback.img Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi Found memtest86+ image: /boot/memtest86+/memtest.bin done
But it didn't help anything. After reboot the same errors still appear (unknown filesystem and later grub_file_filters not found)
After booting manjaro with F11:
sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --boot-directory=/boot --recheck --debug sudo update-grub
It also didn't fix anything.
I can still boot both systems using F11 boot menu, but I have no idea how to fix it so it boots automatically (shows proper/working grub menu as before).
Thank you in advance.
=== SOLUTION ===
After booting local Manjaro os:
sudo cp /boot/grub/x86_64-efi/core.efi /boot/efi/EFI/boot/bootx64.efi sudo efibootmgr -c -d /dev/sda -p 1 -L "manjaro" -l "\EFI\Manjaro\grubx64.efi"
(Second command must reference your EFI/ESP partition - "-p" param. Change it accordingly!)