New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[issue]: Grub-core: out of memory (Fedora 35) #1515
Comments
2GB or more of RAM are required for the Fedora netinstall ISO. Since a memory problem is reported, it would be useful to know how much RAM is in your system and if you have recently changed the BIOS or memory modules in your system |
Also try the grub2 command lsmmap Both under VM and on real system and paste screenshot here as may be a memory map/grub2 issue with your hardware/UEFI BIOS. |
I have 32G of ram, no new changes in hardware or bios. It really just happen with the fedora ISOs I have.
I can try, From the FAQ, it seems to be ctrl+r to access the grub mode, and I will update and screenshot if there is an error. |
I got same problem as you did. Try to rebuild my usb multiple time but seem like problem not come from my usb. I try other OS then it work fine, strangely when i boot to usb on vmware workstation then it work normally. Any idea what happen? |
I am still trying to figure it out but not much success (especially as I am not really knowledgeable in grub or boot loaders). The work around I found (100% success so far), is to switch ventoy to grub mode. Once you get to the list of iso, use the key combination CTRL+r, you will have a small grub mode text that appear at the bottom. You can now select and run the iso with no errors. I haven't yet doing a way to use the lsmmap command under grub (haven't had time to look too much into it). |
Sadly I can confirm that this problem could be available at least in some conditions. Yesterday I tried to install What is so important that after I give it up with Ventoy the same ISO in the exactly same environment could boot up perfectly directly wroted onto the same flash drive. |
I have the exact same problem as Tams-Toth-ebola |
I know that 1.0.74 did not contain any fix for it, just would like to report that after a ..74 test sadly the problem still alive. |
@Tamas-Toth-ebola
and give me the result. |
@ventoy , for your request: |
@Tamas-Toth-ebola and run |
@Tamas-Toth-ebola |
grub> vt_efi_dump_rsv_page
Total pages: 182173
Required pages: 45543
grub> _ |
@Tamas-Toth-ebola
|
You are the ONE! 😉 With this 'latest' build succesfully booted into Ubuntu 22.04 - Desktop (with their official setup image/ISO)! At this point the bug have been already fixed! 🍾 Thanks a lot for it! |
@UbioZur Any update? |
I don't have the time at the moment to check a new install sorry. |
@UbioZur Still happens for me, I'm not sure about everyone else |
@aliAlFarwi
|
@omarwllorente If the issue still exists, then when you boot into Ventoy menu, press
and give the result here |
Ctrl-r to switch to grub2 mode solved the issue for me on several laptops using 1.0.74, MBR, and Linux mint cinnamon 20.3. |
I just found out that's from HP bios, something about secure boot (even though i disabled it). I have to clear something. But after tinkering around sometime then everything work just fine! I left my laptop at home so i will update specific detail about my case later. |
@ventoy Is there a planned release with this fix? I'm facing the same problem. Not sure how will installing this CI version would work update-wise, like would I be able to safely install it and then install 1.0.75 when the time comes? (I have 1.0.74 now) |
@AnessZurba There is no problem to use this CI release if it fixed the issue in your environment. |
@omarwllorente |
@ventoy it's working, thanks |
This computer is a new HP model (HP Probook 430 G8), just bought, and its BIOS has been updated to the last available using the windows HP support center software, so there is little I can do with the BIOS. About memory, all I can say is that the computer has 16GB of RAM available, with 512MB of them assigned to the video card. Do you think that the problem may be related to this fact? Thanks! Omar |
@omarwllorente
Besides, if you write the ISO file directly to the USB with other tools(e.g. Rufus) can it boot OK? |
Thanks @ventoy for your explanations. To your question about booting directly transferred ISO to the USB, the answer is yes, the computer can boot without problem with a normal USB, even with the 512MB for video assigned. Using the last CI version (#769) and the hints you provided, I've managed to boot ubuntu 22.04 up after reducing the memory assigned to 128MB for the video card in BIOS setup (assigning 256MB still didn't work). It seems clear to me that the video memory or this computer is being assigned under the first 4GB of RAM. Thank you so much. Omar |
@omarwllorente |
Good to know. Keep up the good work! Omar |
Just for the report, I can confirm that with the fresh new Thanks again for it! |
1.0.75 release, should have fixed the issue in some computer. |
ubuntu-22.04-desktop-amd64.iso |
What about grub2 mode? https://www.ventoy.net/en/doc_grub2boot.html |
grub2 mode works. maybe this could be done automatically? // detected from the name of the ISO so I could add "_grub2mode" at the end of the filename or something. |
@theoneandonly-vector It will auto use grub2 mode if the ISO file name contains |
@ventoy yes, that works perfectly! |
Hi ,I have the same problem with ubuntu 22.04 on my msi gt77 laptop. But my machine has 128G RAM. |
@123youyouer You can try grub2 mode https://www.ventoy.net/en/doc_grub2boot.html |
Thank you for your reply. |
@123youyouer |
It seems to be the same problem, just with a slightly different output. I switched to rufus and installed the system successfully. I suspect the BIOS version of the motherboard is too new to cause this. Anyway I can work now. Thank you. |
Not sure it would help, but I had this issue on a HP laptop when I maxed out the video RAM (onboard ram) in the bios. Worked properly when I went back to 64Mb |
Probably a related push request: rhboot/grub2#102 Similar bug reports: |
Official FAQ
Ventoy Version
1.0.71
What about latest release
Yes. I have tried the latest release, but the bug still exist.
BIOS Mode
UEFI Mode
Partition Style
GPT
Disk Capacity
16GB
Disk Manufacturer
EAGET
Image file checksum (if applicable)
Yes.
Image file download link (if applicable)
https://download.fedoraproject.org/pub/fedora/linux/releases/35/Workstation/x86_64/iso/Fedora-Workstation-Live-x86_64-35-1.2.iso
What happened?
I am trying to use ventoy to install fedora (or at least boot to the live environment).
I have a grub error when the image is selected:
error: ../../grub-core/kern/mm.c:376:out of memory.
I checked on several ISO.
Fedora 35 Workstation
Fedora 35 KDE
Fedora 35 Everything (netinstall)
Debian 10: No errors
Windows 10: No errors
It is reported as working (at least the workstation one):
https://www.ventoy.net/en/distro_iso/fedora.html
#1196
Hardware:
Processor Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz, 3696 Mhz, 6 Core(s), 12 Logical Processor(s)
BIOS Version/Date American Megatrends Inc. P4.30, 21-Jul-20
BaseBoard Manufacturer ASRock
BaseBoard Product B360M-ITX/ac
Secure Boot State Off
Issue Search
I saw some of Fedora 35 issue that are open, but none related to my error.
#1200
Anything I can do to have a better log / stack on that error to help find the problems?
Anything to get it to work?
The text was updated successfully, but these errors were encountered: