GRUB doesn't recognize disk

Hi everyone i´m new to linux.
Having installed it previously but never really using it actively.
Now trying to change that, I’ve managed to install manjaro on dual boot with windows 10 sharing the same nvme drive.
My problem is that in the Manjaro GRUB it doesn’t detect windows.

It seems like even thought I’ve installed manjaro on this nvme it doesn’t recognize the other operating system in it

when i run sudo update-grub this what i get

Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-5.13-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.13-x86_64.img
Found initrd fallback image: /boot/initramfs-5.13-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.
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: warning: unknown device type nvme0n1.
done
sudo fdisk -l                                                                                                                                                                                                        ✔  11s  
Disk /dev/nvme0n1: 465,76 GiB, 500107862016 bytes, 976773168 sectors
Disk model: Samsung SSD 970 EVO Plus 500GB          
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 45E4E6BB-D0AB-45B5-B815-BEFEBD9F0D3C

Device             Start       End   Sectors   Size Type
/dev/nvme0n1p1      2048    206847    204800   100M EFI System
/dev/nvme0n1p2    206848    239615     32768    16M Microsoft reserved
/dev/nvme0n1p3    239616 468492779 468253164 223,3G Microsoft basic data
/dev/nvme0n1p4 975710208 976771071   1060864   518M Windows recovery environment
/dev/nvme0n1p5 468492781 724049359 255556579 121,9G EFI System

Partition table entries are not in disk order.


Disk /dev/sda: 465,76 GiB, 500107862016 bytes, 976773168 sectors
Disk model: Samsung SSD 860 
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: DED9560B-9C8B-415A-A74F-053957BEE476

Device     Start       End   Sectors   Size Type
/dev/sda1   2048 976771071 976769024 465,8G Microsoft basic data


Disk /dev/sdb: 931,51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: ST1000DM010-2EP1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x535ff402

Device     Boot Start        End    Sectors   Size Id Type
/dev/sdb1        2048 1953521663 1953519616 931,5G  7 HPFS/NTFS/exFAT

From what i saw looking in the other related forums here it might be related to the uefi but i didn’t understood it completly
And form my bios it appears that my manjaro installation is not on uefi and windows is on uefi is there any way to fix this or do i need to reinstall manjaro?

Thanks in advance

Looks like you created a second EFI partition that you installed grub into, rather than using your existing one and/or installing grub to the mbr?

Basically wipe your new partition and start over.
“Install alongside” option should set this up automagically, or you can follow ‘manual’ steps in the wiki.
Remember to Select for use, Not Format, the existing EFI partition during install.

Until then you should be able to select your windoze from BIOS.

(PS my dual-boot looks like this:)

Device         Start       End   Sectors   Size Type
/dev/sda1       2048    206847    204800   100M EFI System
/dev/sda2     206848    239615     32768    16M Microsoft reserved
/dev/sda3     239616 251002879 250763264 119.6G Microsoft basic data
/dev/sda4  498020352 500117503   2097152     1G Windows recovery environment
/dev/sda5  251002880 498020351 247017472 117.8G Linux filesystem

The first time i did the install alongside, now i tried it again and did the replace partition and it ended with the same exact response to sudo fdisk -l

Also i did the replace because on windows i wasn’t able to delete the partition that add manjaro on it

I managed to solve it by changing the bios from LEGACY to UEFI, so that when i partition the disk manually the option appears for
/boot/efi

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