My existing grub still boots fine, but I wanted to make a few changes to the menu using 'grub-customizer' -- just renaming a few entries -- and I got this: I aborted the changes, rebooted (fine) then ran:
... I don't know what would have changed since /boot/grub/grub.cfg was formed (with no trouble), but an attempt to rebuild it, with nothing different that I know of, generates an error. What can I do? I don't know what to look for as far as errors.
Line 279 is:
### END /etc/grub.d/48_custom ###
... and that's the last line in the file. If it's of any use that file is:
... if the UEFI Firmware is the issue here's that file:
Code:
% update-grubGenerating grub configuration file ...Found background image: /usr/share/images/desktop-base/desktop-grub.pngFound linux image: /boot/vmlinuz-6.1.0-21-amd64Found initrd image: /boot/initrd.img-6.1.0-21-amd64Found linux image: /boot/vmlinuz-6.1.0-21-amd64Found initrd image: /boot/initrd.img-6.1.0-21-amd64Warning: os-prober will be executed to detect other bootable partitions.Its output will be used to detect bootable binaries on them and create new boot entries.Found Debian GNU/Linux 12 (bookworm) on /dev/sda1Found Debian GNU/Linux 12 (bookworm) on /dev/sdb4Found Debian GNU/Linux 12 (bookworm) on /dev/sdb5Adding boot menu entry for UEFI Firmware Settings ...error: out of memory.error: syntax error.error: Incorrect command.error: syntax error.Syntax error at line 279Syntax errors are detected in generated GRUB config file.Ensure that there are no errors in /etc/default/gruband /etc/grub.d/* files or please file a bug report with/boot/grub/grub.cfg.new file attached.
Line 279 is:
### END /etc/grub.d/48_custom ###
... and that's the last line in the file. If it's of any use that file is:
Code:
#!/bin/shcat <<EOFif [ -f \${config_directory}/custom.cfg ]; then source \${config_directory}/custom.cfgelif [ -z "\${config_directory}" -a -f \$prefix/custom.cfg ]; then source \$prefix/custom.cfgfiEOF
Code:
#!/bin/sh#THIS IS A GRUB PROXY SCRIPT'/etc/grub.d/proxifiedScripts/uefi-firmware' | /etc/grub.d/bin/grubcfg_proxy "+*-'UEFI Firmware Settings'~4e15a6547b9250de59821b594ecf5dee~
Statistics: Posted by rayandrews — 2024-05-17 22:13 — Replies 4 — Views 56