FS#38149 - [GRUB] grub-mkconfig failing on fresh install

Attached to Project: Arch Linux
Opened by Enzzo (souenzzo) - Sunday, 15 December 2013, 17:29 GMT
Last edited by Eric Belanger (Snowman) - Sunday, 15 December 2013, 19:43 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


grub-mkconfig dosent work on fresh install

[root@localhost user]# grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
No volume groups found
Found Windows 7 (loader) on /dev/sda3
error: out of memory.
error: syntax error.
error: Incorrect command.
error: syntax error.
Syntax error at line 175
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 fixed that with
on /etc/default/grub. I dont know exacly why this fix it.

Additional info:
* package version(s)
core/grub 1:2.00.1282.g5ae5c54-1 [installed]

* config and/or log files etc.
all default

Steps to reproduce:
fresh install
fail on grub-mkconfig
dosent boot on fresh install
This task depends upon

Closed by  Eric Belanger (Snowman)
Sunday, 15 December 2013, 19:43 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#37904