Artix Linux Forum

Artix Linux => System => Topic started by: Artt on 05 February 2024, 12:10:25

Title: [SOLVED] Grub customizer treats linux as linux-zen
Post by: Artt on 05 February 2024, 12:10:25
Hi,

I am using the base, zen and hardened kernels with GRUB2.

However, if I launch Artix linux (with linux linux),the linux-zen kernel gets loaded.

Has that happened to anyone before?
Does anyone know to debug this?
Title: Re: GRUB: Linux boots to linux-zen
Post by: Hitman on 05 February 2024, 19:20:26
What do you mean by same behaviour, as in the same kernel is being loaded?
How are you booting, bios or uefi? If it's uefi, post output of command 'mount | grep boot'
Title: Re: GRUB: Linux boots to linux-zen
Post by: Artt on 07 February 2024, 09:29:52
> What do you mean by same behaviour, as in the same kernel is being loaded?
I mean the wrong kernel being loaded.

> How are you booting, bios or uefi? [...]
I am using an EFI system:
Code: [Select]
$ mount | grep boot
/dev/nvme0n1p1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro)

However if I use fallback initramfs for linux-linux, I get linux-linux, not linux-zen.
Title: Re: GRUB: Linux boots to linux-zen
Post by: gripped on 07 February 2024, 13:51:15
grub.cfg controls this so look in there to see what grub is actually loading for each menu entry.
Title: Re: GRUB: Linux boots to linux-zen
Post by: Artt on 08 February 2024, 22:21:44
/boot/grub/grub.cfg was the problem, as you said.

Grub customizer did not work well...
I just changed linux-zen to linux in two places and it works well now.