Garuda grub menu - endeavour os not present - two arch linux distros boot issues

System:
  Kernel: 6.12.1-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=bd6ec518-0675-438b-8673-51b1fb05d518 rw rootflags=subvol=@
    quiet loglevel=3 amdgpu.ppfeaturemask=0xffffffff ibt=off
  Desktop: KDE Plasma v: 6.2.4 tk: Qt v: N/A info: frameworks v: 6.8.0
    wm: kwin_x11 vt: 2 dm: SDDM Distro: Garuda base: Arch Linux
Machine:
  Type: Desktop Mobo: Gigabyte model: B450 AORUS ELITE
    serial: <superuser required> uuid: <superuser required> UEFI: American
    Megatrends LLC. v: F65a date: 02/09/2023
CPU:
  Info: model: AMD Ryzen 7 5700G with Radeon Graphics bits: 64 type: MT MCP
    arch: Zen 3 gen: 3 level: v3 note: check built: 2021-22
    process: TSMC n7 (7nm) family: 0x19 (25) model-id: 0x50 (80) stepping: 0
    microcode: 0xA50000D
  Topology: cpus: 1x dies: 1 clusters: 1 cores: 8 threads: 16 tpc: 2
    smt: enabled cache: L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB
    desc: 8x512 KiB L3: 16 MiB desc: 1x16 MiB
  Speed (MHz): avg: 4056 high: 4591 min/max: N/A cores: 1: 3673 2: 3869
    3: 4591 4: 4588 5: 3676 6: 4573 7: 3793 8: 3662 9: 3673 10: 3793 11: 3793
    12: 4589 13: 3793 14: 4589 15: 3661 16: 4590 bogomips: 121378
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3
  Vulnerabilities: <filter>
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] 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: DP-3 empty: DP-1, DP-2,
    HDMI-A-1, Writeback-1 bus-ID: 03:00.0 chip-ID: 1002:73df class-ID: 0300
  Display: x11 server: X.Org v: 21.1.14 with: Xwayland v: 24.1.4
    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: 2560x1440 s-dpi: 96 s-size: 677x381mm (26.65x15.00")
    s-diag: 777mm (30.58")
  Monitor-1: DP-3 mapped: DisplayPort-2 model: Samsung LC27G5xT
    serial: <filter> built: 2021 res: 2560x1440 hz: 60 dpi: 109 gamma: 1.2
    size: 597x336mm (23.5x13.23") diag: 685mm (27") ratio: 16:9 modes:
    max: 2560x1440 min: 720x400
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast gbm: drv: kms_swrast surfaceless: drv: radeonsi x11:
    drv: radeonsi inactive: wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.2.7-arch1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 6700 XT (radeonsi
    navi22 LLVM 18.1.8 DRM 3.59 6.12.1-zen1-1-zen) device-ID: 1002:73df
    memory: 11.72 GiB unified: no
  API: Vulkan v: 1.3.295 layers: 15 device: 0 type: discrete-gpu name: AMD
    Radeon RX 6700 XT (RADV NAVI22) driver: mesa radv v: 24.2.7-arch1.1
    device-ID: 1002:73df surfaces: xcb,xlib device: 1 type: cpu name: llvmpipe
    (LLVM 18.1.8 256 bits) driver: mesa llvmpipe v: 24.2.7-arch1.1 (LLVM
    18.1.8) device-ID: 10005:0000 surfaces: xcb,xlib
Audio:
  Device-1: Advanced Micro Devices [AMD/ATI] Navi 21/23 HDMI/DP Audio
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 03:00.1 chip-ID: 1002:ab28 class-ID: 0403
  Device-2: Advanced Micro Devices [AMD/ATI] Renoir Radeon High Definition
    Audio driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 0a:00.1 chip-ID: 1002:1637
    class-ID: 0403
  Device-3: Advanced Micro Devices [AMD] Family 17h/19h HD Audio
    vendor: Gigabyte driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s
    lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 0a:00.6
    chip-ID: 1022:15e3 class-ID: 0403
  Device-4: Endorfy Solum Voice S Mic
    driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 2.0 speed: 12 Mb/s
    lanes: 1 mode: 1.1 bus-ID: 1-6:4 chip-ID: 3299:00a4 class-ID: 0300
  API: ALSA v: k6.12.1-zen1-1-zen status: kernel-api with: aoss
    type: oss-emulator tools: N/A
  Server-1: PipeWire v: 1.2.7 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/8211/8411 PCI Express Gigabit Ethernet
    vendor: Gigabyte driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: e000 bus-ID: 06:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Info: services: NetworkManager,systemd-timesyncd
Bluetooth:
  Device-1: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) driver: btusb
    v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-10:5
    chip-ID: 0a12:0001 class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 4.0
    lmp-v: 6 status: discoverable: no pairing: no class-ID: 7c0104
Drives:
  Local Storage: total: 1.8 TiB used: 707.43 GiB (38.4%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 980 PRO 1TB
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: 5B2QGXA7 temp: 34.9 C
    scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: GOODRAM model: SSDPR-CX400-256-G2
    size: 238.47 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 18C1 scheme: GPT
  ID-3: /dev/sdb maj-min: 8:16 vendor: GOODRAM model: SSDPR-CL100-480-G2
    size: 447.13 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: V4.9 scheme: MBR
  ID-4: /dev/sdc maj-min: 8:32 vendor: PNY model: CS900 240GB SSD
    size: 223.57 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 0615 scheme: GPT
Partition:
  ID-1: / raw-size: 100 GiB size: 100 GiB (100.00%) used: 75.16 GiB (75.2%)
    fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 1 GiB size: 1023 MiB (99.80%)
    used: 584 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 830.51 GiB size: 830.51 GiB (100.00%)
    used: 632.27 GiB (76.1%) fs: btrfs dev: /dev/nvme0n1p3 maj-min: 259:3
  ID-4: /var/log raw-size: 100 GiB size: 100 GiB (100.00%)
    used: 75.16 GiB (75.2%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-5: /var/tmp raw-size: 100 GiB size: 100 GiB (100.00%)
    used: 75.16 GiB (75.2%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 31.21 GiB used: 0 KiB (0.0%) priority: 100
    comp: zstd avail: lzo-rle,lzo,lz4,lz4hc,deflate,842 max-streams: 16
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 47.4 C mobo: N/A gpu: amdgpu temp: 35.0 C
    mem: 36.0 C
  Fan Speeds (rpm): N/A gpu: amdgpu fan: 895
Info:
  Memory: total: 32 GiB available: 31.21 GiB used: 3.73 GiB (11.9%)
  Processes: 435 Power: uptime: 0m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 12.47 GiB services: org_kde_powerdevil,
    power-profiles-daemon, upowerd Init: systemd v: 256 default: graphical
    tool: systemctl
  Packages: pm: pacman pkgs: 1902 libs: 571 tools: paru Compilers:
    clang: 18.1.8 gcc: 14.2.1 Shell: garuda-inxi default: fish v: 3.7.1
    running-in: konsole inxi: 3.3.36
Garuda (2.6.26-1):
  System install date:     2024-05-06
  Last full system update: 2024-11-29
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       No/Undetected
  Failed units:            

Hello, i have a question, to which i cannot find a resolution
I’m using garuda as my main system, also using grub from garuda
But i recently installed on a new disk endeavour os this time with ext4 partition and systemd-boot
But no matter what i do, i have added endeavour to grub menuentry, installed endos with btrfs, installed with grub boot etc…

Endeavour os not showing on grub menu

os-prober
/dev/nvme0n1p2:Garuda Linux:Garuda:linux:btrfs:UUID=bd6ec518-0675-438b-8673-51b1fb05d518:subvol=@_backup_20242006220027547
/dev/sda2:EndeavourOS Linux (rolling):EndeavourOS:linux
/dev/sdc2:Linux Mint 21.1 Vera (21.1):LinuxMint:linux
lsblk -fs

NAME      FSTYPE FSVER LABEL       UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
sda1      vfat   FAT32             175A-3120
└─sda
sda2      ext4   1.0   endeavouros 900f97d3-ac04-49cf-9cea-fd8f35f4d5a9
└─sda
sdb1      ntfs                     0A18FDCF18FDB9B1
└─sdb
sdc1      vfat   FAT32             6DCA-E406
└─sdc
sdc2      ext4   1.0               8e9654f5-5b4e-47d8-8f06-42798df52fce
└─sdc
zram0                                                                                  [SWAP]
nvme0n1p1 vfat   FAT32             382C-2B70                            1022,4M     0% /boot/efi
└─nvme0n1
nvme0n1p2 btrfs                    bd6ec518-0675-438b-8673-51b1fb05d518   24,6G    75% /var/cache
│                                                                                      /var/log
│                                                                                      /root
│                                                                                      /srv
│                                                                                      /var/tmp
│                                                                                      /
└─nvme0n1
nvme0n1p3 btrfs                    0ccb5598-707a-441d-b976-8ae66a5a02e3  197,6G    76% /home
└─nvme0n1

linux mint is normally visible from grub menu
also with sudo grub-mkconfig -o /boot/grub/grub.cfg
everything is fine and endos is visible in output, command completes without any errors

can anyone help me?

Pls, what is the result “efibootmgr” ?

Have you got used terminal or Garuda Boot Options ?

As fastet option you have (my mind)
go /etc/grub.d/
insert in the file 40_custom your endeavour
how…take a look there

( think on your uuid )

what`s going on inside LinuxMint
Grub find your endeavour ?

and then also

2 Likes

@gampel thx for reply

efibootmgr

BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,0002,0005,0001,0006
Boot0000* Garuda        HD(1,GPT,c7919df5-8a27-428d-a6e1-26f1310f9f88,0x22,0x2007de)/\EFI\GARUDA\GRUBX64.EFI
Boot0001  Linux Boot Manager    HD(1,GPT,91d3c0d3-4ada-4146-82c0-8648c6c6b40e,0x1000,0x200000)/\EFI\SYSTEMD\SYSTEMD-BOOTX64.EFI
Boot0002  ubuntu        HD(1,GPT,403dfc12-aee0-4ea6-a79a-8c43d867ae81,0x800,0x100000)/\EFI\UBUNTU\SHIMX64.EFI
Boot0005  UEFI OS       HD(1,GPT,c7919df5-8a27-428d-a6e1-26f1310f9f88,0x22,0x2007de)/\EFI\BOOT\BOOTX64.EFI0000424f
Boot0006  UEFI OS       HD(1,GPT,91d3c0d3-4ada-4146-82c0-8648c6c6b40e,0x1000,0x200000)/\EFI\BOOT\BOOTX64.EFI0000424f
/etc/grub.d/40_custom

#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
menuentry "EndeavourOS" {
    insmod part_gpt
    insmod fat
    insmod ext2

    search --no-floppy --fs-uuid --set=boot 175A-3120
    search --no-floppy --fs-uuid --set=root 900f97d3-ac04-49cf-9cea-fd8f35f4d5a9

    linux /vmlinuz-linux root=/dev/mapper/root rw
    initrd /initramfs-linux.img
}

i have started os-prober on linux mint, but there was no output at all

  • so it didn’t see any distro i guess

when i mount /dev/sda2 to ~/disk and checking /boot directory

ls disk/boot/

.rw-r--r-- 82k root 11 lis 09:00  amd-ucode.img

ls disk/efi
nothing here

mounted /dev/sda1 to disk

╭─w@garuda in ~ as 🧙 took 0s
╰─λ ls -R disk/
drwxr-xr-x - root  3 gru 12:50  86ed9e9146da4d5ba04914ef890fdbdf
drwxr-xr-x - root  3 gru 12:50  EFI
drwxr-xr-x - root  3 gru 15:20  loader

disk/86ed9e9146da4d5ba04914ef890fdbdf:
drwxr-xr-x - root  3 gru 12:50  6.12.1-arch1-1

disk/86ed9e9146da4d5ba04914ef890fdbdf/6.12.1-arch1-1:
.rwxr-xr-x 20M root  3 gru 12:50  initrd
.rwxr-xr-x 51M root  3 gru 12:50  initrd-fallback
.rwxr-xr-x 14M root  3 gru 12:50  linux

disk/EFI:
drwxr-xr-x - root  3 gru 12:50  BOOT
drwxr-xr-x - root  3 gru 12:50  Linux
drwxr-xr-x - root  3 gru 12:50  systemd

disk/EFI/BOOT:
.rwxr-xr-x 105k root 10 wrz 17:06  BOOTX64.EFI

disk/EFI/Linux:

disk/EFI/systemd:
.rwxr-xr-x 105k root 10 wrz 17:06  systemd-bootx64.efi

disk/loader:
drwxr-xr-x  - root  3 gru 12:50  entries
.rwxr-xr-x  6 root  3 gru 12:50  entries.srel
.rwxr-xr-x 93 root  3 gru 12:50  loader.conf
.rwxr-xr-x 32 root  3 gru 15:20  random-seed

disk/loader/entries:
.rwxr-xr-x 619 root  3 gru 12:50  86ed9e9146da4d5ba04914ef890fdbdf-6.12.1-arch1-1-fallback.conf
.rwxr-xr-x 579 root  3 gru 12:50  86ed9e9146da4d5ba04914ef890fdbdf-6.12.1-arch1-1.conf
╭─w@garuda in ~ as 🧙 took 0s
╰─λ ls -R disk/EFI
drwxr-xr-x - root  3 gru 12:50  BOOT
drwxr-xr-x - root  3 gru 12:50  Linux
drwxr-xr-x - root  3 gru 12:50  systemd

disk/EFI/BOOT:
.rwxr-xr-x 105k root 10 wrz 17:06  BOOTX64.EFI

disk/EFI/Linux:

disk/EFI/systemd:
.rwxr-xr-x 105k root 10 wrz 17:06  systemd-bootx64.efi

You mixed

with

Boot garuda and install and update grub on

You can try also custom.cfg in /boot/grub
for grub or systemd boot

2 Likes

i did the update-grub on garuda but that isn’t helping, it cannot find endeavour os on grub menu, i need to do a custom menu entry, which is not working, because some files like vmlinuz are missing, need to move them to proper place i guess

because i have found vmlinuz file in /usr/lib/modules/arch6-12

I think thats an issue with endeavour os itself

Thank you for your help guys, i have resolved it finally bymyself
Right now i can boot from garuda grub menu endeavour os

steps which i did

In endeavour os in /boot directory, there was no vmlinuz-linux file, also missing were initramfs files.

  • I have copied vmlinuz file from endeavour os /usr/lib/modules/arch6-12/vmlinuz to /boot/vmlinuz-linux
  • sudo pacman -S mkinitcpio had to remove dracut package because it was in conflict,
  • mkinitcpio -P
  • sudo pacman -S linux which generated all needed files
  • removed entry from /etc/grub.d/40_custom
  • boot into garuda update-grub

That resolved issues, and learned something new

That’s because these files are stored on the EFI partition when using systemd-boot. The files you copied over will not be used by systemd-boot in any way.

You probably should not have done this. Beware /etc/mkinitcpio.conf is only stock, with no considerations for modules or hooks. Probably you will no longer be able to boot to your Btrfs snapshots once they inherit this change.

To regenerate the initrds with dracut, we have this script:

sudo dracut-rebuild

I think you should have taken the advice to create a custom boot stanza, to chainload systemd-boot from GRUB. I don’t think it will be long before the configuration you have described becomes broken.

3 Likes

I do not have btrfs on endeavour os, ext4 fs there, do not care much on that system. I didnt do much configurations there, and most of already configured things i will script

I think it doesnt matter if these files will be used by systemd boot or not, because boot is managed by garuda grub
Or maybe im wrong here

Also i was checking efi partitions and these files werent present

If that solution get broken i will fix it with your suggested steps :slight_smile:

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