-
Bug
-
Resolution: Done-Errata
-
Minor
-
rhel-9.1.0
-
grub2-2.06-86.el9
-
None
-
Low
-
rhel-sst-cs-bootloaders
-
ssg_display
-
1
-
False
-
-
None
-
None
-
If docs needed, set a value
-
-
All
-
None
Description of problem:
With 9.1 code based on 2.06 code, using the "chainloader" commands ends up having a weird "/EndEntire" line being printed:
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
grub> chainloader /grubx64.efi
/EndEntire
grub> boot
Minimal BASH-like line editing is supported. For the first word, TAB lists possible
command completions. Anywhere else TAB lists possible device or file completions.
grub>
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
This happens because of the line 213 calling grub_efi_print_device_path():
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
158 static grub_efi_device_path_t *
159 make_file_path (grub_efi_device_path_t *dp, const char *filename)
160 {
:
210 /* Fill the file path for the directory. */
211 d = (grub_efi_device_path_t *) ((char *) file_path
212 + ((char *) d - (char *) dp));
213 grub_efi_print_device_path (d);
214 if (copy_file_path ((grub_efi_file_path_device_path_t *) d,
215 dir_start, dir_end - dir_start) != GRUB_ERR_NONE)
216 {
:
573 /* Print the chain of Device Path nodes. This is mainly for debugging. */
574 void
575 grub_efi_print_device_path (grub_efi_device_path_t *dp)
576 {
:
588 case GRUB_EFI_END_ENTIRE_DEVICE_PATH_SUBTYPE:
589 grub_printf ("/EndEntire\n");
:
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
Version-Release number of selected component (if applicable):
grub2-2.06-46.el9
How reproducible:
Always, see above
- external trackers
- links to
-
RHBA-2024:132763 grub2 bug fix and enhancement update