Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1511190 - After grub2-mknetdir, grub.cfg search was in different location that documentation described.
Summary: After grub2-mknetdir, grub.cfg search was in different location that document...
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: grub2
Version: 7.4
Hardware: ppc64
OS: Linux
Target Milestone: rc
: ---
Assignee: Peter Jones
QA Contact: Release Test Team
Depends On:
TreeView+ depends on / blocked
Reported: 2017-11-08 20:52 UTC by Curtis Taylor
Modified: 2018-11-02 02:03 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:
Target Upstream Version:

Attachments (Terms of Use)

Description Curtis Taylor 2017-11-08 20:52:28 UTC
Description of problem:
Location of grub.cfg for netboot appears to be a moving target and doesn't match RHEL installation guide.  

Version-Release number of selected component (if applicable):

How reproducible:
On a powerpc system follow  

Steps to Reproduce:
1. grub2-mknetdir --net-directory /tftpboot
2. point dhcp filename at "/boot/grub2/powerpc-ieee1275/core.elf"
3. put the grub.cfg in /tftpboot/boot/grub2/grub.cfg  (Like documentation described.)

Actual results:
After loading core.elf, normal.mod, and a few other *.mod, tcpdump shows attempts are made to load /boot/grub2/powerpc-ieee1275/grub.cfg* but /boot/grub2/ is never searched.

Expected results:
Documentation should specify grub.cfg location that is used with grub2-mknetdir boot processes and grub.cfg location should remain static between grub versions.

Additional info:
We have old /boot/grub2, possibly from RHEL7.2, where it searched for grub.cfg in tftpd's root directory (/tftpboot/ in my case... the tcpdump only shows /grub.cfg* of course.)  /tfpboot now has the grub.cfg files in /tftpboot, /tftpboot/boot/grub2, and /tftpboot/boot/grub2/powerpc-ieee1275.  (This is getting ridiculous.)

Note You need to log in before you can comment on or make changes to this bug.