plesk / centos2alma

CentOS 7 to AlmaLinux 8 conversion tool
Apache License 2.0
39 stars 10 forks source link

grubby fatal error: unable to find a suitable template #334

Open anemr opened 3 months ago

anemr commented 3 months ago

Describe the bug The script (v.1.4.0) runs then fails with this error:

2024-08-19 17:57:38,952 - INFO - 2024-08-19 17:57:37.588015 [ERROR] Actor: add_upgrade_boot_entry 2024-08-19 17:57:38,952 - INFO - Message: Cannot configure bootloader. 2024-08-19 17:57:38,953 - INFO - Summary: 2024-08-19 17:57:38,953 - INFO - Details: Command ['/usr/sbin/grubby', '--add-kernel', '/boot/vmlinuz-upgrade.x86_64', '--initrd', '/boot/initramfs-upgrade.x86_64.img', '--title', 'ELevate-Upgrade-Initramfs', '--copy-default', '--make-default', '--args', ' enforcing=0 rd.plymouth=0 plymouth.enable=0'] failed with exit code 1.: grubby fatal error: unable to find a suitable template

Feedback archive centos2alma_feedback.zip

SandakovMM commented 2 months ago

Sorry for the long response. I can only assume:

anemr commented 2 months ago

Sorry for the long response. I can only assume:

* /boot/vmlinuz-upgrade.x86_64 or /boot/initramfs-upgrade.x86_64.img might be missing

* there may be some customizations in the grub2 configuration: /boot/grub2/grub.cfg and /etc/grub.d directory.

No problem. Thank you for the reply. I will check on my next run.