Bug 528651
| Summary: | Wrong grub setup if /boot is a part of / | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jan ONDREJ <ondrejj> | ||||
| Component: | memtest86+ | Assignee: | Jarod Wilson <jarod> | ||||
| Status: | CLOSED WORKSFORME | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 11 | CC: | anton, jarod, vedran | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2009-12-04 18:32:34 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
Not seeing any regression running on a system that does have a separate /boot, so I see no reason not to commit it. Committed to memtest86+-4.00-2, will build for rawhide and F12 updates-testing. memtest86+-4.00-2.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/memtest86+-4.00-2.fc12 Please make a build for f11 too. Thank you. memtest86+-4.00-2.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/memtest86+-4.00-2.fc11 Works for me. The VERIFIED, FAILS_QA and RELEASE_PENDING bug states are not used by Fedora (they are used in the RHEL process). --- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers memtest86+-4.00-2.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 364565 [details] Patch to fix this bug. Description of problem: memtest-setup does not work properly, if /boot is not a separate partition. Most of my systems does not use /boot and leave it on / (root filesystem). Solution and patch attached. Version-Release number of selected component (if applicable): memtest86+-2.11-9.fc11.i586 How reproducible: always Steps to Reproduce: 1. install system without /boot 2. yum install memtest86+ 3. memtest-setup 4. try to boot memtest Actual results: Error 13: Invalid or unsupported executable format Press any key to continue... Expected results: running memtest86+ Additional info: Here is one line shell debug output from memtest-setup: + sed -i '-es,kernel /elf-memtest86+,kernel --type=netbsd /elf-memtest86+,' /boot/grub/grub.conf But I have no /elf-memtest86+*, only /boot/elf-memtest86+-2.11 . This change should fix it: - sed -i -e"s,kernel /$ENAME,kernel --type=netbsd /$ENAME," /boot/grub/grub.conf + sed -i -e"s,kernel \(/boot\)\?/$ENAME,kernel --type=netbsd \1/$ENAME," /boot/grub/grub.conf