Dual Boot Windows can't be found in grub, can't update

I’m sure that my Windows10 boot mode is UEFI+GPT, but strill can’t find it when sudo update-grub, which lead to fail-updating Windows every time. How can I add Windows to grub?
The nvme0n1 is the SSD where Win10 and manjaro in. The part nvme0n1p1 is Win10’s boot, the nvme0n1p5 is Manjaro’s boot.


This pic shows Win10 is UEFI:

is os-prober installed ?

sudo pacman -Qs os-prober
local/os-prober 1.77-1
Utility to detect other OSes on a set of drives

yes

have you tried mounting windows boot partition and after that updating grub

1 Like

the windows boot partition is nvme0n1p1, I think it’s already mount on /boot/efi.

after checking your partition table I found out a problem apparently you have mounted the windows boot partition at /boot/efi
and majaro’s boot is at /boot
try mounting the windows boot partition at some other folder and try updating the grub again

1 Like

do you mean:
unmount /dev/nvme0n1p1
mount /dev/nvme0n1p1 /boot/newfloder

Also, shall i change where manjaro mount?

you have to check

sudo cat /etc/fstab
sudo parted -l

how many partitions FAT ( vfat) have you ?

1 Like

UUID=6005-3C16                            /boot/efi      vfat    umask=0077 0 2
UUID=15e1e8f2-4bd2-465c-8e4a-3da30d08a9c1 /boot          ext4    defaults,noatime 0 2
UUID=e3d685fd-10b0-436c-ae05-a5f6a8e78b96 swap           swap    defaults,noatime 0 2
UUID=f9aa9f8c-7fe9-463c-a4c2-4c0d0d8f894f /              ext4    defaults,noatime 0 1
UUID=cf4184e1-ff03-4b70-8d0b-7abf79ba2561 /home          ext4    defaults,noatime 0 2
UUID=66a2e7f6-b4b8-40bd-83d1-ee4a5fcc39f8 /mnt/backup    ext4    defaults 0 0
----------------------------------------------------
 1    1049kB  106MB   105MB   fat32           EFI system partition          msftdata
 2    106MB   123MB   16.8MB                  Microsoft reserved partition  msftres
 3    123MB   160GB   160GB   ntfs            Basic data partition          msftdata
 4    160GB   161GB   595MB   ntfs                                          隐藏, 诊断
 5    161GB   162GB   524MB   ext4
 6    162GB   170GB   8590MB  linux-swap(v1)                                swap
 7    170GB   267GB   96.6GB  ext4
 8    267GB   320GB   53.7GB  ext4
11    320GB   353GB   32.2GB  ext4            backup
10    428GB   500GB   72.2GB  ntfs            Basic data partition          msftdata

both showed i have one vfat/FAT.

with Gparted , add flag boot&esp
if they are missing on /dev/nvme0n1p1

then redo

sudo update-grub
1 Like

WORKS, THANK YOU SO MUCH! :blush:

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.