FS#38234 - [grub] grub-mkconfig -o fails with syntax error but produces correct file
Attached to Project:
Arch Linux
Opened by alex (kabolt) - Sunday, 22 December 2013, 18:33 GMT
Last edited by Tobias Powalowski (tpowa) - Saturday, 11 January 2014, 07:06 GMT
Opened by alex (kabolt) - Sunday, 22 December 2013, 18:33 GMT
Last edited by Tobias Powalowski (tpowa) - Saturday, 11 January 2014, 07:06 GMT
|
Details
Description:
on every of my two pcs grub-mkconfig -o gives an error. From one of the pcs I know that it used to work. I think the error exists since the last grub update (I use the latest version). error: Generating grub configuration file ... Found theme: /boot/grub/themes/starfield/theme.txt Found linux image: /boot/vmlinuz-linux Found initrd image: /boot/initramfs-linux.img error: out of memory. error: syntax error. error: Incorrect command. error: syntax error. Syntax error at line 167 Syntax errors are detected in generated GRUB config file. Ensure that there are no errors in /etc/default/grub and /etc/grub.d/* files or please file a bug report with /bllba.conf.new file attached.done the theme doesn't seems to be the problem because my other pc hasn't the theme setting set and the same problem |
This task depends upon
Shold i try syslinux? What am I suposed to do with the boot-bios partition in that case?
FS#38304P.S. I think this is not a upstream bug. It is an Arch bug. Because /etc/grub.d/10_linux line 293 is added by Arch developers, i.e. not exist in upstream repo.
However, when I try to run "grub-mkconfig", I still get the same complain on syntax error. The generated grub.cfg does have a open "{" but no closing "}", which caused the complain about "syntax error".
As Smlb said, adding a line GRUB_DISABLE_SUBMENU=y in /etc/default/grub and re-generate grub.cfg will not cause any error.
Attachment in FS#337904 fixes this for me, https://bugs.archlinux.org/task/37904?getfile=11318