bugGNU GRUB - Bugs: bug #47137, grub2-mkconfig write wrong boot...

 
 

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

bug #47137: grub2-mkconfig write wrong boot line for memtest86+

Submitter:  Markus <markusgnu>
Submitted:  Sun 14 Feb 2016 09:19:22 AM UTC
   
 
Category:  Configuration Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release:  other
Release:  Reproducibility:  Every Time
Planned Release:  None

Wed 02 Mar 2016 10:20:36 AM UTC, comment #3: 

Yes, memtest shipping static text is the problem.

Vladimir Serbinenko <phcoder>
Group administrator
Sun 14 Feb 2016 03:09:57 PM UTC, comment #2: 

Ok. I thought it has something to do with grub.

I searched my file system for memdisk.in, but didn't find any.
So I search for other configs that might be that, but renamed.
Then I found /etc/grub.d/39_memtest86+:

-----
#!/bin/sh
exec tail -n +3 $0

menuentry "memtest86+ 4.20" {
        linux16 /boot/memtest86plus/memtest
}

menuentry "memtest86+ 4.20 (netbsd)" {
        insmod bsd
        knetbsd /boot/memtest86plus/memtest.netbsd
}
-----

So it should be a problem with the memtest86+ package, where this package does only deliver this static text?

Markus <markusgnu>
Sun 14 Feb 2016 09:41:05 AM UTC, comment #1: 

We don't ship *_memdisk.in. memdisk does please paste *_memdisk so we can determine if it's faulty

Vladimir Serbinenko <phcoder>
Group administrator
Sun 14 Feb 2016 09:19:22 AM UTC, original submission:  

When using "grub2-mkconfig -o grub.cfg" to get a new grub.cfg configuration file, the entry for "memtest86+" is written not regarding the disk partition of the /boot folder.
But this is working for the linux kernel images.

So when /boot is on a separate partition, grub2-mkconfig writes a line
"linux16 /boot/memtest86plus/memtest"
into the grub.cfg
instead of
"linux16 /memtest86plus/memtest"
.

This results in a non bootable memtest86+ as the file is not found at the first location.

Markus <markusgnu>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-03-02 phcoder StatusNone Fixed
        Open/ClosedOpen Closed
    2016-02-14 markusgnu Carbon-Copy- Added markusgnu

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code