Steve723

Linux/GRUB2

Aug 11th, 2025
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. steve7233@nobara-pc:~$ sudo grub2-mkconfig -o /boot/grub2/grub.cfg
  2. [sudo] password for steve7233:
  3. Generating grub configuration file ...
  4. Adding boot menu entry for UEFI Firmware Settings ...
  5. error: ../grub-core/script/lexer.c:352:out of memory.
  6. error: ../grub-core/script/lexer.c:352:syntax error.
  7. error: ../grub-core/script/lexer.c:352:Incorrect command.
  8. error: ../grub-core/script/lexer.c:352:syntax error.
  9. Syntax error at line 237
  10. Syntax errors are detected in generated GRUB config file.
  11. Ensure that there are no errors in /etc/default/grub
  12. and /etc/grub.d/* files or please file a bug report with
  13. /boot/grub2/grub.cfg.new file attached.
  14. steve7233@nobara-pc:~$ sudo update-grub
  15. Generating grub configuration file ...
  16. Adding boot menu entry for UEFI Firmware Settings ...
  17. error: ../grub-core/script/lexer.c:352:out of memory.
  18. error: ../grub-core/script/lexer.c:352:syntax error.
  19. error: ../grub-core/script/lexer.c:352:Incorrect command.
  20. error: ../grub-core/script/lexer.c:352:syntax error.
  21. Syntax error at line 237
  22. Syntax errors are detected in generated GRUB config file.
  23. Ensure that there are no errors in /etc/default/grub
  24. and /etc/grub.d/* files or please file a bug report with
  25. /boot/grub2/grub.cfg.new file attached.
  26. steve7233@nobara-pc:~$
  27.  
Advertisement
Add Comment
Please, Sign In to add comment