Bug 2112134 - Booting ISO over PXE gives out of memory error.
Summary: Booting ISO over PXE gives out of memory error.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: grub2
Version: 36
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Javier Martinez Canillas
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-28 22:47 UTC by greg.w.williamson
Modified: 2023-01-24 20:58 UTC (History)
6 users (show)

Fixed In Version: grub2-2.06-75
Clone Of:
Environment:
Last Closed: 2023-01-24 20:58:03 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
lsefimmap output (50.17 KB, application/gzip)
2022-07-28 22:47 UTC, greg.w.williamson
no flags Details
efi=debug dmesg from working ceentos grub (245.71 KB, text/plain)
2022-07-28 22:49 UTC, greg.w.williamson
no flags Details
error message (6.78 KB, image/png)
2022-07-28 22:51 UTC, greg.w.williamson
no flags Details
grub.cfg (1.74 KB, text/plain)
2022-07-28 22:52 UTC, greg.w.williamson
no flags Details
grub with debug=all (12.60 KB, text/plain)
2022-08-01 16:04 UTC, greg.w.williamson
no flags Details
grub2-2.06-44.fc36 debug=all (25.12 KB, text/plain)
2022-08-02 00:29 UTC, greg.w.williamson
no flags Details
grub2-2.06-44.fc36 lsefimmap (4.87 KB, text/plain)
2022-08-02 00:32 UTC, greg.w.williamson
no flags Details

Description greg.w.williamson 2022-07-28 22:47:03 UTC
Created attachment 1900061 [details]
lsefimmap output

Description of problem:


Booting an iso over pxe on uefi using grub does not work.


How reproducible: Always


Steps to Reproduce:
1. Setup a pxe server
2. Setup a grub.cfg to boot an iso.
3. Try to boot it.
4  Cry.

Actual results:

It does not boot.

Expected results:

It boots.

Additional info:
Worked with Centos 8.2 grubx64.efi (grub 2.02). Does not work with grux64.efi from Centos 9-streams or fedora 36 (grub 2.06)

Comment 1 greg.w.williamson 2022-07-28 22:49:59 UTC
Created attachment 1900062 [details]
efi=debug dmesg from working ceentos grub

Comment 2 greg.w.williamson 2022-07-28 22:51:19 UTC
Created attachment 1900063 [details]
error message

Comment 3 greg.w.williamson 2022-07-28 22:52:56 UTC
Created attachment 1900064 [details]
grub.cfg

Comment 4 greg.w.williamson 2022-07-28 22:55:28 UTC
The initrd is 753mb the VM has 24gb of ram.

Comment 5 greg.w.williamson 2022-08-01 16:04:36 UTC
Created attachment 1900644 [details]
grub with debug=all

Comment 6 Fedora Update System 2022-08-01 22:16:24 UTC
FEDORA-2022-71a268de4d has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-71a268de4d

Comment 7 greg.w.williamson 2022-08-02 00:29:13 UTC
Created attachment 1902757 [details]
grub2-2.06-44.fc36  debug=all

New errors on new grub build

Comment 8 greg.w.williamson 2022-08-02 00:32:26 UTC
Created attachment 1902758 [details]
grub2-2.06-44.fc36 lsefimmap

Comment 9 Fedora Update System 2022-08-02 01:16:25 UTC
FEDORA-2022-71a268de4d has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-71a268de4d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-71a268de4d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2022-08-02 14:57:15 UTC
FEDORA-2022-8ffd58c713 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-8ffd58c713

Comment 11 Peter Jones 2022-08-02 15:35:52 UTC
Please give grub2-2.06-45.fc36 a shot; it should do better than -44 did.

Comment 12 greg.w.williamson 2022-08-02 16:14:04 UTC
Seems to be fixed under grub2-2.06-45.fc36. Thank you very much :).

Comment 13 Fedora Update System 2022-08-03 01:16:53 UTC
FEDORA-2022-8ffd58c713 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-8ffd58c713`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-8ffd58c713

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 14 Fedora Update System 2022-08-04 01:33:56 UTC
FEDORA-2022-8ffd58c713 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 15 Robbie Harwood 2022-09-08 00:14:29 UTC
Breaks with the current chainloader behavior for grub loading Windows, and that's a release criterion, so reverting.  Will plan a better fix for this, hopefully.

Comment 16 Robbie Harwood 2023-01-11 19:27:51 UTC
Hi, I think there's a good chance this is fixed with grub2-2.06-75

Comment 17 Marta Lewandowska 2023-01-18 12:59:44 UTC
Testing with an artificially inflated fedora initrd (795M), I don't get the out of memory error (comment#2) with grub2-2.06-75.fc37.


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