Dual-boot no Windows entry

I have os-prober installed and have it to false.

# GRUB boot loader configuration

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="EndeavourOS"
GRUB_CMDLINE_LINUX_DEFAULT="quiet loglevel=3 nowatchdog nvme_load=YES nvidia-drm.modeset=1"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_OS_PROBER=false
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

Still doesn’t add Windows boot entry to GRUB.

I have 2 different drives:

  • 1st for Windows
  • 2nd for Linux

Is that the problem?

Haven’t you forgot:

sudo grub-mkconfig -o /boot/grub/grub.cfg

after changing contents of /etc/default/grub and then reboot?

Although better solution would be to remove Windozzz garbage :penguin:

I did that command and rebooted. Still same.

Generating grub configuration file ...
Found theme: /boot/grub/themes/EndeavourOS/theme.txt
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot:  intel-ucode.img initramfs-linux-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.
Adding boot menu entry for UEFI Firmware Settings ...
done

full content /etc/default/grub

# GRUB boot loader configuration

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="EndeavourOS"
GRUB_CMDLINE_LINUX_DEFAULT="quiet loglevel=3 nowatchdog nvme_load=YES nvidia-drm.modeset=1"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_OS_PROBER=false
# 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

# Set to 'countdown' or 'hidden' to change timeout behavior,
# press ESC key to display menu.
GRUB_TIMEOUT_STYLE=menu

# 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 `vbeinfo'
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 and set to the desired menu colors.  Used by normal and wallpaper
# modes only.  Entries specified as foreground/background.
#GRUB_COLOR_NORMAL="light-blue/black"
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/path/to/wallpaper"
GRUB_THEME=/boot/grub/themes/EndeavourOS/theme.txt

# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"

# Uncomment to make GRUB remember the last selection. This requires
# setting 'GRUB_DEFAULT=saved' above.
#GRUB_SAVEDEFAULT=true

# Uncomment to disable submenus in boot menu
GRUB_DISABLE_SUBMENU=y

I’ve the same ??

Please post the output of sudo fdisk -l and lsblk -fm, please.

[ravio@ravio-optiplex3060 ~]$ sudo fdisk -l
[sudo] password for ravio: 
Disk /dev/nvme0n1: 232,89 GiB, 250059350016 bytes, 488397168 sectors
Disk model: WDC WDS250G2B0C-00PXH0                  
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: CBE51885-EA2A-43F6-984B-EA0B48D9BDD8

Device         Start       End   Sectors   Size Type
/dev/nvme0n1p1  2048     34815     32768    16M Microsoft reserved
/dev/nvme0n1p2 34816 488396799 488361984 232,9G Microsoft basic data


Disk /dev/sda: 238,47 GiB, 256060514304 bytes, 500118192 sectors
Disk model: KINGSTON SKC6002
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: 4FC046C0-C91E-7D48-AE14-C64908B6388F

Device         Start       End   Sectors  Size Type
/dev/sda1       2048   1050623   1048576  512M EFI System
/dev/sda2    1050624 126879743 125829120   60G Linux filesystem
/dev/sda3  126879744 500118158 373238415  178G Linux filesystem


Disk /dev/sdb: 14,44 GiB, 15502147584 bytes, 30277632 sectors
Disk model: DT microDuo 3.0 
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: 0x000e4244

Device     Boot Start      End  Sectors  Size Id Type
/dev/sdb1  *     2048 30277631 30275584 14,4G  c W95 FAT32 (LBA)
[ravio@ravio-optiplex3060 ~]$ lsblk -fm
NAME FSTYPE FSVER LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINTS   SIZE OWNER GROUP MODE
sda                                                                                     238,5G root  disk  brw-rw----
├─sda1
│    vfat   FAT32       327F-0B76                             510,5M     0% /boot/efi     512M root  disk  brw-rw----
├─sda2
│    ext4   1.0         01c1832c-397a-460a-be9f-0ffee6ba0d78   48,9G    12% /              60G root  disk  brw-rw----
└─sda3
     ext4   1.0         40cb1c5f-7c7f-4870-99bb-c766e77b003f  165,1G     0% /home         178G root  disk  brw-rw----
sdb                                                                                      14,4G root  disk  brw-rw----
└─sdb1
     vfat   FAT32 EOS_202112
                        B655-F0AC                                                        14,4G root  disk  brw-rw----
sr0                                                                                      1024M root  optic brw-rw----
nvme0n1
│                                                                                       232,9G root  disk  brw-rw----
├─nvme0n1p1
│                                                                                          16M root  disk  brw-rw----
└─nvme0n1p2
     ntfs               60664C2A664BFEF2                                                232,9G root  disk  brw-rw----
[ravio@ravio-optiplex3060 ~]$ 

@s4ndm4n

Schijf /dev/sda: 111,79 GiB, 120034123776 bytes, 234441648 sectoren
Disk model: SATA3 120GB SSD
Eenheid: sectoren van 1 * 512 = 512 bytes
Sectorgrootte (logisch/fysiek): 512 bytes / 512 bytes
In-/uitvoergrootte (minimaal/optimaal): 512 bytes / 512 bytes
Schijflabeltype: dos
Schijf-ID: 0x11fc2cf9

Apparaat Op. Begin Einde Sectoren Grootte ID Type
/dev/sda1 2048 104447 102400 50M 7 HPFS/NTFS/exFAT
/dev/sda2 * 104448 234440703 234336256 111,7G 7 HPFS/NTFS/exFAT

Schijf /dev/sdb: 465,76 GiB, 500107862016 bytes, 976773168 sectoren
Disk model: Intenso SSD Sata
Eenheid: sectoren van 1 * 512 = 512 bytes
Sectorgrootte (logisch/fysiek): 512 bytes / 512 bytes
In-/uitvoergrootte (minimaal/optimaal): 512 bytes / 512 bytes
Schijflabeltype: dos
Schijf-ID: 0xb2f44e88

Apparaat Op. Begin Einde Sectoren Grootte ID Type
/dev/sdb1 2048 122882047 122880000 58,6G 83 Linux
/dev/sdb2 122882048 956293119 833411072 397,4G 83 Linux
/dev/sdb3 956309504 976773119 20463616 9,8G 82 Linux wisselgeheugen
/dev/sdb4 956293120 956309503 16384 8M 83 Linux

Partitietabel-items liggen niet in schijfvolgorde.

Schijf /dev/sdc: 465,76 GiB, 500107862016 bytes, 976773168 sectoren
Disk model: Hitachi HDT72505
Eenheid: sectoren van 1 * 512 = 512 bytes
Sectorgrootte (logisch/fysiek): 512 bytes / 512 bytes
In-/uitvoergrootte (minimaal/optimaal): 512 bytes / 512 bytes
Schijflabeltype: dos
Schijf-ID: 0x1549f232

Apparaat Op. Begin Einde Sectoren Grootte ID Type
/dev/sdc1 2048 976773119 976771072 465,8G 83 Linux

Schijf /dev/sdd: 931,51 GiB, 1000204886016 bytes, 1953525168 sectoren
Disk model: ST1000DM010-2EP1
Eenheid: sectoren van 1 * 512 = 512 bytes
Sectorgrootte (logisch/fysiek): 512 bytes / 4096 bytes
In-/uitvoergrootte (minimaal/optimaal): 4096 bytes / 4096 bytes
Schijflabeltype: dos
Schijf-ID: 0xc5f4450a

Apparaat Op. Begin Einde Sectoren Grootte ID Type
/dev/sdd1 2048 984578047 984576000 469,5G 83 Linux
/dev/sdd2 984578048 1953523711 968945664 462G 7 HPFS/NTFS/exFAT

NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS SIZE OWNER GROUP MODE
sda 111,8G root disk brw-rw----
├─sda1 ntfs Recovery A523E83A2409FA83 42,2M 16% /run/media/willy/Recovery 50M root disk brw-rw----
└─sda2 ntfs W Server 2019 8E02D4C202D4B107 47G 58% /run/media/willy/W Server 2019 111,7G root disk brw-rw----
sdb 465,8G root disk brw-rw----
├─sdb1 btrfs 7286fd99-a24f-4e2d-9e1a-fd7d7ea01f48 30,1G 48% /var/log 58,6G root disk brw-rw----
│ /var/cache
│ /
├─sdb2 btrfs Home 6451a1aa-0b84-4dac-a735-8eb1948abea2 64,4G 84% /home 397,4G root disk brw-rw----
├─sdb3 swap 1 5eef6407-1934-4769-88e6-2b1b9013cc34 9,8G root disk brw-rw----
└─sdb4 8M root disk brw-rw----
sdc 465,8G root disk brw-rw----
└─sdc1 ext4 1.0 Data-Asus 5e29b42f-f6af-48c3-b4bb-ec7fe1011ec4 147,5G 63% /run/media/willy/Data-Asus 465,8G root disk brw-rw----
sdd 931,5G root disk brw-rw----
├─sdd1 btrfs Data-Linux 25f27789-1bca-498d-8d8c-33d58bab3cfe 303,9G 35% /run/media/willy/Data-Linux 469,5G root disk brw-rw----
└─sdd2 ntfs Data-NTFS 3177F3A81F904A50 327,9G 29% /run/media/willy/Data-NTFS 462G root disk brw-rw----
sdf 465,8G root disk brw-rw----
└─sdf1 ntfs Seagate

[ravio@ravio-optiplex3060 ~]$ efibootmgr
BootCurrent: 0005
Timeout: 1 seconds
BootOrder: 0005,0004,0003
Boot0003* Windows Boot Manager
Boot0004* UEFI: KingstonDT microDuo 3.0 PMAP
Boot0005* UEFI: KINGSTON SKC600256G
[ravio@ravio-optiplex3060 ~]$ 

@kiekeboe

Would you mind creating your own thread expalining your issue in order to get proper attention and assitance?

1 Like

@kiekeboe As @pebcak says make your own please or wait till we get this one solved. Don’t hijack another post while the community is trying to help that original person it confuses things.

1 Like

@Elnath can you please do one more thing. Run the below command.

sudo cat /boot/grub/grub.cfg | eos-sendlog

This would send your grub.cfg file to Pastebin. After it uploads you will see a link, please post it here. So the community can have a look.

https://clbin.com/XLafC

I will reinstall both Win and EOS. I think I corrupted windows boot manager (by following this post when I only set Windows Boot Manager in BIOS it does not load in windows. So I think the best will be to fast reinstall both OS.

I will keep u guys updated.

I would install Windows first and EnOS later.

You could then use Windows ESP (EFI System Partition) as the location for installation of EnOS’ bootloader or create a new one for EnOS.

If you could disconnect your Windows disk after installation, that would make things a bit easier/smoother.

1 Like

Update

Installed Windows 11 first. EOS second. Still the same issue.

[ravio@ravio-optiplex3060 ~]$ sudo fdisk -l
Disk /dev/nvme0n1: 232,89 GiB, 250059350016 bytes, 488397168 sectors
Disk model: WDC WDS250G2B0C-00PXH0                  
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: CBE51885-EA2A-43F6-984B-EA0B48D9BDD8

Device         Start       End   Sectors   Size Type
/dev/nvme0n1p1  2048     34815     32768    16M Microsoft reserved
/dev/nvme0n1p2 34816 488396799 488361984 232,9G Microsoft basic data


Disk /dev/sda: 238,47 GiB, 256060514304 bytes, 500118192 sectors
Disk model: KINGSTON SKC6002
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: 4FC046C0-C91E-7D48-AE14-C64908B6388F

Device         Start       End   Sectors  Size Type
/dev/sda1       2048   1050623   1048576  512M EFI System
/dev/sda2    1050624 126879743 125829120   60G Linux filesystem
/dev/sda3  126879744 500118158 373238415  178G Linux filesystem
[ravio@ravio-optiplex3060 ~]$ 

/dev/nvme0n1 has Windows 11.
/dev/sda has EOS (+ grub)

os-prober is set to false, but the windows entry is NOT being added…

Here is output of grub.cfg - https://clbin.com/EN9Ct

One interesting thing if in BIOS I disable all Linux stuff and just leave Windows Boot Manager it DOES not load windows. How so? It should right?

Not sure wtf is wrong?

@pebcak @s4ndm4n

This doesn’t look like a normal partition scheme when installing Windows in UEFI mode.

I would try disconnecting the other disk (/dev/sda) and re-install Windows.

Then disconnect Windows disk. Plugg in the other one and install EnOS.

When done, put in Windows disk, go into UEFI settings and give boot priority to EnOS.

Once in EnOS, make sure you have os-prober installed and you have

GRUB_DISABLE_OS_PROBER=false

in /etc/default/grub.

At the end:

sudo grub-mkconfig -o /boot/grub/grub.cfg

1 Like

This is looking like what happened to me!!

1 Like

Exactly!
I have been thinking of your thread all along and thought perhaps linking to it as well.

Edit:
@Elnath, here is the link to @mcury’s thread about a quite similar issue as yours if you want to have a look:

1 Like

@Elnath is your Windows installation media genuine? or is it a Gen2 one?

We don’t care about that but Gen2 and other ones have a way of installing Windows a bit different from normal.