bugGNU GRUB - Bugs: bug #40999, grub-mkconfig errors detected in...


You are not allowed to post comments on this tracker with your current authentication level.

bug #40999: grub-mkconfig errors detected in created grub.cfg

Submitted by:  Michael <matschi>
Submitted on:  Wed 25 Dec 2013 11:19:46 PM UTC  
Category: ConfigurationSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: InvalidPrivacy: Public
Assigned to: NoneOriginator Name: Michael
Open/Closed: ClosedRelease: 
Release: 2.00Reproducibility: Every Time
Planned Release: None

Wed 02 Mar 2016 02:39:36 PM UTC, comment #5:

30_os-prober.in just uses whatever comes from linux-boot-prober and linux-boot-prober is not maintained by us but by debian-boot team

Vladimir Serbinenko <phcoder>
Project Administrator
Sun 29 Dec 2013 12:25:12 PM UTC, comment #4:

is your 10_linux upstream one? If not, the bug is invalid here.

Vladimir Serbinenko <phcoder>
Project Administrator
Fri 27 Dec 2013 02:56:12 PM UTC, comment #3:

solution found. Seems it is rather arch specific.

"Known issue with known workaround: add the following to /etc/default/grub

# fix broken grub.cfg gen


Michael <matschi>
Thu 26 Dec 2013 02:45:24 PM UTC, comment #2:

(re?)uploaded the grub.cfg.new

Michael <matschi>
Thu 26 Dec 2013 12:40:46 PM UTC, comment #1:

The message was pretty clear files we need. You sent only one of them,

Vladimir Serbinenko <phcoder>
Project Administrator
Wed 25 Dec 2013 11:19:46 PM UTC, original submission:

I stumbled over a problem with grub-mkconfig. My System:

uname -a:

Linux [HOSTNAME] 3.12.5-1-ARCH #1 SMP PREEMPT Thu Dec 12 12:57:31 CET 2013 x86_64 GNU/Linux

Grub version:

My Error output:

[HOSTNAME] grub.d # grub-mkconfig -o /boot/grub/grub.cfg

Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux-lts
Found initrd image: /boot/initramfs-linux-lts.img
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
No volume groups found
error: out of memory.
error: syntax error.
error: Incorrect command.
error: syntax error.
Syntax error at line 198
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

you can find my
/etc/default/grub and the created
/boot/grub/grub.cfg.new attached

in a short search for "error at line 198" i found:

thanks for your effort and have a nice holidays in case you celebrate christmas. Keep up the good work :)

Michael <matschi>


Attached Files
file #30098:  grub.cfg.new added by matschi (7KiB - application/octet-stream)
file #30092:  grub added by matschi (1KiB - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by phcoder (Posted a comment)
  • -unavailable- added by matschi (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 02 Mar 2016 02:39:36 PM UTCphcoderStatusNone=>Invalid
    Thu 26 Dec 2013 02:47:49 PM UTCmatschiAttached File-=>Added grub.cfg.new, #30098
    Wed 25 Dec 2013 11:19:46 PM UTCmatschiAttached File-=>Added grub, #30092

    Back to the top

    Powered by Savane 3.1-cleanup1