FS#37905 - grub: syntax errors while (re-)creating grub.cfg

Attached to Project: Arch Linux
Opened by Jakob Herrmann (vf04) - Monday, 25 November 2013, 13:53 GMT
Last edited by Dave Reisner (falconindy) - Monday, 25 November 2013, 14:06 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To No-one
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


To reproduce, try: grub-mkconfig -o grub.cfg
Following errors occur:
Generating grub configuration file ...
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 165
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
/boot/grub/grub.cfg.new file attached.done

I have about 4G of memory in my machine and can't observe anything extraordinary.
Re-installing grub and re-creating templates in /etc/grub.d and /etc/default/grub doesn't solve the issue.
This task depends upon

Closed by  Dave Reisner (falconindy)
Monday, 25 November 2013, 14:06 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#37904