EndeavourOS grub does not detect Arch Linux

Happy Holidays to everyone, so I have 3 operating systems installed on my PC: Windows 11, EndeavourOS (my “main distro”, i.e. the one I use most of the time) and Arch Linux. Now I did the usual procedure of activating the OS prober by editing the grub file and updating the grub, windows is detected but arch linux is not. I tried to do the same thing from Arch Linux, same result: windows11 is detected and EndeavourOS is not.

I would like to continue using the EndeavourOS disk as boot priority, and therefore boot all my systems from the EndeavourOS grub, but how can I do it?

I’m not an expert and I’m new to the linux environment. So I hope there are no solutions too complicated for me. Thank you for your attention and patience.

PS: all three operating systems are installed on different ssd

This is my setup:

> [sermor@sermor-endeavourpc ~]$  inxi -v7azy
System:
  Kernel: 6.6.8-arch1-1 arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: hpet,acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux
    root=UUID=3a9139f8-cba1-4093-9a94-ff596677e1eb rw rootflags=subvol=@
    nowatchdog nvme_load=YES loglevel=3
  Desktop: KDE Plasma v: 5.27.10 tk: Qt v: 5.15.11 wm: kwin_x11 vt: 2
    dm: SDDM Distro: EndeavourOS base: Arch Linux
Machine:
  Type: Desktop Mobo: ASUSTeK model: PRIME X570-P v: Rev X.0x
    serial: <superuser required> UEFI: American Megatrends v: 5003
    date: 10/07/2023
Battery:
  Device-1: gip0.0 model: Microsoft X-Box One pad serial: N/A
    charge: 50% (should be ignored) rechargeable: yes status: not charging
  Device-2: hidpp_battery_0 model: Logitech Marathon Mouse/Performance Plus
    M705 serial: <filter> charge: 55% (should be ignored) rechargeable: yes
    status: discharging
  Device-3: hidpp_battery_1 model: Logitech Wireless Keyboard
    serial: <filter> charge: 55% (should be ignored) rechargeable: yes
    status: discharging
Memory:
  System RAM: total: 64 GiB note: est. available: 62.71 GiB
    used: 7.12 GiB (11.3%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: AMD Ryzen 7 5700X bits: 64 type: MT MCP arch: Zen 3+ gen: 4
    level: v3 note: check built: 2022 process: TSMC n6 (7nm) family: 0x19 (25)
    model-id: 0x21 (33) stepping: 2 microcode: 0xA20120E
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB L3: 32 MiB
    desc: 1x32 MiB
  Speed (MHz): avg: 2489 high: 3600 min/max: 2200/4662 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 3600 2: 2200
    3: 2879 4: 2878 5: 2200 6: 2200 7: 2200 8: 2879 9: 3400 10: 2200 11: 2200
    12: 2200 13: 2200 14: 2200 15: 2200 16: 2200 bogomips: 108860
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
    bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
    constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
    cqm_occup_llc cr8_legacy cx16 cx8 de debug_swap decodeassists erms extapic
    extd_apicid f16c flushbyasid fma fpu fsgsbase fsrm fxsr fxsr_opt ht
    hw_pstate ibpb ibrs ibs invpcid irperf lahf_lm lbrv lm mba mca mce
    misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc nopl npt
    nrip_save nx ospke osvw overflow_recov pae pat pausefilter pclmulqdq
    pdpe1gb perfctr_core perfctr_llc perfctr_nb pfthreshold pge pku pni popcnt
    pse pse36 rapl rdpid rdpru rdrand rdseed rdt_a rdtscp rep_good sep sha_ni
    skinit smap smca smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp succor
    svm svm_lock syscall tce topoext tsc tsc_scale umip user_shstk v_spec_ctrl
    v_vmsave_vmload vaes vgif vmcb_clean vme vmmcall vpclmulqdq wbnoinvd wdt
    x2apic xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow mitigation: Safe RET
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: always-on, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT]
    vendor: Sapphire driver: amdgpu v: kernel arch: RDNA-2 code: Navi-2x
    process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 4 speed: 16 GT/s lanes: 16
    ports: active: HDMI-A-1 empty: DP-1,DP-2,DP-3 bus-ID: 0a:00.0
    chip-ID: 1002:73df class-ID: 0300
  Display: x11 server: X.Org v: 21.1.10 with: Xwayland v: 23.2.3
    compositor: kwin_x11 driver: X: loaded: amdgpu unloaded: modesetting,radeon
    alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: HDMI-A-1 mapped: HDMI-A-0 model: VG258 serial: <filter>
    built: 2021 res: 1920x1080 dpi: 90 gamma: 1.2 size: 544x303mm (21.42x11.93")
    diag: 623mm (24.5") ratio: 16:9 modes: max: 1920x1080 min: 720x400
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast surfaceless: drv: radeonsi x11: drv: radeonsi
    inactive: gbm,wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 23.3.1-arch1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 6750 XT (radeonsi
    navi22 LLVM 16.0.6 DRM 3.54 6.6.8-arch1-1) device-ID: 1002:73df
    memory: 11.72 GiB unified: no
  API: Vulkan v: 1.3.274 layers: 7 device: 0 type: discrete-gpu name: AMD
    Radeon RX 6750 XT (RADV NAVI22) driver: mesa radv v: 23.3.1-arch1.1
    device-ID: 1002:73df surfaces: xcb,xlib
Audio:
  Device-1: AMD Navi 21/23 HDMI/DP Audio driver: snd_hda_intel v: kernel pcie:
    gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 0a:00.1 chip-ID: 1002:ab28
    class-ID: 0403
  Device-2: AMD Starship/Matisse HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 0c:00.4 chip-ID: 1022:1487 class-ID: 0403
  Device-3: HP OMEN Blast Headset driver: hid-generic,snd-usb-audio,usbhid
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-4:3
    chip-ID: 03f0:4941 class-ID: 0300 serial: <filter>
  API: ALSA v: k6.6.8-arch1-1 status: kernel-api
    tools: alsactl,alsamixer,amixer
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK PRIME B450M-A driver: r8169 v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 04:00.0 chip-ID: 10ec:8168
    class-ID: 0200
  IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Message: No bluetooth data found.
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 14.55 TiB used: 1.06 TiB (7.3%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 980 PRO 2TB
    size: 1.82 TiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: 5B2QGXA7 temp: 38.9 C
    scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Western Digital model: WD60EFZX-68B3FN0
    size: 5.46 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    tech: HDD rpm: 5640 serial: <filter> fw-rev: 0A81 scheme: GPT
  ID-3: /dev/sdb maj-min: 8:16 vendor: Samsung model: SSD 870 QVO 4TB
    size: 3.64 TiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 2B6Q scheme: GPT
  ID-4: /dev/sdc maj-min: 8:32 vendor: Samsung model: SSD 870 EVO 2TB
    size: 1.82 TiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 2B6Q scheme: GPT
  ID-5: /dev/sdd maj-min: 8:48 vendor: Samsung model: SSD 860 QVO 1TB
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 2B6Q scheme: GPT
  ID-6: /dev/sde maj-min: 8:64 vendor: Samsung model: SSD 870 QVO 1TB
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 2B6Q scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 3.64 TiB size: 3.64 TiB (100.00%) used: 1.06 TiB (29.3%)
    fs: btrfs dev: /dev/sdb2 maj-min: 8:18 label: endeavouros
    uuid: 3a9139f8-cba1-4093-9a94-ff596677e1eb
  ID-2: /boot/efi raw-size: 1000 MiB size: 998 MiB (99.80%)
    used: 27.2 MiB (2.7%) fs: vfat dev: /dev/sdb1 maj-min: 8:17 label: N/A
    uuid: 0706-DC58
  ID-3: /home raw-size: 3.64 TiB size: 3.64 TiB (100.00%)
    used: 1.06 TiB (29.3%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
    label: endeavouros uuid: 3a9139f8-cba1-4093-9a94-ff596677e1eb
  ID-4: /var/cache raw-size: 3.64 TiB size: 3.64 TiB (100.00%)
    used: 1.06 TiB (29.3%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
    label: endeavouros uuid: 3a9139f8-cba1-4093-9a94-ff596677e1eb
  ID-5: /var/log raw-size: 3.64 TiB size: 3.64 TiB (100.00%)
    used: 1.06 TiB (29.3%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
    label: endeavouros uuid: 3a9139f8-cba1-4093-9a94-ff596677e1eb
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/nvme0n1p1 maj-min: 259:1 size: 16 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-2: /dev/nvme0n1p2 maj-min: 259:2 size: 1.82 TiB fs: ntfs label: OS
    uuid: 14FF8B7A4851E3D0
  ID-3: /dev/sda1 maj-min: 8:1 size: 16 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-4: /dev/sda2 maj-min: 8:2 size: 5.46 TiB fs: ntfs label: STORAGE
    uuid: C256EB3656EB29BD
  ID-5: /dev/sdc1 maj-min: 8:33 size: 512 MiB fs: vfat label: N/A
    uuid: B014-3A39
  ID-6: /dev/sdc2 maj-min: 8:34 size: 1.82 TiB fs: btrfs label: N/A
    uuid: 2a6bb5b3-7f93-4395-89d3-da2d4b1c751f
  ID-7: /dev/sdd1 maj-min: 8:49 size: 931.51 GiB fs: ntfs
    label: SSD SECONDARY uuid: DC0265EF0265CF58
  ID-8: /dev/sde1 maj-min: 8:65 size: 931.51 GiB fs: ntfs
    label: LINUX STORAGE uuid: 267551946004129A
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 6 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 1-3:2 info: Seiko Epson ET-2850 Series type: printer
    driver: usblp interfaces: 5 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s) lanes: 1
    mode: 2.0 power: 2mA chip-ID: 04b8:118b class-ID: 0701 serial: <filter>
  Device-2: 1-4:3 info: HP OMEN Blast Headset type: audio,HID
    driver: hid-generic,snd-usb-audio,usbhid interfaces: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 100mA
    chip-ID: 03f0:4941 class-ID: 0300 serial: <filter>
  Device-3: 1-5:4 info: Nacon Evol-X type: <vendor specific>
    driver: xone-wired interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1
    mode: 1.1 power: 500mA chip-ID: 3285:0663 class-ID: ff00 serial: <filter>
  Hub-2: 1-6:5 info: Terminus Hub ports: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 100mA
    chip-ID: 1a40:0101 class-ID: 0900
  Hub-3: 1-6.1:6 info: Terminus Hub ports: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 100mA
    chip-ID: 1a40:0101 class-ID: 0900
  Device-1: 1-6.1.3:8 info: Logitech Unifying Receiver
    type: keyboard,mouse,HID driver: logitech-djreceiver,usbhid interfaces: 3
    rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 98mA
    chip-ID: 046d:c52b class-ID: 0300
  Device-2: 1-6.2:7 info: Logitech Unifying Receiver type: keyboard,mouse
    driver: logitech-djreceiver,usbhid interfaces: 2 rev: 2.0
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 98mA
    chip-ID: 046d:c534 class-ID: 0301
  Hub-4: 2-0:1 info: super-speed hub ports: 4 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-5: 3-0:1 info: hi-speed hub with single TT ports: 6 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 3-6:2 info: ASUSTek AURA LED Controller type: HID
    driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s)
    lanes: 1 mode: 1.1 power: 16mA chip-ID: 0b05:18f3 class-ID: 0300
    serial: <filter>
  Hub-6: 4-0:1 info: super-speed hub ports: 4 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-7: 5-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-8: 6-0:1 info: super-speed hub ports: 4 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 38.4 C mobo: N/A gpu: amdgpu temp: 34.0 C
    mem: 28.0 C
  Fan Speeds (rpm): N/A gpu: amdgpu fan: 0
Info:
  Processes: 397 Uptime: 2h 45m wakeups: 0 Init: systemd v: 255
  default: graphical tool: systemctl Compilers: gcc: 13.2.1 clang: 16.0.6
  Packages: pm: pacman pkgs: 1636 libs: 403 tools: octopi,pamac,yay pm: flatpak
  pkgs: 0 Shell: Bash v: 5.2.21 running-in: konsole inxi: 3.3.31``
1 Like

For enhanced readability of longer pieces of posted text, please edit your post and use the </> button to format.

Hi Sermor,

So there is a chance that if “Fast Boot” is enable in Windows 11 that it might be interfering. Can you review the below article to disable Windows 11 Fast Boot?

Then can you provide me with the command you are using to update the grub configuration?

By default in a EFI setup:

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

You should run this command again after you disable fast boot.

Source:
https://wiki.archlinux.org/title/GRUB

Thanks, I will. Now that I think about it, even if I disabled fast boot from boot, I don’t think I did it from Windows, because after changing the RAM I reinstalled everything.

Done. I disabled fast boot from both windows and boot, and updated using the command you gave me, but nothing changed. The detected systems always remain W11 and EOS. I also tried on Arch, it’s the same thing, the Arch grub continues to only see Arch and W11, but not EOS.

Possible other solutions?

Are you sure you have os-prober enabled?

EDIT: I, also, remember at some past time, I had problems with RAID BIOS settings when I used multiple drives. Perhaps your problem lies there? Sorry I can’t remember the exact specifics, but I believe I turned the RAID bios functions off and everything worked. I could be wrong though.

I don’t know: I removed the “#” from the “GRUB_DISABLE_OS_PROBER=false” line in the grub.cfg file, and obviously it’s installed. Do I have to do something else?

I’ll try this too, maybe it works for me too.

Maybe you’ll see something useful in this article:

1 Like

This one suggestion was really to make things less complicated. The OS Prober appears to be working as you either see:

  • Windows 11 + EndeavourOS

OR

  • Windows 11 + Arch Linux install

So I wonder if any special configuration knowing yout are using BTRFS. @manyroads seem to touch on this.

Can you also run the following command to get a simplified partition list:

lsblk -f

P.S. I have not used BTRFS … so just thinking out loud.

So, in the nvme disk there is windows11, the disk where endeavoros is is indicated, arch linux is installed in the other 2TB ssd disk, both systems use the BTRFS file system. So I assume that Arch is installed in “sdc 2” disk, and its boot in “sdc 1”.

> [sermor@sermor-endeavourpc ~]$ lsblk -f
NAME        FSTYPE FSVER LABEL         UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
sda                                                                                        
├─sda1                                                                                     
└─sda2      ntfs         STORAGE       C256EB3656EB29BD                                    
sdb                                                                                        
├─sdb1      vfat   FAT32               0706-DC58                             970,8M     3% /boot/efi
└─sdb2      btrfs        endeavouros   3a9139f8-cba1-4093-9a94-ff596677e1eb    2,6T    29% /home
                                                                                           /var/cache
                                                                                           /var/log
                                                                                           /
sdc                                                                                        
├─sdc1      vfat   FAT32               B014-3A39                                           
└─sdc2      btrfs                      2a6bb5b3-7f93-4395-89d3-da2d4b1c751f                
sdd                                                                                        
└─sdd1      ntfs         SSD SECONDARY DC0265EF0265CF58                                    
sde                                                                                        
└─sde1      ntfs         LINUX STORAGE 267551946004129A                                    
nvme0n1                                                                                    
├─nvme0n1p1                                                                                
└─nvme0n1p2 ntfs         OS            14FF8B7A4851E3D0

Have a look at the first part of the following post regarding os-prober and systems on Btrfs:

This is what comes out by running the “lsblk -f” command from Arch:

 [sermor@archlinux ~]$ lsblk -f
NAME        FSTYPE FSVER LABEL         UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
sda
├─sda1
└─sda2      ntfs         STORAGE       C256EB3656EB29BD
sdb
├─sdb1      vfat   FAT32               0706-DC58
└─sdb2      btrfs        endeavouros   3a9139f8-cba1-4093-9a94-ff596677e1eb
sdc
├─sdc1      vfat   FAT32               B014-3A39                             437,4M    14% /boot
└─sdc2      btrfs                      2a6bb5b3-7f93-4395-89d3-da2d4b1c751f    1,8T     1% /var/log
                                                                                           /var/cache/pacman/pkg
                                                                                           /home
                                                                                           /.snapshots
                                                                                           /
sdd
└─sdd1      ntfs         SSD SECONDARY DC0265EF0265CF58
sde
└─sde1      ntfs         LINUX STORAGE 267551946004129A                      917,5G     2% /run/media/sermor/LINUX STORAGE
nvme0n1
├─nvme0n1p1
└─nvme0n1p2 ntfs         OS            14FF8B7A4851E3D0
1 Like

Thanks so much, it works!

Even though I had to select Arch disk priority from boot, because Endeavor’s Grub detected Arch after the update, but it still didn’t show it to me. From Arch’s grub, yes.

1 Like

You are welcome!
Glad you got it resolved!

:enos: :handshake:t5:

2 Likes

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