Gamall
July 21, 2023, 1:30pm
21
limotux:
Some time ago, with the help of our friends and experts here I could create a “hook”, a little script that runs automatically if a certain condition occurs. That hook automatically installs Grub in case it needs to be installed, so you do not have to worry about Grub breaking. I tested it and lived with it for some time and it was OK, it removed the hassles I mentioned previously. you may check my thread and the hook at Grub Hook to grub-install and grub-mkconfig?
No no no, I was just bitten by this recently. r591 required more manual intervention, depending on system. My hook broke boot on one of my machines. Some people could not make that version work at all on their system.
Hello, in the last update this morning i updated to kernel 6.4.1-zen2-1-zen and updated grub from core/grub 2:2.06.r566.g857af0e17-1 -> 2:2.06.r591.g6425c12cd-1.
After the grub-install ... and grub-mkconfig -o /boot/grub/grub.cfg i reboot and could not boot in any of the grub menu items.
the error message, when i select a kernel to boot, would be:
loading snapshot: date @snapshots/snapshot
loading kernel: vmlinuz-linux-zen ...
error: symbol `grub_is_shim_lock_enabled` not found
loading micro…
1 Like