<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>26179</bug_id>
          
          <creation_ts>2011-08-27 23:18:48 +0400</creation_ts>
          <short_desc>wrong path to memtest when /boot/ is on a separate partition</short_desc>
          <delta_ts>2013-11-27 00:13:52 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>grub2-pc</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>29460</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>26178</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan Zakharyaschev">imz</reporter>
          <assigned_to name="Michael Shigorin">mike</assigned_to>
          <cc>aen</cc>
    
    <cc>boyarsh</cc>
    
    <cc>sbolshakov</cc>
    
    <cc>vitty</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>124562</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2011-08-27 23:18:48 +0400</bug_when>
    <thetext>+++ This bug was initially created as a clone of Bug #26178 +++

# tail -30 /boot/grub/grub.cfg
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/39_memtest ###
menuentry &quot;Memtest86+-3.5&quot; {
	insmod part_msdos
	insmod ext2
	set root=&apos;(/dev/sda,msdos2)&apos;
	search --no-floppy --fs-uuid --set=root ac12087e-a82d-413e-8abc-7a9fc1f62ea5
	linux16 /boot/memtest-3.5.bin
}
menuentry &quot;Memtest86+-4.20&quot; {
	insmod part_msdos
	insmod ext2
	set root=&apos;(/dev/sda,msdos2)&apos;
	search --no-floppy --fs-uuid --set=root ac12087e-a82d-413e-8abc-7a9fc1f62ea5
	linux16 /boot/memtest-4.20.bin
}
### END /etc/grub.d/39_memtest ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the &apos;exec tail&apos; line above.
### END /etc/grub.d/40_custom ###
# rpm -qf /etc/grub.d/39_memtest 
grub2-1.99-alt7
# 

This doesn&apos;t work in my case, because in my case /boot/ is on a separate partition, and hence the path to memtest is wrong:

# mount | fgrep /boot
/dev/sda2 on /boot type ext4 (rw,nosuid,nodev,noexec,relatime,user_xattr,acl,barrier=1,data=ordered)
# 

Some more info:

# rpm -qa &apos;memtest*&apos;
memtester-4.2.1-alt1
memtest86+-4.20-alt1
memtest86-3.5-alt2
#</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>134430</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2012-11-03 18:38:38 +0400</bug_when>
    <thetext>Забираю.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>134440</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2012-11-03 19:32:50 +0400</bug_when>
    <thetext>Just in case you&apos;re interested in fixing up 39_memtest, patches (or hacks) are welcome -- it&apos;s not a part of upstream so didn&apos;t actually change in 2.00 package yet.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>143928</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2013-11-27 00:13:52 +0400</bug_when>
    <thetext>Оказывается, об этой грабельке уже сообщалось...

*** This bug has been marked as a duplicate of bug 29460 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>