[CentOS] Centos 7, grub2-mkconfig, unsupported sector [followup]
Jonathan Billings
billings at negate.org
Sat Jan 2 04:07:48 UTC 2016
On Fri, Jan 01, 2016 at 11:59:05AM -0700, Chris Murphy wrote:
> On Tue, Dec 29, 2015 at 2:43 PM, <m.roth at 5-cent.us> wrote:
> You're writing the grub.cfg to the wrong location with the wrong name.
> It needs to go to /boot/grub2/grub.cfg - that's where the bootloader
> looks for it.
... or /boot/efi/EFI/centos/grub.cfg if you are booting from an EFI
system. /etc/grub2-efi.cfg should point at it. I asked in #centos,
and I think this isn't the location in earlier point releases of
CentOS7. I don't have an EFI system handy to check.
> grubby looks for /etc/grub2.cfg which is a symlink to
> /boot/grub2/grub.cfg, because grubby.
Grubby is smart about checking both symlinks, in case of EFI. I kinda
wish it were just one link.
--
Jonathan Billings <billings at negate.org>
More information about the CentOS
mailing list