Re: The case of the missing /boot/grub2/grub.cfg in centos8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 28/12/19 2:48 am, Mauricio Tavares wrote:
With that said, if that is the case, why would the alias
/etc/grub2.cfg  still be created if it points to a non-existing file?
Wouldn't it make sense for it to just either not to be there at all or
point to the efi one? I can make arguments for both sides, but not for
a homeless alias.


[root@linux etc]# rpm -qf /etc/grub2.cfg
grub2-pc-2.02-0.80.el7.centos.x86_64
[root@linux etc]# rpm -qf /etc/grub2-efi.cfg
grub2-efi-x64-2.02-0.80.el7.centos.x86_64

...in other words, the grub2.cfg link is installed with the grub2-pc package and the grub2-efi.cfg link is created with the grub2-efi package. You can probably get away without the grub2-efi package on a legacy bios system, but not the other way around, so an efi system will have both links.

At the end of the day it's harmless, don't loose any sleep over it.


Peter
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux