bugGNU GRUB - Bugs: bug #59717, Grub failing with backtrace due to...

 
 

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

bug #59717: Grub failing with backtrace due to error in automatically generated config file

Submitted by:  Joe Pater <joep>
Submitted on:  Fri 18 Dec 2020 07:11:30 AM UTC  
 
Category:  Installation Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  None Privacy:  Public
Assigned to:  None Originator Name:  Joe Pater
Open/Closed:  Open Release: 
Release:  other Reproducibility:  Intermittent
Planned Release:  None

Tue 22 Dec 2020 06:41:15 PM UTC, comment #2: 

I've done some more digging, and I've found that the kernel install script uses kernel-install, not grub2-mkconfig. Apologies for the confusion.

Joe Pater <joep>
Tue 22 Dec 2020 06:36:25 PM UTC, comment #1: 

original submission:

> See line 135 of the attached grub config file - "root=/dev/mapper/fedora_localhost--live-root" is repeated over and over. This is causing a grub backtrace (can't remember what it said, I'll find it if it turns out to be important), which goes away when the repeats are removed. I suspect it has something to do with 'root=/dev/mapper/root=/dev/mapper/fedora_localhost--live-root' ending with 'root'.
>
> This has happened twice after my package manager (dnf) updated the kernel. When I re-run grub2-mkconfig, it produces the correct output, and I can't get it to make the error on-demand. I would imagine this is the sort of logic bug that becomes obvious when you re-read the code, but let me know if you need any more info.
>
> Grub version: 2.04
> Fedora 33
> Linux kernel 5.9.13 (although the config would have been generated on a different kernel)
>
> Joe Pater

Joe Pater <joep>
Fri 18 Dec 2020 07:11:30 AM UTC, original submission:  

See line 135 of the attached grub config file - "root=/dev/mapper/fedora_localhost--live-root" is repeated over and over. This is causing a grub backtrace (can't remember what it said, I'll find it if it turns out to be important), which goes away when the repeats are removed. I suspect it has something to do with 'root=/dev/mapper/root=/dev/mapper/fedora_localhost--live-root' ending with 'root'.

This has happened twice after my package manager (dnf) updated the kernel. When I re-run grub2-mkconfig, it produces the correct output, and I can't get it to make the error on-demand. I would imagine this is the sort of logic bug that becomes obvious when you re-read the code, but let me know if you need any more info.

Grub version: 2.04
Fedora 33
Linux kernel 5.9.13 (although the config would have been generated on a different kernel)

Joe Pater

Joe Pater <joep>

 

Attached Files
file #50506:  grub.cfg added by joep (16KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by joep (Submitted the item)
  • -email is unavailable- added by joep
  •  

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

    Only logged-in users can vote.

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-12-18 joep Attached File- => Added grub.cfg, #50506
        Carbon-Copy- => Added 02joepater06@gmail.com

    Back to the top


    Powered by Savane 3.7