![]() # This section was generated by a script. ![]() boot/grub2/grub.cfg :: 10_linux section contains: # BEGIN /etc/grub.d/10_linux # ![]() The ‘grub2-mkconfig’ clearly updates grub.cfg, but if content of ‘grubenv’ has precedence, then the appropriate tool is probably ‘grub2-editenv’. What is in grubenv? sudo grub2-editenv list That is, if the ‘grubenv’ does not define ‘kernelopts’, then grub.cfg does. In the grub.cfg, just before blscfg, there is probably: if then Should not affect you, but good to check. IIRC, early RHEL 8 had hardcoded options there in some conditions. Note that the ‘options’ uses variable ‘$kernelopts’. It has entries as separate files in /boot/loader/entries that look like: title AlmaLinux (4.18.0-372.9.1.el8.x86_64) 8.6 (Sky Tiger) Does it have entries for the kernels in the ‘10_linux’ section, or does it have: insmod blscfg Look at the generated /boot/grub2/grub.cfg. ![]() What would be the proper way to build / rebuild and repair a GRUB installation on AlmaLinux 8? ![]() The good news is indeed that cPanel is running fine and the server seems stable, but I’m somewhat baffled by this behavior insomuch that clearly GRUB is not able to understand the new AlmaLinux kernel locations / structure properly… I figured I could simply repair this after my final ELevate reboot sequence, but after initiating the following grub command, but it still doesn’t seem to recognize any Linux kernel images: $ grub2-mkconfig -output /boot/grub2/grub.cfg This is on a Linode server.Īfter dealing with a Python issue ( yum remove python36) and a strange additional error that didn’t seem clear, I found that the system just wouldn’t boot without some manual intervention.īasically I have to manually enter boot args each time GRUB loads: set root=(hd0) I essentially successfully moved through a cPanel ELevate migration of CentOS 7 to AlmaLinux 8 via their script and with some patience and elbow grease. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |