[Top][All Lists]

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

Re: GRUB2 entries missing / misconfigured / etc?

From: Andrei Borzenkov
Subject: Re: GRUB2 entries missing / misconfigured / etc?
Date: Sat, 18 Jun 2022 07:00:09 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1

On 17.06.2022 22:58, ylluminate wrote:
> Following an upgrade / cross-grade from CentOS 7 to AlmaLinux 8, I'm having 
> some trouble with the GRUB not being able to boot properly for lack of 
> finding / generating entries. I'm hoping to resolve and document this in 
> order to further help the folks at AlmaLinux and cPanel on their ELevate 
> upgrade progress and am hoping to ask for some GRUB community eyes on this 
> issue to nail down what may be going on and how to resolve it:
> Appreciate any input / help!
> SeaBIOS (version
> iPXE ( 00:04.0 C980 PCI2.10 PnP PMM+7FF90F20+7FEF0F20 C980
> Booting from ROM...
> Welcome to GRUB!
> error: variable `prefix' isn't set.

$prefix is location of grub files (effectively /boot/grub). Without
$prefix grub does not know where to look for its own modules and
configuration files. $prefix (or code to find prifex at boot time) is
computed by grub-install and stored in generated core.img (for specific

>                              GNU GRUB  version 2.04
> Package grub2-pc-1:2.02-123.el8.alma.x86_64 is already installed.

So your operating system has grub 2.02 but booted grub is 2.04. This is
some different image probably left from previously installed operating

You need to install grub using grub-install (or corresponding tools of
your distribution) into proper location where your firmware looks for
it. SeaBIOS implies legacy BIOS boot, but further you describe
configuration for UEFI boot which is inconsistent.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]