Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Which kernel should I use ?

Help for Current Versions of MX
Message
Author
arky217
Forum Novice
Forum  Novice
Posts: 21
Joined: Mon Jun 19, 2017 6:00 pm

Re: Which kernel should I use ?

#41 Post by arky217 » Fri Oct 05, 2018 5:15 pm

asqwerth wrote:
Thu Oct 04, 2018 11:53 pm
arky217 wrote:
Thu Oct 04, 2018 6:53 pm
dolphin_oracle wrote:
Thu Oct 04, 2018 10:09 am
MX-Boot-Options, choose your default boot entry.
I tried this and set it to 4.9, but it still boots to 4.15.

I tried it again and checked 'Enable saving last boot choice',
but it still boots to 4.9.

In fact, after I select 4.9 and check 'Enable saving last boot choice',
and close the MX boot options window and then immediately
open the MX boot options window again, my choice is not selected.

It keeps reverting to the first option 'MX 17 Horizon'.

Is that a bug, or am I overlooking something ?

Edit: Well, I got around this by using MX boot options to make
the grub menu 'flat' instead of 'tree' and then editing the grub
file directly and changing 'grub_default=saved' to 'grub_default=2'
which is the selection for kernel 4.9.
Then, of course, did a grub-update. Works now.
You didn't click on the APPLY button to get the update-grub process to run.
Oh yes, every time I tried, I clicked the apply button and it indicated
that it was updating grub, but it did not retain my selection.

User avatar
asqwerth
Forum Veteran
Forum Veteran
Posts: 3339
Joined: Sun May 27, 2007 5:37 am

Re: Which kernel should I use ?

#42 Post by asqwerth » Sat Oct 06, 2018 1:46 am

Do you have another distro on your system, whose grub is the main one?
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

User avatar
fehlix
Forum Guide
Forum Guide
Posts: 1717
Joined: Wed Apr 11, 2018 5:09 pm

Re: Which kernel should I use ?

#43 Post by fehlix » Sat Oct 06, 2018 4:23 am

arky217 wrote:
Thu Oct 04, 2018 6:53 pm
Is that a bug, or am I overlooking something ?
... make the grub menu 'flat' instead of 'tree' and then editing the grub
file directly and changing 'grub_default=saved' to 'grub_default=2'
Yes, it's a known issue with submenu. Instead of flat and GRUB_DEFAULT=2. You can keep submenu and set GRUB_DEFAULT="1->2", manually, to boot into the 3rd menuentry of the 1st submenu automatically after timeout.
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 16286
Joined: Fri Dec 15, 2006 8:07 pm

Re: Which kernel should I use ?

#44 Post by Stevo » Sat Oct 06, 2018 4:18 pm

Rebooting to the last boot selection can also be set in GRUB Customizer.

User avatar
baldyeti
Forum Novice
Forum  Novice
Posts: 76
Joined: Sat Dec 05, 2009 4:37 pm

Re: Which kernel should I use ?

#45 Post by baldyeti » Sun Oct 07, 2018 6:01 am

I have the following lines in /etc/default/grub:

GRUB_DEFAULT=saved
GRUB_SAVEDEFAULT=true

and grub remembers to boot from the last selected entry, even when that is 'MX 17 Horizon, with Linux 4.9.0-8-amd64' which lives under the "advanced" submenu.One just needs to run "update-grub2" as root after adding the 2 lines above.

User avatar
Richard
Posts: 2070
Joined: Fri Dec 12, 2008 10:31 am

Re: Which kernel should I use ?

#46 Post by Richard » Tue Oct 09, 2018 8:03 am

Just a note:

Had a similar, temporary problem with not booting to my choice of kernel.

I had similar setup to the entries above, including the following:
GRUB_DEFAULT=4
GRUB_SAVEDEFAULT=true

and for some reason, I changed:
GRUB_SAVEDEFAULT=false

after which, grub always booted the first entry.

Changed back to this:
GRUB_SAVEDEFAULT=true
and it works as expected, always booting entry #4.
MX171: Lenovo T430: Intel DualCore i5-3320M, 8 GB RAM, 4.18.7-antix.1-amd64-smp, 119GB SSD
MX171: AA1-ZG5/EeePC-1005HA: DualCore N270, 1 GB RAM, 4.9.126-antix.1-686-smp-pae, 150GB HDD
Doublecmd84, LibO61, Dropbx, PMoon, CherryT,Vbox. LinuxCounter #208633

Post Reply

Return to “MX Help”