Add Windows to grub boot menu

I recently installed Manjaro 21.0.7 (KDE Plasma) on a 1TB HDD. Alongside that I have a 650GB Windows drive. After installing Manjaro I can’t boot into windows anymore. Each OS has it’s own drive but now the Windows drive is unbootable even from BIOS. On a previous setup I could boot into windows from grub is there anyway to do that even if manually?

P.S.: Sorry for poor formating I’m writing this from my phone

fdisk -l output:

Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: WDC WD1003FZEX-0
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: gpt
Disk identifier: 30B8D9D5-9674-664F-99CA-D167AADAAF3E

Device          Start        End    Sectors   Size Type
/dev/sda1        4096     618495     614400   300M EFI System
/dev/sda2      618496 1917544712 1916926217 914.1G Linux filesystem
/dev/sda3  1917544713 1953520064   35975352  17.2G Linux filesystem

Partition 3 does not start on physical sector boundary.


Disk /dev/sdb: 232.89 GiB, 250059350016 bytes, 488397168 sectors
Disk model: ST3250312AS     
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: dos
Disk identifier: 0x0f3cad1c

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sdb1  *         2048 452411608 452409561 215.7G 83 Linux
/dev/sdb2       452411609 488392064  35980456  17.2G 82 Linux swap / Solaris


Disk /dev/sdc: 698.64 GiB, 750156374016 bytes, 1465149168 sectors
Disk model: ST3750525AS     
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: 52BA83D8-B9A3-4C4D-AF81-A0DE53DACA1A

Device          Start        End    Sectors   Size Type
/dev/sdc1        2048      34815      32768    16M Microsoft reserved
/dev/sdc2       34816 1464086181 1464051366 698.1G Microsoft basic data
/dev/sdc3  1464086528 1465145343    1058816   517M Windows recovery environment


Disk /dev/mapper/luks-e7202d13-3ea0-4c0a-8fc2-8de078838538: 914.06 GiB, 981464125952 bytes, 1916922121 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/mapper/luks-6cbfb1e1-1ecd-4056-8348-9bc115d169ac: 17.15 GiB, 18417279488 bytes, 35971249 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Make sure to uncomment and set the parameter GRUB_DISABLE_OS_PROBER=false in the grub config file /etc/default/grub then run the command sudo update-grub to recreate your grub boot menu. If both OS are the same (MBR or EFI) the Windows system should be added.

It seems that GRUB_DISABLE_OS_PROBER=false was already uncommented on my config, however update-grub apears to not locate Windows based on the output.

Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-5.10-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.10-x86_64.img
Found initrd fallback image: /boot/initramfs-5.10-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.4-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.4-x86_64.img
Found initrd fallback image: /boot/initramfs-5.4-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 Manjaro Linux (21.0.7) on /dev/sdb1
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
done

Additionally there is something I didn’t mention. Manjaro is installed is LUKS encrypted, I will update the post as well and add the following fdisk -l output to it

Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: WDC WD1003FZEX-0
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: gpt
Disk identifier: 30B8D9D5-9674-664F-99CA-D167AADAAF3E

Device          Start        End    Sectors   Size Type
/dev/sda1        4096     618495     614400   300M EFI System
/dev/sda2      618496 1917544712 1916926217 914.1G Linux filesystem
/dev/sda3  1917544713 1953520064   35975352  17.2G Linux filesystem

Partition 3 does not start on physical sector boundary.


Disk /dev/sdb: 232.89 GiB, 250059350016 bytes, 488397168 sectors
Disk model: ST3250312AS     
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: dos
Disk identifier: 0x0f3cad1c

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sdb1  *         2048 452411608 452409561 215.7G 83 Linux
/dev/sdb2       452411609 488392064  35980456  17.2G 82 Linux swap / Solaris


Disk /dev/sdc: 698.64 GiB, 750156374016 bytes, 1465149168 sectors
Disk model: ST3750525AS     
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: 52BA83D8-B9A3-4C4D-AF81-A0DE53DACA1A

Device          Start        End    Sectors   Size Type
/dev/sdc1        2048      34815      32768    16M Microsoft reserved
/dev/sdc2       34816 1464086181 1464051366 698.1G Microsoft basic data
/dev/sdc3  1464086528 1465145343    1058816   517M Windows recovery environment


Disk /dev/mapper/luks-e7202d13-3ea0-4c0a-8fc2-8de078838538: 914.06 GiB, 981464125952 bytes, 1916922121 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/mapper/luks-6cbfb1e1-1ecd-4056-8348-9bc115d169ac: 17.15 GiB, 18417279488 bytes, 35971249 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Unfortunatelly I couldn’t fix the problem and decided to do a full wipe and start again after backing up what I needed. However I do not want this post to be completely useless so below I’ll link tutorial on properly installing Windows and Manjaro in Dual Boot and repairing the grub bootloader

Windows 10 and Manjaro Dual Boot install: [root tip] Dual boot Manjaro and Windows - #2 by homerhomer
Dealing with grub bootloader: Using livecd v17.0.1 (and above) as grub to boot OS with broken bootloader - Tutorials - Manjaro Linux Forum

1 Like