Skip to main content

Timeline for Set the default kernel in GRUB

Current License: CC BY-SA 4.0

14 events
when toggle format what by license comment
Sep 8, 2024 at 7:59 comment added fotonmoton as of 2024 neither sudo update-grub or sudo grub-mkconfig -o /boot/grub/grub.cfg works for me in Fedora 40. Correct command right now is: grub2-mkconfig -o /boot/grub2/grub.cfg. Here's Fedora discussion
Aug 4, 2023 at 9:00 comment added reinierpost This doesn't work in all configurations; I'm getting the message error: Diskfilter writes are not supported. which means the feature cannot save the default, and indeed it is not being saved.
Jan 8, 2021 at 19:30 comment added geekley @RichieHH I made that comment before editing the answer. Before, it wasn't so clear if the default would be saved only on the first reboot or every time I choose an option. That's why I rephrased it to better clarify that the default changes every time you manually choose a different entry. Btw, this saved default is not necessarily the first choice (like "Ubuntu"), it can be a sub-entry (like "Ubuntu with linux X.Y.Z generic"). The first choice won't automatically reflect the default, which might get you a bit confused if you have 2 kernels like linux and linux-libre.
Jan 8, 2021 at 6:53 comment added RichieHH @geekley what do you think save default means?
S Dec 26, 2020 at 10:31 history suggested geekley CC BY-SA 4.0
Clarifying that the default is saved every time, not just on next reboot
Dec 26, 2020 at 2:35 review Suggested edits
S Dec 26, 2020 at 10:31
Dec 26, 2020 at 1:53 comment added geekley "The choice will be saved and next time your computer will boot into it automatically". So it only saves the default once in the next reboot? Or will it it automatically change the default every time you choose a specific kernel?
Sep 24, 2020 at 18:23 comment added daslicious I had to comment out GRUB_DEFAULT=0
Jul 20, 2020 at 16:55 review Suggested edits
Jul 20, 2020 at 21:52
Jun 9, 2020 at 7:59 comment added bela83 As of 2020, sudo update-grub returns a command not found in Arch. Instead the command sudo grub-mkconfig -o /boot/grub/grub.cfg should be used.
Apr 2, 2018 at 19:28 history bounty awarded Egor Skriptunoff
Feb 3, 2018 at 15:08 review Late answers
Feb 3, 2018 at 15:21
Feb 3, 2018 at 14:53 review First posts
Feb 3, 2018 at 14:54
Feb 3, 2018 at 14:48 history answered Jackie Jim CC BY-SA 3.0