How to make a Kernel default?

I have 3 kernels installed (5.8.6-1, 5.4.64-1 and 4.19.144-1)
I want to make the last LTS Kernel (5.4.64-1) default, but if i don’t choose it each time on GRUB it starts with the latest (5.8.6-1).

1 Like

You can select the kernel in the GRUB menu under advanced settings. That should make it your default.

verify the file /etc/default/grub - it should contain lines like this





Then depending on your latest choice it will always start on the saved entry.


I have those lines on GRUB but like i said if i start Manjaro without going to advanced options it starts with the latest kernel.
Also, i can’t remove it, maybe it has to do with this, when trying to remove it through manjaro settings manager:


checking dependencies…
:: removing linux58 breaks dependency ‘linux58’ required by linux-latest
error: failed to prepare transaction (could not satisfy dependencies)

Done …

For the time being linux58 is linux-latest - and probably the package linux-latest is installed. Have you tried to remove it using pacman?

sudo pacman -Rns linux-latest

Thank you, i removed linux-latest and after i could remove linux58.
However GRUB continues to assume still the latest kernel available (now 5.4.64-1) as default, but for the time being it works for me :wink:

I have a similar problem, I installed mikah 20.1 xfce a week ago without problems
checking the kernel found it was running 5.8.6-1 I installed the latest LTS 5.4.64-1 but I can only select it in the GRUB menu under advanced settings; it will not save as default.
I checked the grub file and it contains ```

I have had no problems so far but should I try and remove the latest kernel
as I would prefer to use a recommended one while I learn manjaro linux

run sudo grub-mkconfig -o /boot/grub/grub.cfg it should fix the issue

Manjaro’s grub package contains update-grub, which does that…

same problem here, default = yes but manjaro still booting the highest kernel number available

GRUB_CMDLINE_LINUX_DEFAULT="quiet resume=UUID=806f110d-2578-4c43-a545-cc4cac83b303 udev.log_priority=3"

# If you want to enable the save default function, uncomment the following
# line, and set GRUB_DEFAULT to saved.

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable booting from LUKS encrypted devices

# Uncomment to use basic console

# Uncomment to disable graphical terminal

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command 'videoinfo'

# Uncomment to allow the kernel use the same resolution used by grub

# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"

# Uncomment to disable generation of recovery mode menu entries

# Uncomment this option to enable os-prober execution in the grub-mkconfig command

# Uncomment and set to the desired menu colors.  Used by normal and wallpaper
# modes only.  Entries specified as foreground/background.

# Uncomment one of them for the gfx desired, a image background or a gfxtheme

# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"

# Uncomment to ensure that the root filesystem is mounted read-only so that
# systemd-fsck can run the check automatically. We use 'fsck' by default, which
# needs 'rw' as boot parameter, to avoid delay in boot-time. 'fsck' needs to be
# removed from 'mkinitcpio.conf' to make 'systemd-fsck' work.
# See also Arch-Wiki:

have run sudo update-grub