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+

Submitted by:  Markus <markusgnu>
Submitted on:  Sun 14 Feb 2016 09:19:22 AM UTC  
 
Category: ConfigurationSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedRelease: 
Release: otherReproducibility: 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>
Project 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>
Project 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>

 

No files currently attached

 

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 markusgnu (Submitted the item)
  • -unavailable- added by markusgnu
  •  

    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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 02 Mar 2016 10:20:46 AM UTCphcoderStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Sun 14 Feb 2016 09:19:22 AM UTCmarkusgnuCarbon-Copy-=>Added markusgnu

    Back to the top


    Powered by Savane 3.1-cleanup1