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

Questions about Grub, the liveCD and the installer
Forum rules
Before you post please read how to get help
User avatar
tripy
Level 1
Level 1
Posts: 8
Joined: Thu Oct 09, 2014 11:17 am

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

Postby tripy » Sat Feb 11, 2017 1:00 pm

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.

supertuxkart
Level 4
Level 4
Posts: 374
Joined: Sat Jan 23, 2016 5:58 pm

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

Postby supertuxkart » Sat Feb 11, 2017 1:07 pm

Sorry i was wrong. I didon't see it was the LMDE section.

User avatar
all41
Level 11
Level 11
Posts: 3580
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

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

Postby all41 » Sat Feb 11, 2017 1:11 pm

Use software manager to remove the newer kernel.
Grub reverts to the highest kernel number by default.
Proud to be a supporter and monthly contributor to Mint.


User avatar
tripy
Level 1
Level 1
Posts: 8
Joined: Thu Oct 09, 2014 11:17 am

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

Postby tripy » Sun Feb 12, 2017 5:41 am

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

User avatar
tripy
Level 1
Level 1
Posts: 8
Joined: Thu Oct 09, 2014 11:17 am

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

Postby tripy » Sun Feb 12, 2017 5:44 am

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.


Return to “Installation & Boot”