Grub doesn't detect windows

os-prober is not working.
sudo update-grub

Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-5.14-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.14-x86_64.img
Found initrd fallback image: /boot/initramfs-5.14-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.10-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.10-x86_64.img
Found initrd fallback image: /boot/initramfs-5.10-x86_64-fallback.img
Found linux image: /boot/vmlinuz-4.19-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-4.19-x86_64.img
Found initrd fallback image: /boot/initramfs-4.19-x86_64-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Adding boot menu entry for UEFI Firmware Settings ...
Detecting snapshots ...
Root partition isn't a btrfs filesystem.
This script only supports snapshots of the btrfs filesystem.
If you think an error has occurred , please file a bug report at " https://github.com/Antynea/grub-btrfs "
Nothing to do. Abort.
Found memtest86+ image: /boot/memtest86+/memtest.bin
done

Should i change the file system to btfrs

Your two system may not be installed the same way, which is required for OS Prober to detect the other system.

Both need to be UEFI or MBR, no mismatch possible.

I would say you installed Manjaro in MBR, and Windows in UEFI.

Verify that.

Both system is in uefi. I checked manjaro in terminal and windows in “System Information”. Terminal gave the result “EFI” and windows “UEFI”. Now i will create another partition (100mb) to copy windows efi files to that partition. Then i will try to run update-grub, if it still doesn’t detect i will create a menu entry in grub manually.

Hello @DavutHaxor :wink:

No, it just means you installed grub-btrfs which detects snapshots… what only work on btrfs. Remove it.

I doubt that both efi partitions are flagged as efi partition.

Can you show us?

sudo parted -l
Disk /dev/sda: 240GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End    Size   File system  Name  Flags
1      2097kB  317MB  315MB  fat32              boot, esp
2      317MB   137GB  136GB  ext4         root
3      137GB   240GB  103GB  ntfs               msftdata
1 Like

@DavutHaxor OK it is only one efi partition and flagged correctly. Are you sure the windows efi files are there?

mkdir ~/efi
sudo mount /dev/sda1 ~/efi
ls -lahR ~/efi

Yes it seems like that. Output of sudo ls -lahR ~/efi

total 16K
drwx------  4 root  root  4,0K Oca  1  1970  .
drwx------ 45 davut davut 4,0K Eyl 29 13:25  ..
drwx------  5 root  root  4,0K Eyl 11 19:05  EFI
drwx------  2 root  root  4,0K Eyl 25 00:03 'System Volume Information'

/home/davut/efi/EFI:
total 20K
drwx------ 5 root root 4,0K Eyl 11 19:05 .
drwx------ 4 root root 4,0K Oca  1  1970 ..
drwx------ 2 root root 4,0K Eyl 11 19:05 boot
drwx------ 2 root root 4,0K Eyl 11 19:05 Manjaro
drwx------ 4 root root 4,0K Eyl 24 20:54 Microsoft

/home/davut/efi/EFI/boot:
total 144K
drwx------ 2 root root 4,0K Eyl 11 19:05 .
drwx------ 5 root root 4,0K Eyl 11 19:05 ..
-rwx------ 1 root root 136K Eyl 11 19:05 bootx64.efi

/home/davut/efi/EFI/Manjaro:
total 144K
drwx------ 2 root root 4,0K Eyl 11 19:05 .
drwx------ 5 root root 4,0K Eyl 11 19:05 ..
-rwx------ 1 root root 136K Eyl 29 11:45 grubx64.efi

/home/davut/efi/EFI/Microsoft:
total 16K
drwx------  4 root root 4,0K Eyl 24 20:54 .
drwx------  5 root root 4,0K Eyl 11 19:05 ..
drwx------ 40 root root 4,0K Eyl 24 20:54 Boot
drwx------  2 root root 4,0K Eyl 24 21:00 Recovery

/home/davut/efi/EFI/Microsoft/Boot:
total 5,8M
drwx------ 40 root root 4,0K Eyl 24 20:54 .
drwx------  4 root root 4,0K Eyl 24 20:54 ..
-rwx------  1 root root  32K Eyl 28 19:08 BCD
-rwx------  1 root root  32K Eyl 24 20:54 BCD.LOG
-rwx------  1 root root    0 Eyl 24 21:00 BCD.LOG1
-rwx------  1 root root    0 Eyl 24 21:00 BCD.LOG2
drwx------  2 root root 4,0K Eyl 24 21:00 bg-BG
-rwx------  1 root root 1,5M Mar 17  2021 bootmgfw.efi
-rwx------  1 root root 1,5M Mar 17  2021 bootmgr.efi
-rwx------  1 root root  64K Eyl 25 01:45 BOOTSTAT.DAT
-rwx------  1 root root 5,0K Ara  7  2019 boot.stl
drwx------  2 root root 4,0K Eyl 24 21:00 cs-CZ
drwx------  2 root root 4,0K Eyl 24 21:00 da-DK
drwx------  2 root root 4,0K Eyl 24 21:00 de-DE
drwx------  2 root root 4,0K Eyl 24 21:00 el-GR
drwx------  2 root root 4,0K Eyl 24 21:00 en-GB
drwx------  2 root root 4,0K Eyl 24 21:00 en-US
drwx------  2 root root 4,0K Eyl 24 21:00 es-ES
drwx------  2 root root 4,0K Eyl 24 21:00 es-MX
drwx------  2 root root 4,0K Eyl 24 21:00 et-EE
drwx------  2 root root 4,0K Eyl 24 21:00 fi-FI
drwx------  2 root root 4,0K Eyl 24 21:00 Fonts
drwx------  2 root root 4,0K Eyl 24 21:00 fr-CA
drwx------  2 root root 4,0K Eyl 24 21:00 fr-FR
drwx------  2 root root 4,0K Eyl 24 21:00 hr-HR
drwx------  2 root root 4,0K Eyl 24 21:00 hu-HU
drwx------  2 root root 4,0K Eyl 24 21:00 it-IT
drwx------  2 root root 4,0K Eyl 24 21:00 ja-JP
-rwx------  1 root root  31K Ara  7  2019 kd_02_10df.dll
-rwx------  1 root root 371K Ara  7  2019 kd_02_10ec.dll
-rwx------  1 root root  26K Ara  7  2019 kd_02_1137.dll
-rwx------  1 root root 235K Ara  7  2019 kd_02_14e4.dll
-rwx------  1 root root  44K Ara  7  2019 kd_02_15b3.dll
-rwx------  1 root root  44K Ara  7  2019 kd_02_1969.dll
-rwx------  1 root root  31K Ara  7  2019 kd_02_19a2.dll
-rwx------  1 root root  20K Ara  7  2019 kd_02_1af4.dll
-rwx------  1 root root 292K Ara  7  2019 kd_02_8086.dll
-rwx------  1 root root  19K Ara  7  2019 kd_07_1415.dll
-rwx------  1 root root  48K Ara  7  2019 kd_0C_8086.dll
-rwx------  1 root root  18K Ara  7  2019 kdnet_uart16550.dll
-rwx------  1 root root  27K Ara  7  2019 kdstub.dll
drwx------  2 root root 4,0K Eyl 24 21:00 ko-KR
drwx------  2 root root 4,0K Eyl 24 21:00 lt-LT
drwx------  2 root root 4,0K Eyl 24 21:00 lv-LV
-rwx------  1 root root 1,3M Mar 17  2021 memtest.efi
drwx------  2 root root 4,0K Eyl 24 21:00 nb-NO
drwx------  2 root root 4,0K Eyl 24 21:00 nl-NL
drwx------  2 root root 4,0K Eyl 24 21:00 pl-PL
drwx------  2 root root 4,0K Eyl 24 21:00 pt-BR
drwx------  2 root root 4,0K Eyl 24 21:00 pt-PT
drwx------  2 root root 4,0K Eyl 24 21:00 qps-ploc
drwx------  3 root root 4,0K Eyl 24 21:00 Resources
drwx------  2 root root 4,0K Eyl 24 21:00 ro-RO
drwx------  2 root root 4,0K Eyl 24 21:00 ru-RU
drwx------  2 root root 4,0K Eyl 24 21:00 sk-SK
drwx------  2 root root 4,0K Eyl 24 21:00 sl-SI
drwx------  2 root root 4,0K Eyl 24 21:00 sr-Latn-RS
drwx------  2 root root 4,0K Eyl 24 21:00 sv-SE
drwx------  2 root root 4,0K Eyl 24 21:00 tr-TR
drwx------  2 root root 4,0K Eyl 24 21:00 uk-UA
-rwx------  1 root root 9,6K Ara  7  2019 winsipolicy.p7b
drwx------  2 root root 4,0K Eyl 24 21:00 zh-CN
drwx------  2 root root 4,0K Eyl 24 21:00 zh-TW

/home/davut/efi/EFI/Microsoft/Boot/bg-BG:
total 168K
drwx------  2 root root 4,0K Eyl 24 21:00 .
drwx------ 40 root root 4,0K Eyl 24 20:54 ..
-rwx------  1 root root  80K Ara  7  2019 bootmgfw.efi.mui
-rwx------  1 root root  80K Ara  7  2019 bootmgr.efi.mui

/home/davut/efi/EFI/Microsoft/Boot/cs-CZ:
total 216K
drwx------  2 root root 4,0K Eyl 24 21:00 .
drwx------ 40 root root 4,0K Eyl 24 20:54 ..
-rwx------  1 root root  79K Ara  7  2019 bootmgfw.efi.mui
-rwx------  1 root root  79K Ara  7  2019 bootmgr.efi.mui
-rwx------  1 root root  45K Ara  7  2019 memtest.efi.mui

/home/davut/efi/EFI/Microsoft/Boot/da-DK:
total 216K
drwx------  2 root root 4,0K Eyl 24 21:00 .
drwx------ 40 root root 4,0K Eyl 24 20:54 ..
-rwx------  1 root root  78K Ara  7  2019 bootmgfw.efi.mui
-rwx------  1 root root  78K Ara  7  2019 bootmgr.efi.mui
-rwx------  1 root root  45K Ara  7  2019 memtest.efi.mui

/home/davut/efi/EFI/Microsoft/Boot/de-DE:
total 224K
drwx------  2 root root 4,0K Eyl 24 21:00 .
drwx------ 40 root root 4,0K Eyl 24 20:54 ..
-rwx------  1 root root  82K Ara  7  2019 bootmgfw.efi.mui
-rwx------  1 root root  82K Ara  7  2019 bootmgr.efi.mui
-rwx------  1 root root  46K Ara  7  2019 memtest.efi.mui

/home/davut/efi/EFI/Microsoft/Boot/el-GR:
total 224K
drwx------  2 root root 4,0K Eyl 24 21:00 .
drwx------ 40 root root 4,0K Eyl 24 20:54 ..
-rwx------  1 root root  83K Ara  7  2019 bootmgfw.efi.mui
-rwx------  1 root root  83K Ara  7  2019 bootmgr.efi.mui
-rwx------  1 root root  46K Ara  7  2019 memtest.efi.mui

/home/davut/efi/EFI/Microsoft/Boot/en-GB:
total 160K
drwx------  2 root root 4,0K Eyl 24 21:00 .
drwx------ 40 root root 4,0K Eyl 24 20:54 ..
-rwx------  1 root root  76K Ara  7  2019 bootmgfw.efi.mui
-rwx------  1 root root  76K Ara  7  2019 bootmgr.efi.mui

/home/davut/efi/EFI/Microsoft/Boot/en-US:
total 208K
drwx------  2 root root 4,0K Eyl 24 21:00 .
drwx------ 40 root root 4,0K Eyl 24 20:54 ..
-rwx------  1 root root  76K Ara  7  2019 bootmgfw.efi.mui
-rwx------  1 root root  76K Ara  7  2019 bootmgr.efi.mui
-rwx------  1 root root  45K Ara  7  2019 memtest.efi.mui

/home/davut/efi/EFI/Microsoft/Boot/es-ES:
total 216K
drwx------  2 root root 4,0K Eyl 24 21:00 .
drwx------ 40 root root 4,0K Eyl 24 20:54 ..
-rwx------  1 root root  80K Ara  7  2019 bootmgfw.efi.mui
-rwx------  1 root root  80K Ara  7  2019 bootmgr.efi.mui
-rwx------  1 root root  45K Ara  7  2019 memtest.efi.mui

/home/davut/efi/EFI/Microsoft/Boot/es-MX:
total 168K
drwx------  2 root root 4,0K Eyl 24 21:00 .
drwx------ 40 root root 4,0K Eyl 24 20:54 ..
-rwx------  1 root root  80K Ara  7  2019 bootmgfw.efi.mui
-rwx------  1 root root  80K Ara  7  2019 bootmgr.efi.mui

/home/davut/efi/EFI/Microsoft/Boot/et-EE:
total 168K
drwx------  2 root root 4,0K Eyl 24 21:00 .
drwx------ 40 root root 4,0K Eyl 24 20:54 ..
-rwx------  1 root root  77K Ara  7  2019 bootmgfw.efi.mui
-rwx------  1 root root  77K Ara  7  2019 bootmgr.efi.mui

/home/davut/efi/EFI/Microsoft/Boot/fi-FI:
total 216K
drwx------  2 root root 4,0K Eyl 24 21:00 .
drwx------ 40 root root 4,0K Eyl 24 20:54 ..
-rwx------  1 root root  79K Ara  7  2019 bootmgfw.efi.mui
-rwx------  1 root root  79K Ara  7  2019 bootmgr.efi.mui
-rwx------  1 root root  45K Ara  7  2019 memtest.efi.mui

/home/davut/efi/EFI/Microsoft/Boot/Fonts:
total 13M
drwx------  2 root root 4,0K Eyl 24 21:00 .
drwx------ 40 root root 4,0K Eyl 24 20:54 ..
-rwx------  1 root root 3,6M Ara  7  2019 chs_boot.ttf
-rwx------  1 root root 3,7M Ara  7  2019 cht_boot.ttf
-rwx------  1 root root 1,9M Ara  7  2019 jpn_boot.ttf
-rwx------  1 root root 2,3M Ara  7  2019 kor_boot.ttf
-rwx------  1 root root 174K Ara  7  2019 malgun_boot.ttf
-rwx------  1 root root 172K Ara  7  2019 malgunn_boot.ttf
-rwx------  1 root root 143K Ara  7  2019 meiryo_boot.ttf
-rwx------  1 root root 141K Ara  7  2019 meiryon_boot.ttf
-rwx------  1 root root 162K Ara  7  2019 msjh_boot.ttf
-rwx------  1 root root 160K Ara  7  2019 msjhn_boot.ttf
-rwx------  1 root root 154K Ara  7  2019 msyh_boot.ttf
-rwx------  1 root root 152K Ara  7  2019 msyhn_boot.ttf
-rwx------  1 root root  44K Ara  7  2019 segmono_boot.ttf
-rwx------  1 root root  84K Ara  7  2019 segoen_slboot.ttf
-rwx------  1 root root  85K Ara  7  2019 segoe_slboot.ttf
-rwx------  1 root root  48K Ara  7  2019 wgl4_boot.ttf

/home/davut/efi/EFI/Microsoft/Boot/fr-CA:
total 176K
drwx------  2 root root 4,0K Eyl 24 21:00 .
drwx------ 40 root root 4,0K Eyl 24 20:54 ..
-rwx------  1 root root  81K Ara  7  2019 bootmgfw.efi.mui
-rwx------  1 root root  82K Ara  7  2019 bootmgr.efi.mui

/home/davut/efi/EFI/Microsoft/Boot/fr-FR:
total 224K
drwx------  2 root root 4,0K Eyl 24 21:00 .
drwx------ 40 root root 4,0K Eyl 24 20:54 ..
-rwx------  1 root root  82K Ara  7  2019 bootmgfw.efi.mui
-rwx------  1 root root  82K Ara  7  2019 bootmgr.efi.mui
-rwx------  1 root root  46K Ara  7  2019 memtest.efi.mui

/home/davut/efi/EFI/Microsoft/Boot/hr-HR:
total 168K
drwx------  2 root root 4,0K Eyl 24 21:00 .
drwx------ 40 root root 4,0K Eyl 24 20:54 ..
-rwx------  1 root root  79K Ara  7  2019 bootmgfw.efi.mui
-rwx------  1 root root  79K Ara  7  2019 bootmgr.efi.mui

/home/davut/efi/EFI/Microsoft/Boot/hu-HU:
total 224K
drwx------  2 root root 4,0K Eyl 24 21:00 .
drwx------ 40 root root 4,0K Eyl 24 20:54 ..
-rwx------  1 root root  82K Ara  7  2019 bootmgfw.efi.mui
-rwx------  1 root root  82K Ara  7  2019 bootmgr.efi.mui
-rwx------  1 root root  46K Ara  7  2019 memtest.efi.mui

/home/davut/efi/EFI/Microsoft/Boot/it-IT:
total 216K
drwx------  2 root root 4,0K Eyl 24 21:00 .
drwx------ 40 root root 4,0K Eyl 24 20:54 ..
-rwx------  1 root root  79K Ara  7  2019 bootmgfw.efi.mui
-rwx------  1 root root  80K Ara  7  2019 bootmgr.efi.mui
-rwx------  1 root root  45K Ara  7  2019 memtest.efi.mui

/home/davut/efi/EFI/Microsoft/Boot/ja-JP:
total 192K
drwx------  2 root root 4,0K Eyl 24 21:00 .
drwx------ 40 root root 4,0K Eyl 24 20:54 ..
-rwx------  1 root root  68K Ara  7  2019 bootmgfw.efi.mui
-rwx------  1 root root  69K Ara  7  2019 bootmgr.efi.mui
-rwx------  1 root root  43K Ara  7  2019 memtest.efi.mui

/home/davut/efi/EFI/Microsoft/Boot/ko-KR:
total 188K
drwx------  2 root root 4,0K Eyl 24 21:00 .
drwx------ 40 root root 4,0K Eyl 24 20:54 ..
-rwx------  1 root root  68K Ara  7  2019 bootmgfw.efi.mui
-rwx------  1 root root  68K Ara  7  2019 bootmgr.efi.mui
-rwx------  1 root root  43K Ara  7  2019 memtest.efi.mui

/home/davut/efi/EFI/Microsoft/Boot/lt-LT:
total 168K
drwx------  2 root root 4,0K Eyl 24 21:00 .
drwx------ 40 root root 4,0K Eyl 24 20:54 ..
-rwx------  1 root root  78K Ara  7  2019 bootmgfw.efi.mui
-rwx------  1 root root  78K Ara  7  2019 bootmgr.efi.mui

/home/davut/efi/EFI/Microsoft/Boot/lv-LV:
total 168K
drwx------  2 root root 4,0K Eyl 24 21:00 .
drwx------ 40 root root 4,0K Eyl 24 20:54 ..
-rwx------  1 root root  78K Ara  7  2019 bootmgfw.efi.mui
-rwx------  1 root root  78K Ara  7  2019 bootmgr.efi.mui

/home/davut/efi/EFI/Microsoft/Boot/nb-NO:
total 216K
drwx------  2 root root 4,0K Eyl 24 21:00 .
drwx------ 40 root root 4,0K Eyl 24 20:54 ..
-rwx------  1 root root  77K Ara  7  2019 bootmgfw.efi.mui
-rwx------  1 root root  78K Ara  7  2019 bootmgr.efi.mui
-rwx------  1 root root  45K Ara  7  2019 memtest.efi.mui

/home/davut/efi/EFI/Microsoft/Boot/nl-NL:
total 216K
drwx------  2 root root 4,0K Eyl 24 21:00 .
drwx------ 40 root root 4,0K Eyl 24 20:54 ..
-rwx------  1 root root  80K Ara  7  2019 bootmgfw.efi.mui
-rwx------  1 root root  80K Ara  7  2019 bootmgr.efi.mui
-rwx------  1 root root  45K Ara  7  2019 memtest.efi.mui

/home/davut/efi/EFI/Microsoft/Boot/pl-PL:
total 216K
drwx------  2 root root 4,0K Eyl 24 21:00 .
drwx------ 40 root root 4,0K Eyl 24 20:54 ..
-rwx------  1 root root  80K Ara  7  2019 bootmgfw.efi.mui
-rwx------  1 root root  80K Ara  7  2019 bootmgr.efi.mui
-rwx------  1 root root  46K Ara  7  2019 memtest.efi.mui

/home/davut/efi/EFI/Microsoft/Boot/pt-BR:
total 216K
drwx------  2 root root 4,0K Eyl 24 21:00 .
drwx------ 40 root root 4,0K Eyl 24 20:54 ..
-rwx------  1 root root  79K Ara  7  2019 bootmgfw.efi.mui
-rwx------  1 root root  79K Ara  7  2019 bootmgr.efi.mui
-rwx------  1 root root  45K Ara  7  2019 memtest.efi.mui

/home/davut/efi/EFI/Microsoft/Boot/pt-PT:
total 216K
drwx------  2 root root 4,0K Eyl 24 21:00 .
drwx------ 40 root root 4,0K Eyl 24 20:54 ..
-rwx------  1 root root  79K Ara  7  2019 bootmgfw.efi.mui
-rwx------  1 root root  79K Ara  7  2019 bootmgr.efi.mui
-rwx------  1 root root  46K Ara  7  2019 memtest.efi.mui

/home/davut/efi/EFI/Microsoft/Boot/qps-ploc:
total 64K
drwx------  2 root root 4,0K Eyl 24 21:00 .
drwx------ 40 root root 4,0K Eyl 24 20:54 ..
-rwx------  1 root root  53K Ara  7  2019 memtest.efi.mui

/home/davut/efi/EFI/Microsoft/Boot/Resources:
total 104K
drwx------  3 root root 4,0K Eyl 24 21:00 .
drwx------ 40 root root 4,0K Eyl 24 20:54 ..
-rwx------  1 root root  91K Ara  7  2019 bootres.dll
drwx------  2 root root 4,0K Eyl 24 21:00 en-US

/home/davut/efi/EFI/Microsoft/Boot/Resources/en-US:
total 24K
drwx------ 2 root root 4,0K Eyl 24 21:00 .
drwx------ 3 root root 4,0K Eyl 24 21:00 ..
-rwx------ 1 root root  13K Ara  7  2019 bootres.dll.mui

/home/davut/efi/EFI/Microsoft/Boot/ro-RO:
total 168K
drwx------  2 root root 4,0K Eyl 24 21:00 .
drwx------ 40 root root 4,0K Eyl 24 20:54 ..
-rwx------  1 root root  78K Ara  7  2019 bootmgfw.efi.mui
-rwx------  1 root root  79K Ara  7  2019 bootmgr.efi.mui

/home/davut/efi/EFI/Microsoft/Boot/ru-RU:
total 212K
drwx------  2 root root 4,0K Eyl 24 21:00 .
drwx------ 40 root root 4,0K Eyl 24 20:54 ..
-rwx------  1 root root  79K Ara  7  2019 bootmgfw.efi.mui
-rwx------  1 root root  80K Ara  7  2019 bootmgr.efi.mui
-rwx------  1 root root  44K Ara  7  2019 memtest.efi.mui

/home/davut/efi/EFI/Microsoft/Boot/sk-SK:
total 168K
drwx------  2 root root 4,0K Eyl 24 21:00 .
drwx------ 40 root root 4,0K Eyl 24 20:54 ..
-rwx------  1 root root  79K Ara  7  2019 bootmgfw.efi.mui
-rwx------  1 root root  80K Ara  7  2019 bootmgr.efi.mui

/home/davut/efi/EFI/Microsoft/Boot/sl-SI:
total 168K
drwx------  2 root root 4,0K Eyl 24 21:00 .
drwx------ 40 root root 4,0K Eyl 24 20:54 ..
-rwx------  1 root root  78K Ara  7  2019 bootmgfw.efi.mui
-rwx------  1 root root  79K Ara  7  2019 bootmgr.efi.mui

/home/davut/efi/EFI/Microsoft/Boot/sr-Latn-RS:
total 168K
drwx------  2 root root 4,0K Eyl 24 21:00 .
drwx------ 40 root root 4,0K Eyl 24 20:54 ..
-rwx------  1 root root  79K Ara  7  2019 bootmgfw.efi.mui
-rwx------  1 root root  80K Ara  7  2019 bootmgr.efi.mui

/home/davut/efi/EFI/Microsoft/Boot/sv-SE:
total 216K
drwx------  2 root root 4,0K Eyl 24 21:00 .
drwx------ 40 root root 4,0K Eyl 24 20:54 ..
-rwx------  1 root root  78K Ara  7  2019 bootmgfw.efi.mui
-rwx------  1 root root  79K Ara  7  2019 bootmgr.efi.mui
-rwx------  1 root root  45K Ara  7  2019 memtest.efi.mui

/home/davut/efi/EFI/Microsoft/Boot/tr-TR:
total 216K
drwx------  2 root root 4,0K Eyl 24 21:00 .
drwx------ 40 root root 4,0K Eyl 24 20:54 ..
-rwx------  1 root root  78K Ara  7  2019 bootmgfw.efi.mui
-rwx------  1 root root  78K Ara  7  2019 bootmgr.efi.mui
-rwx------  1 root root  45K Ara  7  2019 memtest.efi.mui

/home/davut/efi/EFI/Microsoft/Boot/uk-UA:
total 168K
drwx------  2 root root 4,0K Eyl 24 21:00 .
drwx------ 40 root root 4,0K Eyl 24 20:54 ..
-rwx------  1 root root  79K Ara  7  2019 bootmgfw.efi.mui
-rwx------  1 root root  79K Ara  7  2019 bootmgr.efi.mui

/home/davut/efi/EFI/Microsoft/Boot/zh-CN:
total 180K
drwx------  2 root root 4,0K Eyl 24 21:00 .
drwx------ 40 root root 4,0K Eyl 24 20:54 ..
-rwx------  1 root root  64K Ara  7  2019 bootmgfw.efi.mui
-rwx------  1 root root  64K Ara  7  2019 bootmgr.efi.mui
-rwx------  1 root root  42K Ara  7  2019 memtest.efi.mui

/home/davut/efi/EFI/Microsoft/Boot/zh-TW:
total 180K
drwx------  2 root root 4,0K Eyl 24 21:00 .
drwx------ 40 root root 4,0K Eyl 24 20:54 ..
-rwx------  1 root root  64K Ara  7  2019 bootmgfw.efi.mui
-rwx------  1 root root  64K Ara  7  2019 bootmgr.efi.mui
-rwx------  1 root root  42K Ara  7  2019 memtest.efi.mui

/home/davut/efi/EFI/Microsoft/Recovery:
total 36K
drwx------ 2 root root 4,0K Eyl 24 21:00 .
drwx------ 4 root root 4,0K Eyl 24 20:54 ..
-rwx------ 1 root root  12K Eyl 24 21:00 BCD
-rwx------ 1 root root  16K Eyl 24 21:00 BCD.LOG
-rwx------ 1 root root    0 Eyl 24 21:00 BCD.LOG1
-rwx------ 1 root root    0 Eyl 24 21:00 BCD.LOG2

'/home/davut/efi/System Volume Information':
total 8,0K
drwx------ 2 root root 4,0K Eyl 25 00:03 .
drwx------ 4 root root 4,0K Oca  1  1970 ..
1 Like

@DavutHaxor ok here is also everything fine. Can you show your grub config?

cat /etc/default/grub
GRUB_TIMEOUT="-1"
GRUB_TIMEOUT_STYLE="menu"
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT="quiet apparmor=1 security=apparmor udev.log_priority=3 amdgpu.dc=0 amdgpu.si_support=1 amdgpu.cik_support=1 amdgpu.runpm=0"
GRUB_CMDLINE_LINUX=""

# If you want to enable the save default function, uncomment the following
# line, and set GRUB_DEFAULT to saved.
GRUB_SAVEDEFAULT="true"

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK="y"

# Uncomment to use basic console
GRUB_TERMINAL_INPUT="console"

# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT="console"

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command 'videoinfo'
GRUB_GFXMODE="auto"

# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX="keep"

# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID="true"

# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY="true"

# Uncomment this option to enable os-prober execution in the grub-mkconfig command
GRUB_DISABLE_OS_PROBER="false"

# Uncomment and set to the desired menu colors.  Used by normal and wallpaper
# modes only.  Entries specified as foreground/background.
GRUB_COLOR_NORMAL="light-gray/black"
GRUB_COLOR_HIGHLIGHT="green/black"

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/usr/share/grub/background.png"
GRUB_THEME="/usr/share/grub/themes/manjaro/theme.txt"

# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"

# Uncomment to ensure that the root filesystem is mounted read-only so that
# systemd-fsck can run the check automatically. We use 'fsck' by default, which
# needs 'rw' as boot parameter, to avoid delay in boot-time. 'fsck' needs to be
# removed from 'mkinitcpio.conf' to make 'systemd-fsck' work.
# See also Arch-Wiki: https://wiki.archlinux.org/index.php/Fsck#Boot_time_checking
#GRUB_ROOT_FS_RO="true"
1 Like

@DavutHaxor Weird, so everything seems to be correct.

Can you remove grub-btrfs and re-run update-grub?

Possible that there is somewhere a bug…

I uncommented

GRUB_BTRFS_DISABLE="true"

in /etc/default/grub-btfrs/config
then run update-grub, output is:

Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-5.14-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.14-x86_64.img
Found initrd fallback image: /boot/initramfs-5.14-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.10-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.10-x86_64.img
Found initrd fallback image: /boot/initramfs-5.10-x86_64-fallback.img
Found linux image: /boot/vmlinuz-4.19-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-4.19-x86_64.img
Found initrd fallback image: /boot/initramfs-4.19-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.14-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.14-x86_64.img
Found initrd fallback image: /boot/initramfs-5.14-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.10-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.10-x86_64.img
Found initrd fallback image: /boot/initramfs-5.10-x86_64-fallback.img
Found linux image: /boot/vmlinuz-4.19-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-4.19-x86_64.img
Found initrd fallback image: /boot/initramfs-4.19-x86_64-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
done

Can you check this also?

cat /etc/fstab | grep efi
lsblk -f | grep efi

What happens if you run?

sudo os-prober

cat /etc/fstab | grep efi

UUID=8F1C-8A5C                            /boot/efi      vfat    umask=0077 0 2

lsblk -f | grep efi

├─sda1 vfat     FAT32 NO_LABEL 8F1C-8A5C                             273,9M     9% /home/davut/efi
│ 

For whatever reason the efi partition is only mounted at the home folder. It must be displayed at /boot/efi at the first place. Grub searches there.

sudo mount -v /boot/efi
sudo update-grub

The result was the same. So i opened /boot/grub/grub.cfg. Then located the beginning of menuentries in “/etc/grub.d/10_linux_proxy”. I added a new menu entry to the top of Manjaro’s menu entry.

menuentry 'Windows 10' --class windows --class os --id windows-custom {
    search --fs-uuid --no-floppy --set=root 8F1C-8A5C
    chainloader (${root})/EFI/Microsoft/Boot/bootmgfw.efi
}

8F1C-8A5C is UUID of the partition you said (/dev/sda1). And it is the /boot/grub/grub.cfg completely:

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="${saved_entry}"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

set menu_color_normal=light-gray/black
set menu_color_highlight=green/black

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  6e8a95c0-d390-499e-9a18-6c7998a56367
else
  search --no-floppy --fs-uuid --set=root 6e8a95c0-d390-499e-9a18-6c7998a56367
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=tr_TR
  insmod gettext
fi
terminal_input console
terminal_output gfxterm
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  6e8a95c0-d390-499e-9a18-6c7998a56367
else
  search --no-floppy --fs-uuid --set=root 6e8a95c0-d390-499e-9a18-6c7998a56367
fi
insmod gfxmenu
loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_12.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_14.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_16.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_24.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_48.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_bold_16.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_mono_12.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/terminus-12.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/terminus-14.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/terminus-16.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/terminus-18.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/terminus-b12.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/terminus-b14.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/terminus-b16.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/terminus-b18.pf2
insmod png
set theme=($root)/usr/share/grub/themes/manjaro/theme.txt
export theme
if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=-1
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=-1
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/06_grub-customizer_menu_color_helper ###
### END /etc/grub.d/06_grub-customizer_menu_color_helper ###

### BEGIN /etc/grub.d/10_linux_proxy ###
menuentry 'Windows 10' --class windows --class os --id windows-custom {
    search --fs-uuid --no-floppy --set=root 8F1C-8A5C
    chainloader (${root})/EFI/Microsoft/Boot/bootmgfw.efi
}
menuentry "Manjaro Linux" --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-6e8a95c0-d390-499e-9a18-6c7998a56367' {
	savedefault
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  6e8a95c0-d390-499e-9a18-6c7998a56367
	else
	  search --no-floppy --fs-uuid --set=root 6e8a95c0-d390-499e-9a18-6c7998a56367
	fi
	linux	/boot/vmlinuz-5.14-x86_64 root=UUID=6e8a95c0-d390-499e-9a18-6c7998a56367 rw  quiet apparmor=1 security=apparmor udev.log_priority=3 amdgpu.dc=0 amdgpu.si_support=1 amdgpu.cik_support=1 amdgpu.runpm=0
	initrd	/boot/intel-ucode.img /boot/initramfs-5.14-x86_64.img
}
### END /etc/grub.d/10_linux_proxy ###

### BEGIN /etc/grub.d/41_linux_proxy ###
submenu "Advanced options for Manjaro Linux"{
menuentry "Manjaro Linux (Kernel: 5.14.7-2-MANJARO x64)" --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.14.7-2-MANJARO x64-advanced-6e8a95c0-d390-499e-9a18-6c7998a56367' {
	savedefault
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  6e8a95c0-d390-499e-9a18-6c7998a56367
		else
		  search --no-floppy --fs-uuid --set=root 6e8a95c0-d390-499e-9a18-6c7998a56367
		fi
		linux	/boot/vmlinuz-5.14-x86_64 root=UUID=6e8a95c0-d390-499e-9a18-6c7998a56367 rw  quiet apparmor=1 security=apparmor udev.log_priority=3 amdgpu.dc=0 amdgpu.si_support=1 amdgpu.cik_support=1 amdgpu.runpm=0
		initrd	/boot/intel-ucode.img /boot/initramfs-5.14-x86_64.img
}
menuentry "Manjaro Linux (Kernel: 5.14.7-2-MANJARO x64 - fallback initramfs)" --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.14.7-2-MANJARO x64-fallback-6e8a95c0-d390-499e-9a18-6c7998a56367' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  6e8a95c0-d390-499e-9a18-6c7998a56367
		else
		  search --no-floppy --fs-uuid --set=root 6e8a95c0-d390-499e-9a18-6c7998a56367
		fi
		linux	/boot/vmlinuz-5.14-x86_64 root=UUID=6e8a95c0-d390-499e-9a18-6c7998a56367 rw  quiet apparmor=1 security=apparmor udev.log_priority=3 amdgpu.dc=0 amdgpu.si_support=1 amdgpu.cik_support=1 amdgpu.runpm=0
		initrd	/boot/initramfs-5.14-x86_64-fallback.img
}
menuentry "Manjaro Linux (Kernel: 5.10.68-1-MANJARO x64)" --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.68-1-MANJARO x64-advanced-6e8a95c0-d390-499e-9a18-6c7998a56367' {
	savedefault
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  6e8a95c0-d390-499e-9a18-6c7998a56367
		else
		  search --no-floppy --fs-uuid --set=root 6e8a95c0-d390-499e-9a18-6c7998a56367
		fi
		linux	/boot/vmlinuz-5.10-x86_64 root=UUID=6e8a95c0-d390-499e-9a18-6c7998a56367 rw  quiet apparmor=1 security=apparmor udev.log_priority=3 amdgpu.dc=0 amdgpu.si_support=1 amdgpu.cik_support=1 amdgpu.runpm=0
		initrd	/boot/intel-ucode.img /boot/initramfs-5.10-x86_64.img
}
menuentry "Manjaro Linux (Kernel: 5.10.68-1-MANJARO x64 - fallback initramfs)" --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.68-1-MANJARO x64-fallback-6e8a95c0-d390-499e-9a18-6c7998a56367' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  6e8a95c0-d390-499e-9a18-6c7998a56367
		else
		  search --no-floppy --fs-uuid --set=root 6e8a95c0-d390-499e-9a18-6c7998a56367
		fi
		linux	/boot/vmlinuz-5.10-x86_64 root=UUID=6e8a95c0-d390-499e-9a18-6c7998a56367 rw  quiet apparmor=1 security=apparmor udev.log_priority=3 amdgpu.dc=0 amdgpu.si_support=1 amdgpu.cik_support=1 amdgpu.runpm=0
		initrd	/boot/initramfs-5.10-x86_64-fallback.img
}
menuentry "Manjaro Linux (Kernel: 4.19.207-1-MANJARO x64)" --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.207-1-MANJARO x64-advanced-6e8a95c0-d390-499e-9a18-6c7998a56367' {
	savedefault
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  6e8a95c0-d390-499e-9a18-6c7998a56367
		else
		  search --no-floppy --fs-uuid --set=root 6e8a95c0-d390-499e-9a18-6c7998a56367
		fi
		linux	/boot/vmlinuz-4.19-x86_64 root=UUID=6e8a95c0-d390-499e-9a18-6c7998a56367 rw  quiet apparmor=1 security=apparmor udev.log_priority=3 amdgpu.dc=0 amdgpu.si_support=1 amdgpu.cik_support=1 amdgpu.runpm=0
		initrd	/boot/intel-ucode.img /boot/initramfs-4.19-x86_64.img
}
menuentry "Manjaro Linux (Kernel: 4.19.207-1-MANJARO x64 - fallback initramfs)" --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.207-1-MANJARO x64-fallback-6e8a95c0-d390-499e-9a18-6c7998a56367' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  6e8a95c0-d390-499e-9a18-6c7998a56367
		else
		  search --no-floppy --fs-uuid --set=root 6e8a95c0-d390-499e-9a18-6c7998a56367
		fi
		linux	/boot/vmlinuz-4.19-x86_64 root=UUID=6e8a95c0-d390-499e-9a18-6c7998a56367 rw  quiet apparmor=1 security=apparmor udev.log_priority=3 amdgpu.dc=0 amdgpu.si_support=1 amdgpu.cik_support=1 amdgpu.runpm=0
		initrd	/boot/initramfs-4.19-x86_64-fallback.img
}
}
### END /etc/grub.d/41_linux_proxy ###

### BEGIN /etc/grub.d/42_linux_xen ###
### END /etc/grub.d/42_linux_xen ###

### BEGIN /etc/grub.d/43_os-prober ###
### END /etc/grub.d/43_os-prober ###

### BEGIN /etc/grub.d/44_uefi-firmware ###
menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
	fwsetup
}
### END /etc/grub.d/44_uefi-firmware ###

### BEGIN /etc/grub.d/45_fwupd ###
### END /etc/grub.d/45_fwupd ###

### BEGIN /etc/grub.d/46_custom_proxy ###

# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.

### END /etc/grub.d/46_custom_proxy ###

### BEGIN /etc/grub.d/47_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg
fi
### END /etc/grub.d/47_custom ###

### BEGIN /etc/grub.d/48_snapshots-btrfs ###
### END /etc/grub.d/48_snapshots-btrfs ###

### BEGIN /etc/grub.d/60_memtest86+ ###
if [ "${grub_platform}" == "pc" ]; then
    menuentry "Memory Tester (memtest86+)" --class memtest86 --class gnu --class tool {
        search --fs-uuid --no-floppy --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  6e8a95c0-d390-499e-9a18-6c7998a56367
        linux16 /boot/memtest86+/memtest.bin 
    }
fi
### END /etc/grub.d/60_memtest86+ ###

But when i update-grub, it automatically removes this lines i added. So i backuped the entry for any bad conditions. If it automatically updates grub after a kernel update or something, i can add the entry manually after that happens.

Don’t touch this file. It will be overwritten on every update-grub. You need to add the menuentry to this file: etc/grub.d/40_custom Then it will be added when running update-grub.

i can’t find /etc/grub.d/40_custom

Then create a new one like 40-windows-custom … 40 is the priority when creating the menu. 00 will be the first.

Btw… did you use the grub-customizer? That program can break Manjaro’s Grub. It should be only used for Vanilia Grub. :wink:

i only opened the program but didnt edit anything.