You are not logged in.

#1 2020-06-03 06:47:05

mavrent
Member
Registered: 2019-12-26
Posts: 24

How do i make the first menu entry in GRUB point to a certain kernel?

As far as i can tell the first entry of the GRUB menu above advanced just picks a random kernel, and there should be a way to set grub-mkconfig to pick any kernel I like when it's run.

https://wiki.archlinux.org/index.php/GR … menu_entry

This page describes having grub memorize a certain entry you designate as "default", but doesn't allow you to change which is the first kernel chosen for the top entry.

Is there any way to set this without manually editing /boot/grub/grub.cfg?

Offline

#2 2020-06-03 06:56:35

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: How do i make the first menu entry in GRUB point to a certain kernel?

What is wrong with editing the file by hand?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2020-06-03 07:10:10

mavrent
Member
Registered: 2019-12-26
Posts: 24

Re: How do i make the first menu entry in GRUB point to a certain kernel?

jasonwryan wrote:

What is wrong with editing the file by hand?

Any time I run grub-mkconfig, i'll just end up with the same thing and have to edit grub.cfg again. It's a small chore, but I could also just uninstall kernels until grub-mkconfig happens to pick the one I'm looking for.

Offline

#4 2020-06-03 13:41:18

cirrus
Member
From: Glasgow Scotland
Registered: 2012-08-24
Posts: 341
Website

Re: How do i make the first menu entry in GRUB point to a certain kernel?

To lessen the chore keep a back up of the drop in *grub.cfg. The UUIDs are unlikely to change unless you repartition:reformat the HDD(s)
I’m quite confident our fine wiki has the answer regarding having grub choose your defined ‘default’ kernel.  Or simply edit the cfg to put whatever kernel and parameters to show first in its menu
Regards

Offline

Board footer

Powered by FluxBB