Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 257767 - sys-apps/memtest86+ - the "magic" for grub is buggy
Summary: sys-apps/memtest86+ - the "magic" for grub is buggy
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-05 11:30 UTC by Arthur D.
Modified: 2009-02-09 21:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arthur D. 2009-02-05 11:30:55 UTC
Hello.

I have the root filesystem on /dev/sda13 which is detected by memtest86+ ebuild as (hd0,0). It should be (hd0,12) instead.

Here's the changes, needed to be applied:
1)
root=$(echo "${res}" | grep -o '[a-z][0-9]' | tr -t a-z 0123456789)
  change to:
root=$(echo "${res}" | grep -o '[a-z][0-9]\+' | tr -t a-z 0123456789)
2)
root="(hd${root:0:1},$((${root:1:1}-1)))"
  change to:
root="(hd${root:0:1},$((${root:1:3}-1)))"
Comment 1 Michal Januszewski (RETIRED) gentoo-dev 2009-02-09 21:27:22 UTC
Fixed in CVS.  Thanks for reporting the problem and providing a fix.