Windows 10 not showing up in GRUB2

Hi. I have replaced an Ubuntu partition with Manjaro on a computer that also had Windows 10. I have been able to access both windows 10 and Manjaro through the boot menu. When I boot up to GRUB, only Manjaro shows up. I have been trying suggestions on similar posts, but so far nothing has worked. Here are some of the printouts that I have seen people ask for.

lsblk

[jack17@jack-manjaro ~]$ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 223.6G  0 disk 
├─sda1   8:1    0   529M  0 part 
├─sda2   8:2    0    99M  0 part 
├─sda3   8:3    0    16M  0 part 
├─sda4   8:4    0 144.8G  0 part 
├─sda5   8:5    0   513M  0 part 
├─sda6   8:6    0  77.6G  0 part /
└─sda7   8:7    0     1M  0 part 
sdb      8:16   0   1.8T  0 disk 
├─sdb1   8:17   0    16M  0 part 
└─sdb2   8:18   0   1.8T  0 part 
sr0     11:0    1  1024M  0 rom  

parted -l

[jack17@jack-manjaro ~]$ sudo parted -l

Model: ATA ADATA SU635 (scsi)
Disk /dev/sda: 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   156GB  155GB   ntfs         Basic data partition          msftdata
 7      156GB   156GB  1049kB                                             bios_grub
 5      156GB   157GB  538MB   fat32                                      msftdata
 6      157GB   240GB  83.3GB  ext4                                       boot, esp


Model: ATA ST2000DM008-2FR1 (scsi)
Disk /dev/sdb: 2000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name                          Flags
 1      17.4kB  16.8MB  16.8MB               Microsoft reserved partition  msftres
 2      16.8MB  1969GB  1969GB  ntfs         Basic data partition          msftdata

update-grub

[jack17@jack-manjaro ~]$ sudo update-grub

Generating grub configuration file ...
Found background: /home/jack17/Pictures/aGUBROf.jpg
Found linux image: /boot/vmlinuz-5.9-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.9-x86_64.img
Found initrd fallback image: /boot/initramfs-5.9-x86_64-fallback.img
Found memtest86+ image: /boot/memtest86+/memtest.bin
done

Any suggestions would help a lot. Sorry for the messy partitions.
-Jack

Are Manjaro and Windows installed both as EFI, or is Manjaro/Windows MBR installation?

If they are not the same kind of installation, I don’t think it could work. Both OS need to be installed the same ‘way’ (MBR or EFI).

From the quick look of it, I would say your Manjaro is MBR, and Windows is EFI so this is why Grub doesn’t ‘find’ your Windows installation.

Try to install package ‘os-prober’ and run ‘update-grub’?

if it still doesn’t work, try to mount windows partitions with ‘ntfs-3g’ and try again.

can you explain this ?

This ended up being the problem I believe. I reinstalled Manjaro, and set sda2 to be my /home/efi. I then installed a boot manager called rEFInd. After turning off secure boot in my BIOS, I got it working. I still don’t understand booting that well, but I wanted to give a update in case anyone else had a similar issue.

After reading again your post I don’t think my reply was the solution in your case, as both Windows and Manjaro are installed on the same disk, a GPT one, my theory was wrong (but generally still true I think).

I changed the solution to your own post.

To be honest I am not sure what happened. 6 is definitely where I previously had Ubuntu installed, and 7 was where grub was installed. 5 is likely the remnant of a failed install. I ended up deleting all 3 (5, 6, and 7) and reinstalling Manjaro over that space.

This was the (working) end result:

Model: ATA ADATA SU635 (scsi)
Disk /dev/sda: 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   156GB  155GB   ntfs         Basic data partition          msftdata
 5      156GB   240GB  83.9GB  ext4

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