Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
anemr opened this issue Aug 20, 2024 · 2 comments
Open

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

anemr opened this issue Aug 20, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@anemr
Copy link

anemr commented Aug 20, 2024

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

@anemr anemr added the bug Something isn't working label Aug 20, 2024
@SandakovMM
Copy link
Collaborator

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.

@anemr
Copy link
Author

anemr commented Sep 5, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants