Here is a link to my previous Question here asking this info, but that info is outdated as Grub did not work when I originally had Windows 7 installed. Installed Manjaro on seperate drive, Windows 7 not showing up, got frustrated, kinda broke Win7, replaced it with Win10 and now trying to get Windows 10 to show up in grub. (Windows 10 works)So now the process. I have a bit too much distrust in installing Windows since I had it mess up my system before, as such when I Installed Windows 10 over my Win7 I physically disconnected the other drives.I had Windows 10 placed on a bootable USB drive with GPT partition.Installed Windows 10.Reboot into Manjaro with all drives plugged in.Ran sudo grub-mkconfig and sudo update-grub Windows was still not foundAdded custom entry in /etc/grub.d/40_custom:#!/bin/shexec tail -n +3 $0# 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.menuentry Windows 10 {insmod part_gptinsmod chainset root='(hd4, msdos1)'chainloader +1}With no success, Grub saying hd4,msdos2 not found (or similar)Rebooted into grub ran in command modelisted off all the drives lsFound Windows 10 was installed:System Reserved (hd4,msdos1) C:/ (hd4,msdos2)Browsing in grub ls (hd4,msdos2)/The efi file was located: (hd4,msdos2)/Windows/Boot/EFI/bootmgfw.efiEdited /etc/grub.d/40_custom#!/bin/shexec tail -n +3 $0# 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.menuentry Windows 10 {insmod part_msdosinsmod ntfsinsmod chainset root='(hd4, msdos2)'chainloader /Windows/Boot/EFI/bootmgfw.efi}With no success, Grub saying hd4,msdos2 not found (or similar) again...And here I am asking for help.I am not sure 100% but I do believe that I installed Manjaro (and Windows 10) as UEFIsudo fdisk -l:Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 sectorsUnits: sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisklabel type: dosDisk identifier: 0x0004e0a2Device     Boot Start       End   Sectors   Size Id Type/dev/sda1        2048 234438655 234436608 111.8G  7 HPFS/NTFS/exFATDisk /dev/sdc: 931.5 GiB, 1000204886016 bytes, 1953525168 sectorsUnits: sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 4096 bytesI/O size (minimum/optimal): 4096 bytes / 4096 bytesDisklabel type: dosDisk identifier: 0x0005e1a9Device     Boot Start        End    Sectors   Size Id Type/dev/sdc1        2048 1953520064 1953518017 931.5G 83 LinuxDisk /dev/sdb: 111.8 GiB, 120034123776 bytes, 234441648 sectorsUnits: sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisklabel type: dosDisk identifier: 0xaf87c8bdDevice     Boot Start       End   Sectors   Size Id Type/dev/sdb1        2048 234438655 234436608 111.8G  7 HPFS/NTFS/exFATDisk /dev/sdd: 931.5 GiB, 1000204886016 bytes, 1953525168 sectorsUnits: sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisklabel type: dosDisk identifier: 0xc443369bDevice     Boot   Start        End    Sectors  Size Id Type/dev/sdd1  *       2048    1026047    1024000  500M  7 HPFS/NTFS/exFAT/dev/sdd2       1026048 1953521663 1952495616  931G  7 HPFS/NTFS/exFATDisk /dev/sde: 238.5 GiB, 256060514304 bytes, 500118192 sectorsUnits: sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisklabel type: gptDisk identifier: D018CAAD-8426-4B8A-99FB-399757F9E3DBDevice         Start       End   Sectors  Size Type/dev/sde1       2048   9884859   9882812  4.7G EFI System/dev/sde2    9884860 494259859 484375000  231G Linux filesystem/dev/sde3  494259860 500118158   5858299  2.8G Linux filesystem/dev/sde1 -> /boot/efi/dev/sde2 -> //dev/sde3 -> swap/dev/sdc1 -> /home/etc/fstab:# /etc/fstab: static file system information.## Use 'blkid' to print the universally unique identifier for a device; this may# be used with UUID= as a more robust way to name devices that works even if# disks are added and removed. See fstab(5).## <file system>                           <mount point>  <type>  <options>  <dump>  <pass>UUID=596E-1D7B                            /boot/efi      vfat    defaults,noatime 0       2UUID=e96e9dc6-b686-419c-8070-532b71f0631a /              ext4    defaults,noatime,discard 0       1UUID=b0dedb36-a45d-407f-be01-1da38f343149 /home          ext4    defaults,commit=60,noatime 0       2UUID=5acc3a2a-fc46-4d5d-916c-3e42f1b77141 swap           swap    defaults,noatime,discard 0       2tmpfs                                     /tmp           tmpfs   defaults,noatime,mode=1777 0       0#windows drive#UUID=847ACFC37ACFAFEA                     /mnt/windows   ntfs    locale=en_US.utf8,dmask=022,fmask=022 0 2#UUID=C810D31310D306FA                     /mnt/windows2  ntfs    locale=en_US.utf8,dmask=022,fmask=022 0 2
Grub 2, Windows 10 not automatically added, manual entry not working either
grub2;uefi