Mauricio Tavares
2019-Dec-27 03:11 UTC
[CentOS] The case of the missing /boot/grub2/grub.cfg in centos8
So I installed centos8. And I was looking for the grub config file: [root at testbox ~]# ls -l /etc/grub2.cfg lrwxrwxrwx. 1 root root 22 Oct 2 13:01 /etc/grub2.cfg -> ../boot/grub2/grub.cfg [root at testbox ~]# But [root at testbox ~]# ls /boot/grub2/ grubenv [root at testbox ~]# Why is it not there? FYI, I did try 'yum reinstall grub2' and no /boot/grub2/grub.cfg for me.
Nicolas Kovacs
2019-Dec-27 06:36 UTC
[CentOS] The case of the missing /boot/grub2/grub.cfg in centos8
Le 27/12/2019 ? 04:11, Mauricio Tavares a ?crit?:> Why is it not there? FYI, I did try 'yum reinstall grub2' and no > /boot/grub2/grub.cfg for me.You're probably on an EFI system, and your grub.cfg is in a different location. Can't remember it off the top of my head, but do # find /boot -name 'grub.cfg' Cheers, Niki -- Microlinux - Solutions informatiques durables 7, place de l'?glise - 30730 Montpezat Site : https://www.microlinux.fr Mail : info at microlinux.fr T?l. : 04 66 63 10 32 Mob. : 06 51 80 12 12
Peter
2019-Dec-27 11:57 UTC
[CentOS] The case of the missing /boot/grub2/grub.cfg in centos8
On 27/12/19 7:36 pm, Nicolas Kovacs wrote:> Le 27/12/2019 ? 04:11, Mauricio Tavares a ?crit?: >> Why is it not there?? FYI, I did try 'yum reinstall grub2' and no >> /boot/grub2/grub.cfg for me. > > You're probably on an EFI system, and your grub.cfg is in a different > location. Can't remember it off the top of my head, but do/etc/grub2-efi.cfg -> ../boot/efi/EFI/centos/grub.cfg Peter
Reasonably Related Threads
- The case of the missing /boot/grub2/grub.cfg in centos8
- The case of the missing /boot/grub2/grub.cfg in centos8
- The case of the missing /boot/grub2/grub.cfg in centos8
- The case of the missing /boot/grub2/grub.cfg in centos8
- [PATCH] pygrub: add fedora 19 grub.cfg example