Ask Your Question

How do I update grub in Fedora 23?

asked 2015-12-24 14:05:41 +0000

Mike Pedersen gravatar image

updated 2017-01-13 21:23:26 +0000

mattdm gravatar image

I've made some changes to /etc/default/grub. How do I update grub to reflect these changes in Fedora 23?

Most answers (wiki included) seems to suggest grub2-mkconfig -o /boot/grub2/grub.cfg, but this does not seem to have an effect on my system. I can't find any /boot/grub2/grub.cfg file prior to running the above command, so maybe it's the incorrect path for Fedora 23.

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted

answered 2015-12-24 19:59:38 +0000

maxim gravatar image
[maxim@ip206-251 ~]$ su -
[root@ip206-251 ~]# grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.2.8-300.fc23.x86_64
Found initrd image: /boot/initramfs-4.2.8-300.fc23.x86_64.img
Found linux image: /boot/vmlinuz-4.2.7-300.fc23.x86_64
Found initrd image: /boot/initramfs-4.2.7-300.fc23.x86_64.img
Found linux image: /boot/vmlinuz-0-rescue-f4ff0ca902584e5cb20d6d58c8c30391
Found initrd image: /boot/initramfs-0-rescue-f4ff0ca902584e5cb20d6d58c8c30391.img
[root@ip206-251 ~]#
edit flag offensive delete link more



if efi, something like

grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
maxim ( 2015-12-24 20:02:25 +0000 )edit

answered 2016-06-03 08:47:36 +0000

Thank ! I spend hours looking for that !

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.


Asked: 2015-12-24 14:05:41 +0000

Seen: 47,197 times

Last updated: Dec 24 '15