You are not logged in.

#1 2026-08-08 17:36:07

gargoles
Member
Registered: 2026-08-08
Posts: 1

2 different installed kernels appear under the same name in GRUB

During the archinstall guided installation I've selected linux and linux-lts to be installed and I've also selected GRUB as my bootloader of choice.
The installation works just fine but both kernels appear with the same name "Arch Linux" which makes it hard to differentiate them (thanks to the wiki I've learned that the sorting grub does when creating the list of kernels will always put linux-lts above linux).
I would like to change the name of the entries so they could be differentiated. I've tried modifying /etc/grub.d/10_linux and regenerating the grub.cfg to no avail, the file /etc/grub.d/10_linux seems to be ignored when running 

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

Is this normal? If it is how do I change it? If it isn't, what did I do wrong?

Relevant files (I think?). Ask for more and I shall provide. The short ones I've pasted directly on the post for ease of reading.

Output of efibootmgr -u

BootCurrent: 0003
Timeout: 1 seconds
BootOrder: 0003,0000
Boot0000* Windows Boot Manager	HD(1,GPT,73c4a71e-492c-4705-9dde-9953c4c775d4,0x800,0x64000)/\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI䥗䑎坏S
Boot0003* UEFI OS	HD(1,GPT,c48a5beb-becc-4899-8afe-a2b70627de15,0x800,0x200000)/\EFI\BOOT\BOOTX64.EFI

(No clue why my window boot manager efi entry has chinese characters in it, it works just fine and is on a separate disk)

archinstall install.log
https://pastebin.com/kLKabiW6

/boot/grub/grub.cfg (I made sure to regenerate it with grub-mkconfig)
https://pastebin.com/p1UhiMha

/etc/default/grub
https://pastebin.com/858BvZ3U

/etc/grub.d/00_header
https://pastebin.com/HqH4FtQX

/etc/grub.d/10_linux
https://pastebin.com/9r3zpcqX

/etc/grub.d/15_ostree
https://pastebin.com/dxc18TxJ

/etc/grub.d/15_uki

#! /bin/sh
set -e

cat << EOF
if [ "\$grub_platform" = "efi" ]; then
  uki
fi
EOF

/etc/grub.d/20_linux_xen
https://pastebin.com/ZmbTitHC

/etc/grub.d/25_bli

#! /bin/sh
set -e

# grub-mkconfig helper script.
# Copyright (C) 2023  Free Software Foundation, Inc.
#
# GRUB is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# GRUB is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GRUB.  If not, see <http://www.gnu.org/licenses/>.

cat << EOF
if [ "\$grub_platform" = "efi" ]; then
  insmod bli
fi
EOF

/etc/grub.d/30_os-prober
https://pastebin.com/kwYn6L7j

/etc/grub.d/30_uefi-firmware
https://pastebin.com/YWKj5sPT

/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.

/etc/grub.d/41_custom

#!/bin/sh
cat <<EOF
if [ -f  \${config_directory}/custom.cfg ]; then
  source \${config_directory}/custom.cfg
elif [ -z "\${config_directory}" -a -f  \$prefix/custom.cfg ]; then
  source \$prefix/custom.cfg
fi
EOF

/etc/grub.d/41_snapshots-btrfs
https://sharetext.io/zosiuof9
(For some reason pastebin detects that there's "potentially offensive or questionable content" and I cannot share it through there, apologies.

Last edited by gargoles (2026-08-08 17:41:19)

Offline

#2 2026-08-08 18:31:53

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,243

Re: 2 different installed kernels appear under the same name in GRUB

What is /etc/grub.d/15_uki ?
Edit: ok, archinstall thing.
You're at best using that to list UKIs which will be labeled by /etc/os_release - what's not helpful if you've multiple kernels.
If you want to keep chainloading UKIs see https://wiki.archlinux.org/title/GRUB#C … rnel_image

what did I do wrong?

the archinstall guided installation

Edit: also rejoice, you're not alone wink
https://www.reddit.com/r/archlinux/comm … e_on_grub/

Last edited by seth (Yesterday 14:10:40)

Offline

Board footer

Powered by FluxBB