I broke my Manjaro installation a couple weeks when I tried to “fix” something and had to reinstall Manjaro. I had a dual boot setup (with Win10) before, which used to work fine. I installed Manjaro with a USB drive and the latest ISO and kept the previous partitions, just formating the Manjaro one and HOME partition.
Manjaro works fine but the boot manager did not show up anymore.
After some online research, I got that back by changing GRUB_TIMEOUT_STYLE=hidden
to GRUB_TIMEOUT_STYLE=menu
in /etc/default/grub
But the “Windows 10” option I had before is not there anymore.
I followed the instructions on the Arch wiki GRUB - ArchWiki
running sudo grub-mkconfig -o /boot/grub/grub.cfg
(and also sudo update-grub
) but it did not resolve the issue (the os-prober
package is installed and GRUB_DISABLE_OS_PROBER=false
is not commented out, and I mounted both /dev/sdb1
and /dev/sdb4
; see attached image)
I also tried using a custom menu entry in /etc/grub.d/40_custom
and running sudo update-grub
When I use this:
menuentry "Windows" {
search --no-floppy --fs-uuid --set <UUID>
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
with the UUID of the partition with the Windows installation as (by running sudo blkid /dev/sdb4
)
and select the Windows entry in the boot manager, I get
error: file '/EFI/Microsoft/Boot/bootmgfw.efi' not found
I searched the Windows partition for the file and found it in /Windows/Boot/EFI/bootmgfw.efi
,
so I tried this
menuentry "Windows" {
search --no-floppy --fs-uuid --set <UUID>
chainloader (${root})/Windows/Boot/EFI/bootmgfw.efi
}
but then got error: symlink type invalid (80000017)
These are the partitions on the drive: