How to instruct GRUB to use an old kernel as default ?

Archived topics about LMDE 1 and LMDE 2
Locked
tripy

How to instruct GRUB to use an old kernel as default ?

Post by tripy »

Hello guys,

I tried to update my kernel to the latest, as it was suggested (with a big red "at your own risks" label) by the update manager to 4.9.0.
I have an issue with it, that the 3.16.0 kernel had not.

I can go into the GRUB menu each time my box boots, but that gets old quickly...
Now that I did update it, how can I instruct GRUB to ignore the 4.9.0 without deleting the kernel ?
Is there a way to do it?

I've looked inside the script in /etc/grub.d/10_linux that generate the grub configuration, but could'nt see no way of blacklisting a kernel...
Also, rather than manually deleting the kernel and image files, does anyone knows how to remove the linux-headers-4.9.0* packages without removing the meta-package linux-headers-amd64 and keeping a working installation ?

I have to say I liked the previous versions of the upgrade manager way better in that regards.
It was nice to be able to specify the default booting kernel from a list.

Thanks.
Tripy.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
supertuxkart
Level 4
Level 4
Posts: 403
Joined: Sat Jan 23, 2016 5:58 pm

Re: How to instruct GRUB to use an old kernel as default ?

Post by supertuxkart »

Sorry i was wrong. I didon't see it was the LMDE section.
User avatar
all41
Level 19
Level 19
Posts: 9473
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: How to instruct GRUB to use an old kernel as default ?

Post by all41 »

Use software manager to remove the newer kernel.
Grub reverts to the highest kernel number by default.
Everything in life was difficult before it became easy.
tripy

Re: How to instruct GRUB to use an old kernel as default ?

Post by tripy »

all41 wrote:Use software manager to remove the newer kernel.
Grub reverts to the highest kernel number by default.
Yeah, that's what I wanted to do, but then the manager tells me that "linux-headers-amd64" will also be removed.
Isn't that a meta package containing all the kernels ?
Would I not end up with a system without any kernel ?
Image
tripy

Re: How to instruct GRUB to use an old kernel as default ?

Post by tripy »

grumpy_geek wrote:"Re-Order Grub Boot Menu"
Thanks for the link.
I already am using the "saved" grub entry, but would prefer to not resort to that.
Locked

Return to “LMDE Archive”