Elevate script detects Grub2 related blocker
Hello, I'm trying to migrate from CentOS7 to Alma and I'm performing preliminary checks with Elevate Script. I've managed to fix most blockers, but it keeps telling me it detects no Grub2 config file, even if it's there:
whereis grub grub: /usr/lib/grub /etc/grub2.cfg /etc/grub.d /usr/share/grub
Not sure how to proceed. Another couple of things that bothers me are:
- Why remove python3? Current version is Python2.7.5, and after all I don't even remember why I installed Python3 too. How do I know if I can safely remove Python3?
- I'm on a LSWS server, and the script tells me to remove yum litespeed repos. Does this indicate there will be incompatibilities between Alma and Litespees? I've done some research but I didn't come up to a satisfying answer.
Thanks for any help!
Michael
-
Hey there! I sent these concerns to the ELevate team and they recommended creating a ticket so we can do more research on this issue. Could you do that?
0 -
Hello cPRex, thanks. Unfortunately no, I cannot create a ticket. When I try to do so it tells me to contact my hosting provider (which is licensed to cPanel/Whm), but since I don't have a managing contract with them (I have a bare metal server with them), they won't help me with such issues. That's why I wrote here. I feel a bit out of luck here : (
0 -
In general, I'm not familiar with Litespeed having repositories, so that specific portion of the output was very interesting to me.
Python is a default application on the server so you wouldn't want to remove it - was there other output from the script mentioning this?
If your cPanel license is purchased from us directly you'd be eligible to create that ticket, although your host should be supporting your license.
0 -
Hello cPRex, and thanks for your info. My cPanel license came with the dedicated server, so no, I didn't buy it directly from you. I own a Litespeed Unlimited license though, I don't know if that makes me eligible to open tickets unrelated to cPanel. Let me know on this.
I'll paste here the full output of the elevate script, if you would be so kind of sharing your thoughts, or at least to point me in the right direction, I'll be thankful.
Michael
0 -
If any license is purchased directly through us you'd be able to contact us for issues.
There's much more going on than just the grub errors, but at this time, that server isn't going to be able to ELevate due to the network configuration even if you were able to fix the other issues. I spoke with the ELevate team today and they are anticipating supporting multiple network cards sometime later in June or July.
If you need to get this machine updated sooner than later, a traditional migration to a new server would be the best option.
0 -
Hello!, same problem here with grub2. when I run /scripts/elevate-cpanel --check the result is
*** Elevation Blocker detected: ***
The GRUB2 config file is missing.I was looking at the script and the code says:
if ( ( !-f '/boot/grub2/grub.cfg' || !-s '/boot/grub2/grub.cfg' )
&& ( !-f '/boot/grub/grub.cfg' || !-s '/boot/grub/grub.cfg' ) ) {
return $self->has_blocker( <<~EOS );
The GRUB2 config file is missing.and in my server the grub.cfg is in /boot/efi/EFI/centos/grub.cfg, so what I did was create a link in /boot/grub2/grub.cfg that points to /boot/efi/EFI/centos/grub.cfg
Now it no longer gives me errors and I am executing "start", I will tell you later how it went.
0 -
Hello cPRex, thanks so much for your time and precious info!
David Cordovez, fingers crossed and thanks for the tip!
0 -
newby here. I have the same issue, I found this on Stacked but I now get a different error:
sudo grub2-mkconfig -o /boot/grub/grub.cfg
So I have reverted back to my Snapshot.
Do we know how to fix?
0 -
Hello Michael Travan
After a long update process (more than an hour), the server was updated and everything works well, now running AlmaLinux v8.
There are times where you have to be patient, because the process seems to be stuck, you don't see progress on the screen but if you look at the log file that remains in /var/log/leapp/ you can see that it is working.1 -
Hello David Cordovez. I am having I believe the same issue as you with the grub config being in the EFI location. Are you able to provide some more info on the link you created to get past the blocker? Thanks.
1
Please sign in to leave a comment.
Comments
10 comments