Grub did not find windows 10

hi, I had a dual boot system with windows 10 and garuda but garuda was crashing chrome for some reason so i decided to install Manjaro KDE but Manjaros grub did not find windows 10. Then i installed deepin during installation it said that efi partition is small i had to create new efi partition (Mistake) but deepin did not find windows 10 now i am back with manjaro KDE
here is

efibootmgr -v

BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,0004,0008,0009,0006,0007,0002
Boot0000* Manjaro       HD(2,GPT,4044b1a9-a468-4b4f-ad72-9881fbfd3d8f,0x109000,0x31800)/File(\EFI\MANJARO\GRUBX64.EFI)
Boot0002* Garuda        VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
Boot0004* ubuntu        HD(2,GPT,4044b1a9-a468-4b4f-ad72-9881fbfd3d8f,0x109000,0x31800)/File(\EFI\UBUNTU\SHIMX64.EFI)
Boot0006* UEFI: KingstonDataTraveler 3.0        PciRoot(0x0)/Pci(0x1,0x2)/Pci(0x0,0x0)/USB(12,0)/CDROM(1,0x678fb0,0x8000)..BO
Boot0007* UEFI: KingstonDataTraveler 3.0, Partition 2   PciRoot(0x0)/Pci(0x1,0x2)/Pci(0x0,0x0)/USB(12,0)/HD(2,MBR,0x0,0x678fb0,0x2000)..BO
Boot0008* Hard Drive    BBS(HD,,0x0)..GO..NO........u.S.T.1.0.0.0.L.M.0.2.4. .H.N.-.M.1.0.1.M.B.B....................A.................................>..Gd-.;.A..MQ..L.2.S.Q.R.9.J.C.E.2.C.6.5
.5.5. . . . . . ........BO..NO........u.K.I.N.G.S.T.O.N. .S.A.4.0.0.S.3.7.2.4.0.G....................A.................................>..Gd-.;.A..MQ..L.0.5.2.0.B.6.3.7.0.8.C.4.3.3.0.8. . . .
........BO
Boot0009* USB   BBS(USB,,0x0)..GO..NO........y.K.i.n.g.s.t.o.n.D.a.t.a.T.r.a.v.e.l.e.r. .3...0....................A.............................F..Gd-.;.A..MQ..L.D.0.6.7.E.5.1.5.9.5.9.E.F.3.B.
1.9.6.1.3.9.9.1.9........BO

lsblk

AME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda      8:0    0 931.5G  0 disk 
├─sda1   8:1    0 186.1G  0 part 
├─sda3   8:3    0     1K  0 part 
├─sda5   8:5    0 744.1G  0 part 
└─sda6   8:6    0   1.3G  0 part 
sdb      8:16   0 223.6G  0 disk 
├─sdb1   8:17   0   529M  0 part 
├─sdb2   8:18   0    99M  0 part /boot/efi
├─sdb3   8:19   0    16M  0 part 
├─sdb4   8:20   0 176.3G  0 part 
└─sdb5   8:21   0  46.7G  0 part /
sdc      8:32   1  28.8G  0 disk 
├─sdc1   8:33   1   3.2G  0 part 
└─sdc2   8:34   1     4M  0 part

sudo parted -l                                                                                                                                                               INT ✘ 
Model: ATA ST1000LM024 HN-M (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type      File system  Flags
 1      1049kB  200GB   200GB   primary   ntfs
 3      200GB   1000GB  800GB   extended
 6      200GB   201GB   1425MB  logical   ntfs
 5      201GB   1000GB  799GB   logical   ntfs


Model: ATA KINGSTON SA400S3 (scsi)
Disk /dev/sdb: 240GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End    Size    File system  Name                          Flags
 1      1049kB  556MB  555MB   ntfs         Basic data partition          hidden, diag
 2      556MB   660MB  104MB   fat32        EFI system partition          boot, esp
 3      660MB   676MB  16.8MB               Microsoft reserved partition  msftres
 4      676MB   190GB  189GB   ntfs         Basic data partition          msftdata
 5      190GB   240GB  50.1GB  ext4         root


Model: Kingston DataTraveler 3.0 (scsi)
Disk /dev/sdc: 30.9GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 2      3475MB  3479MB  4194kB  primary               esp

 grub file 

GRUB_DEFAULT=saved
GRUB_TIMEOUT=5
GRUB_TIMEOUT_STYLE=hidden
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT="quiet apparmor=1 security=apparmor udev.log_priority=3"
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

Hello @Captainbuzz,

for security reasons os-prober was disabled per default.

You can enable it by uncommenting ‘GRUB_DISABLE_OS_PROBER=true’ in the file ‘/etc/default/grub’.
Change:

 GRUB_DISABLE_OS_PROBER=true

to

 #GRUB_DISABLE_OS_PROBER=true

After then reinstall grub with:

 sudo update-grub

That should create a grub entry for windows.

hi @kisun thanks for the reply but my grub file does not have that line.

Hi @Captainbuzz,

Do you have a GRUB .pacnew file that has to be merged?

stat /etc/default/grub.pacnew

See pacman/Pacnew and Pacsave - ArchWiki for more information.

Hi @Mirdarthos , i do not have that file

If you are certain there’s no such file and the line isn’t present in your current configuration file, you can create the line. AFAIK at bottom is fine.

But that’s what I know.

1 Like

Ok,

please run the following command:

echo GRUB_DISABLE_OS_PROBER=false|sudo tee -a /etc/default/grub && sudo update-grub

The command should add the right line to the file and reinstall grub.
Told here:

2 Likes

Still not working

Dont know if this cause the problem, but did you disable ‘fastboot’ in windows?

P.S. I suppose your Windows is installed on ‘/dev/sda’ and your linux on ‘/dev/sdb’. Both drives have differnt partition tables. sda is ‘msdos’ and sdb is ‘gpt’.

That could also cause the problem. So it seems that windows is installed in mbr-mode and manjaro in uefi-mode and manjaro is looking for other efi installations.

1 Like

I see no Windows entry here. Grub will not find any other OS if they are not there (if not installed in EFI Mode). Your Windows is installed in BIOS Mode.

So I should install manjari in bios mode?

Yes, or Windows in efi mode.

But installing manjaro would be much easier. Take care if boot manjaro from usb stick for install to boot it in this place already in bios mode … not in uefi mode.

Manjaro installs grub in this mode it was boot into.