LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-02-2024, 02:39 PM   #1
AllanP
Member
 
Registered: Jun 2007
Location: Nanoose Bay, B.C. Canada
Distribution: Mint, Ubuntu, Fedora, Debian, Win10, Win 11
Posts: 104

Rep: Reputation: 15
Out or memory


Debain has Grub and when I select Mint to load I get the message "Error: Out of memory hit any key to continue" hitting any key does nothing only Ctrl Alt Delete to reboot. I tried a few more times then switched to Ubuntu and took control of Grub. Rebooted and selected Mint and it loaded fine.
Edit: Also on that subject Debian Grub doesn't recognise Windows 11. This is on laptop; where on PC with W10 it loads fine. This may have something to do with UEFI; not sure though.
It is the PC Debian with Grub error message.

Last edited by AllanP; 01-02-2024 at 03:06 PM.
 
Old 01-02-2024, 03:32 PM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,811
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
You have not made it clear what problem you are trying to solve.

Debian, in accordance with Grub upstream, switched to not by default including Windows in its Grub menu. You can easily change that by editing /etc/default/grub to include GRUB_DISABLE_OS_PROBER="false" (instead of true), and then regenerating grub.cfg. Due to this upstream switch, more distros are probably making the same change. On UEFI systems this is a minor issue, because boot selection of OS can be made via the UEFI BIOS BBS menu.

The out of memory is error is commonly encountered when there are multiple versions of Grub on the installed system. Only one Grub is actually needed per PC or laptop if GRUB_DISABLE_OS_PROBER="true" is employed on the installed Grub, and/or if optional features of Grub are appropriately configured.
 
Old 01-02-2024, 03:58 PM   #3
AllanP
Member
 
Registered: Jun 2007
Location: Nanoose Bay, B.C. Canada
Distribution: Mint, Ubuntu, Fedora, Debian, Win10, Win 11
Posts: 104

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by mrmazda View Post
You have not made it clear what problem you are trying to solve.

Debian, in accordance with Grub upstream, switched to not by default including Windows in its Grub menu. You can easily change that by editing /etc/default/grub to include GRUB_DISABLE_OS_PROBER="false" (instead of true), and then regenerating grub.cfg. Due to this upstream switch, more distros are probably making the same change. On UEFI systems this is a minor issue, because boot selection of OS can be made via the UEFI BIOS BBS menu.

The out of memory is error is commonly encountered when there are multiple versions of Grub on the installed system. Only one Grub is actually needed per PC or laptop if GRUB_DISABLE_OS_PROBER="true" is employed on the installed Grub, and/or if optional features of Grub are appropriately configured.
default/grub OS_Prober was set to false.

On the error message: All was fine last time I booted Mint and I don't think I did anything to cause it. I did update-grub in Debian but that didn't help. I have Grub on Ubunru and it's fine there. Thanks for the help
 
Old 01-02-2024, 09:14 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,129

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Caveat: I use neither Debian nor Ubuntu.

I note this error report from early '23, but later reports included as well. I wonder if Debian has regressed (or never implemented) the fix ...
 
Old 01-15-2024, 10:45 AM   #5
mrapathy
Member
 
Registered: Nov 2005
Distribution: Slackware,Debian
Posts: 366

Rep: Reputation: 66
what happens when you use bios boot menu if you have one. key to access it varies per system. f10 or f12 though could be something else.

how much free space you got in your uefi boot partition? seen the problem before with old boot mbr on platter drives with large kernel either corrupt or too big for mbr.

after changing the os prober setting you need to run sudo update-grub

Last edited by mrapathy; 01-15-2024 at 10:47 AM.
 
Old 01-15-2024, 11:12 AM   #6
AllanP
Member
 
Registered: Jun 2007
Location: Nanoose Bay, B.C. Canada
Distribution: Mint, Ubuntu, Fedora, Debian, Win10, Win 11
Posts: 104

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by mrapathy View Post
what happens when you use bios boot menu if you have one. key to access it varies per system. f10 or f12 though could be something else.

how much free space you got in your uefi boot partition? seen the problem before with old boot mbr on platter drives with large kernel either corrupt or too big for mbr.

after changing the os prober setting you need to run sudo update-grub
Yes I can select Ubuntu or Windows in Boot menu; not necessary though. All I did was select Ubuntu in Demian's Grub and give Grub to Ubuntu where all four OS's boot fine. So it really isn't a problem, but I like to try and figure out these glitches.
My EFI on sda1 has 1GB and 40.56 MiB used. Yes aware of updating Grub.
 
Old 01-15-2024, 11:35 AM   #7
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,517

Rep: Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493
Quote:
My EFI on sda1 has 1GB and 40.56 MiB used.
Does your EFI partition have directories named Microsoft, ubuntu and debian? Are all of these OS's on the same physical hard drive?
 
Old 01-15-2024, 11:49 AM   #8
AllanP
Member
 
Registered: Jun 2007
Location: Nanoose Bay, B.C. Canada
Distribution: Mint, Ubuntu, Fedora, Debian, Win10, Win 11
Posts: 104

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by yancek View Post
Does your EFI partition have directories named Microsoft, ubuntu and debian? Are all of these OS's on the same physical hard drive?
Have deleted former input as was on wrong computer. So on laptop Debian grub worked fine; on PC now and using Ubuntu for Grub. So yes all on the same drive. 1GB EFI on sda1 flagged "esp boot". Upped from a on to 2 TB ssd.
Only 58 MiB's used on EFI out of 1GB.
Attached Thumbnails
Click image for larger version

Name:	PC_Partitions.png
Views:	5
Size:	59.3 KB
ID:	42413  

Last edited by AllanP; 01-15-2024 at 05:40 PM. Reason: A senior's moment. Wrong computer
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Out of memory (OOM killer) - what is causing my memory issue? gombi Linux - Server 21 06-10-2015 03:42 PM
Live DVD runs out of memory - using swap - free memory doesn't help at upgrade .... LiNuXkOlOnIe Linux - Distributions 3 06-09-2013 09:35 PM
Out Of Memory problems. My server is down. Memory logs attached. guarriman Linux - General 7 06-10-2008 07:46 AM
Difference between resident memory,shared memory and virtual memory in system monitor mathimca05 Linux - Newbie 1 11-11-2007 04:05 AM
Help!?! RH 8 Memory Mapping -High Memory-Virtural Memory issues.. Merlin53 Linux - Hardware 2 06-18-2003 04:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration