Ask Your Question
1

How do I update grub in Fedora 23?

asked 2015-12-24 08:05:41 -0500

Mike Pedersen gravatar image

updated 2017-01-13 15:23:26 -0500

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
4

answered 2015-12-24 13:59:38 -0500

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
done
[root@ip206-251 ~]#
edit flag offensive delete link more

Comments

3

if efi, something like

grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
maxim gravatar imagemaxim ( 2015-12-24 14:02:25 -0500 )edit
0

answered 2016-06-03 03:47:36 -0500

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

Question Tools

Stats

Asked: 2015-12-24 08:05:41 -0500

Seen: 52,673 times

Last updated: Dec 24 '15