Missing boot entry

Hello Garuda users.

[System info]
I am facing an issue with my boot entry I have 3 OS In my system :
1)Ubuntu 2 )Garuda 3)Arch

and I have 2 kernels in my garuda, arch and ubuntu :
1)Linux
2)linux-zen

and I installed them in the following order :
sda1: grub (boot/EFI)
sda2: Ubantu (/)
sda3: Garuda (/)
sda4: Arch (/)
sda5: storage (BTRFS)
sda6: swap (Linux swap)

[Problem]
So the main problem is I am unable to get all the entries in the same boot loader

  1. I have Ubuntu and Garuda in my boot menu but Arch is not registered
  2. I don't see any entry for changing my kernel in the boot menu

[Things I had tried]

yes I tried to update-grub with the following command but it doesn't fix it :
sudo grub-mkconfig -o /boot/grub/grub-btrfs.cfg
sudo update-grub

[Summary ]
I want to add all my os and all the kernel listed in grub like:
garuda Linux
garuda Linux-zen
Ubuntu
ubuntu Linux-zen
Arch Linux
Arch Linux-zen

Please post the output of garuda-inxi as required by the issue template.

Please also post the output of ls -la /boot/efi/EFI/ (run with sudo or as root).

4 Likes

Also, make sure your sda4 partition is mounted in Garuda before trying to run sudo update-grub.

─λ sudo garuda-inxi
System:
Kernel: 6.2.2-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=d429b51a-57da-4784-a081-04260251835d rw [email protected]
quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
loglevel=3 ibt=off
Desktop: KDE Plasma v: 5.27.2 tk: Qt v: 5.15.8 wm: kwin_x11 dm: SDDM
Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: LENOVO product: 80E5 v: Lenovo G50-80 serial: <filter>
Chassis: type: 10 v: Lenovo G50-80 serial: <filter>
Mobo: LENOVO model: Lenovo G50-80 v: NO DPK serial: <filter> UEFI: LENOVO
v: B0CN93WW date: 07/23/2015
Battery:
ID-1: BAT0 charge: 6.4 Wh (36.4%) condition: 17.6/28.5 Wh (61.6%)
volts: 13.8 min: 14.4 model: Lenovo IdeaPad type: Unknown serial: <filter>
status: discharging
CPU:
Info: model: Intel Core i3-5005U socket: BGA1168 (U3E1) note: check bits: 64
type: MT MCP arch: Broadwell gen: core 5 level: v3 note: check
built: 2015-18 process: Intel 14nm family: 6 model-id: 0x3D (61)
stepping: 4 microcode: 0x2F
Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache:
L1: 128 KiB desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB
L3: 3 MiB desc: 1x3 MiB
Speed (MHz): avg: 1897 high: 1900 min/max: 500/1900 base/boost: 2000/2000
scaling: driver: intel_cpufreq governor: performance volts: 0.8 V
ext-clock: 100 MHz cores: 1: 1900 2: 1896 3: 1896 4: 1896 bogomips: 15962
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities: <filter>
Graphics:
Device-1: Intel HD Graphics 5500 vendor: Lenovo driver: i915 v: kernel
arch: Gen-8 process: Intel 14nm built: 2014-15 ports: active: eDP-1
empty: DP-1,HDMI-A-1,HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:1616
class-ID: 0300
Device-2: Bison Lenovo EasyCamera type: USB driver: uvcvideo bus-ID: 1-6:4
chip-ID: 5986:014f class-ID: 0e02
Display: x11 server: X.Org v: 21.1.7 with: Xwayland v: 22.1.8
compositor: kwin_x11 driver: X: loaded: modesetting
alternate: fbdev,intel,vesa dri: iris gpu: i915 display-ID: :0 screens: 1
Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.21x7.99")
s-diag: 414mm (16.31")
Monitor-1: eDP-1 model: BOE Display 0x061d built: 2014 res: 1366x768
hz: 60 dpi: 112 gamma: 1.2 size: 309x173mm (12.17x6.81") diag: 389mm (15.3")
ratio: 16:9, 15:9 modes: 1366x768
API: OpenGL v: 4.6 Mesa 22.3.6 renderer: Mesa Intel HD Graphics 5500 (BDW
GT2) direct-render: Yes
Audio:
Device-1: Intel Broadwell-U Audio vendor: Lenovo driver: snd_hda_intel
v: kernel bus-ID: 00:03.0 chip-ID: 8086:160c class-ID: 0403
Device-2: Intel Wildcat Point-LP High Definition Audio vendor: Lenovo
driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:9ca0
class-ID: 0403
Sound API: ALSA v: k6.2.2-zen1-1-zen running: yes
Sound Server-1: PulseAudio v: 16.1 running: no
Sound Server-2: PipeWire v: 0.3.66 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Lenovo driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
port: 3000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp2s0 state: down mac: <filter>
Device-2: Intel Wireless 3160 driver: iwlwifi v: kernel pcie: gen: 1
speed: 2.5 GT/s lanes: 1 bus-ID: 03:00.0 chip-ID: 8086:08b4 class-ID: 0280
IF: wlan0 state: down mac: <filter>
Device-3: Realtek RTL8188CUS 802.11n WLAN Adapter type: USB
driver: rtl8192cu bus-ID: 1-1:2 chip-ID: 0bda:8176 class-ID: 0000
serial: <filter>
IF: wlan1 state: up mac: <filter>
Bluetooth:
Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8
bus-ID: 1-7:5 chip-ID: 8087:07dc class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 2 state: up address: <filter>
Drives:
Local Storage: total: 223.57 GiB used: 37.9 GiB (17.0%)
ID-1: /dev/sda maj-min: 8:0 vendor: Kingston model: SA400S37240G
family: Driven SSDs size: 223.57 GiB block-size: physical: 512 B
logical: 512 B sata: 3.2 speed: 6.0 Gb/s type: SSD serial: <filter>
rev: 0103 temp: 31 C scheme: GPT
SMART: yes state: enabled health: PASSED on: 67d 16h cycles: 1994
read: 8782 GiB written: 6597 GiB
Partition:
ID-1: / raw-size: 58.59 GiB size: 58.59 GiB (100.00%)
used: 21.08 GiB (36.0%) fs: btrfs block-size: 4096 B dev: /dev/sda3
maj-min: 8:3
ID-2: /boot/efi raw-size: 1024 MiB size: 1022 MiB (99.80%)
used: 219 MiB (21.4%) fs: vfat block-size: 512 B dev: /dev/sda1 maj-min: 8:1
ID-3: /home raw-size: 58.59 GiB size: 58.59 GiB (100.00%)
used: 21.08 GiB (36.0%) fs: btrfs block-size: 4096 B dev: /dev/sda3
maj-min: 8:3
ID-4: /var/log raw-size: 58.59 GiB size: 58.59 GiB (100.00%)
used: 21.08 GiB (36.0%) fs: btrfs block-size: 4096 B dev: /dev/sda3
maj-min: 8:3
ID-5: /var/tmp raw-size: 58.59 GiB size: 58.59 GiB (100.00%)
used: 21.08 GiB (36.0%) fs: btrfs block-size: 4096 B dev: /dev/sda3
maj-min: 8:3
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 3.74 GiB used: 45.2 MiB (1.2%) priority: 100
dev: /dev/zram0
ID-2: swap-2 type: partition size: 7.73 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/sda6 maj-min: 8:6
Sensors:
System Temperatures: cpu: 49.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 234 Uptime: 16m wakeups: 1 Memory: 3.74 GiB
used: 2.38 GiB (63.7%) Init: systemd v: 253 default: graphical
tool: systemctl Compilers: gcc: 12.2.1 Packages: pm: pacman pkgs: 1910
libs: 531 tools: octopi,paru Shell: garuda-inxi (sudo) default: Bash
v: 5.1.16 running-in: konsole inxi: 3.3.25
Garuda (2.6.15-1):
System install date:     2023-02-17
Last full system update: 2023-03-06
Is partially upgraded:   No
Relevant software:       snapper(custom) NetworkManager mkinitcpio
Windows dual boot:       No/Undetected
Failed units:
╰─λ sudo ls -la /boot/efi/EFI/
[sudo] password for kamal:
total 28
drwx------ 7 root root 4096 Feb 21 19:58  .
drwx------ 4 root root 4096 Jan  1  1970  ..
drwx------ 2 root root 4096 Feb 21 15:38 '='
drwx------ 2 root root 4096 Feb 21 18:59  BOOT
drwx------ 2 root root 4096 Feb 21 19:58  Gadura
drwx------ 2 root root 4096 Feb 21 19:39  garuda
drwx------ 2 root root 4096 Feb 21 18:59  ubuntu

already Tried mounting the sda4 but it don't work

I'm wondering where = and Gadura come from.

I think it's because I had reinstalled the garuda grub in past
I have 3 grubs at this time
garuda (main grub)
= (arch)
Ubuntu
Gadura (don't work)




Can you explain what you mean when you say "it don't work"? Is something preventing you from mounting the partition?

I had mount the partition and update-grub but it don't fix my problem it still the same

This is an odd name for a boot entry to have. I don't know that it would be a problem necessarily, but I am not sure.

Try this:

  • Boot to your Arch installation and update Grub (sudo grub-mkconfig -o /boot/grub/grub.cfg). Paste the input and output into the thread.
  • Boot back to Garuda.
  • Mount p4.
  • Update Grub (sudo update-grub). Paste the input and output into the thread.
1 Like

don't work, still arch is not in boot loder

Confused Wile E Coyote GIF by Looney Tunes

4 Likes

Garuda :

λ sudo update-grub
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/garuda-dr460nized/theme.txt
Found linux image: /boot/vmlinuz-linux-zen
Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux-zen.img
Found fallback initrd image(s) in /boot:  intel-ucode.img initramfs-linux-zen-fallback.img
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.
Found Ubuntu 22.04.2 LTS on /dev/sda2
Found Garuda Linux on /dev/sda3
Adding boot menu entry for UEFI Firmware Settings ...
Detecting snapshots ...
Found snapshot: 2023-02-18 11:03:48 | timeshift-btrfs/snapshots/2023-02-18_11-03-48/@ | ondemand | N/A |
Found snapshot: 2023-02-18 06:29:05 | timeshift-btrfs/snapshots/2023-02-18_06-29-05/@ | ondemand | N/A |
Found 2 snapshot(s)
Unmount /tmp/grub-btrfs.dx5HILX3ni .. Success
Found memtest86+ image: /boot/memtest86+/memtest.bin
done

Ubantu :

sudo update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.19.0-35-generic
Found initrd image: /boot/initrd.img-5.19.0-35-generic
Found linux image: /boot/vmlinuz-5.15.0-43-generic
Found initrd image: /boot/initrd.img-5.15.0-43-generic
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
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 Arch Linux on /dev/sda4
Adding boot menu entry for UEFI Firmware Settings ...
done

Arch :

~> sudo grub-mkconfig -o /boot/grub/grub.cfg
[sudo] password for kamal:
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux-zen
Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux-zen.img
Found fallback initrd image(s) in /boot:  intel-ucode.img initramfs-linux-zen-fallback.img
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

Can you check if the lsb-release package is installed in your Arch install? If not, install it:

sudo pacman -S lsb-release

Then try again, mounting p4 and updating Grub from Garuda.

https://wiki.archlinux.org/title/GRUB#Arch_not_found_from_other_OS

1 Like

it is not installed in my arch, i had install it and update grub from garuda but it don't fix any thing