I'm running Manjaro 20 installed on a M.2 SSD (nvme0n1). And Windows is installed on a separate SSD (sdb).
Booting into Linux from grub works perfectly, but when I want to boot into windows from grub I get the following error:
error: no such device: 9287-5622
error: disk `hd1,gpt1` not found.
I have tried the solution listed in this post like updating grub, moving grub to a different disk, reinstalling grub, etc. But none of them worked.
The weird thing is that if I boot into Windows using the boot menu (F9) windows boots fine, and if I reboot from windows into the grub, the Windows option boot windows correctly. It's only after booting into Manjaro and then Windows that I get the error.
EDIT:
lsblk output
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 3,3M 1 loop /var/lib/snapd/snap/exercism/5
loop1 7:1 0 30,9M 1 loop /var/lib/snapd/snap/snapd/9607
loop2 7:2 0 126,8M 1 loop /var/lib/snapd/snap/signal-desktop/331
loop3 7:3 0 97,7M 1 loop /var/lib/snapd/snap/core/10185
loop4 7:4 0 163,7M 1 loop /var/lib/snapd/snap/spotify/41
loop5 7:5 0 55,3M 1 loop /var/lib/snapd/snap/core18/1885
loop6 7:6 0 30,9M 1 loop /var/lib/snapd/snap/snapd/9721
loop7 7:7 0 161,4M 1 loop /var/lib/snapd/snap/gnome-3-28-1804/128
loop8 7:8 0 62,1M 1 loop /var/lib/snapd/snap/gtk-common-themes/1506
loop9 7:9 0 162,9M 1 loop /var/lib/snapd/snap/gnome-3-28-1804/145
loop10 7:10 0 55,4M 1 loop /var/lib/snapd/snap/core18/1932
loop11 7:11 0 126,9M 1 loop /var/lib/snapd/snap/signal-desktop/333
loop12 7:12 0 169,3M 1 loop /var/lib/snapd/snap/spotify/42
loop13 7:13 0 97,7M 1 loop /var/lib/snapd/snap/core/10126
sda 8:0 0 931,5G 0 disk
└─sda1 8:1 0 931,5G 0 part
sdb 8:16 0 223,6G 0 disk
├─sdb1 8:17 0 260M 0 part
├─sdb2 8:18 0 16M 0 part
└─sdb3 8:19 0 223,3G 0 part
nvme0n1 259:0 0 119,2G 0 disk
├─nvme0n1p1 259:1 0 300M 0 part /boot/efi
├─nvme0n1p2 259:2 0 101,9G 0 part /
└─nvme0n1p3 259:3 0 17G 0 part [SWAP]
grub.cfg windows entry:
menuentry 'Windows Boot Manager (on /dev/sdb1)' --class windows --class os $menuentry_id_option 'osprober-efi-9287-5622' {
savedefault
insmod part_gpt
insmod fat
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,gpt1' --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 9287-5622
else
search --no-floppy --fs-uuid --set=root 9287-5622
fi
chainloader /efi/Microsoft/Boot/bootmgfw.efi
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
set timeout=10
fi
cin GRUB menu, then runinsmod part_gptandinsmod ntfsand try to locate the partiton withls). Could you add the output oflsblkand the windows entry of yourgrub.cfg?set root='hd1,gpt1'toset root='hd0,gpt1'I get a new errorerror: file '/efi/Microsoft/Boot/bootmgfw.efi' not found.GRUB (UEFI)or similar as the boot option.