Jump to content

Grub OS-Prober Disabled by Default on Arch and Most Derivatives


mhbell

Recommended Posts

Grub OS-Prober Disabled by Default on Arch and Most Derivatives Like Manjaro, Endevour, and others. I discovered this when I installed Endevour with grub.; The OS-Prober is disabled by default for security reasons. Here is how to enable it.

add or uncomment ( GRUB_DISABLE_OS_PROBER=false) in Grub Config file save that file then run
(sudo update-grub or sudo grub-mkconfig -o /boot/grub/grub.cfg) sudo update-grub did not work for me, but sudo grub-mkconfig -o /boot/grub/grub.cfg did work and now grubs os-prober and grub works.

Mel

Link to comment
Share on other sites

Quote
os-prober is inherently insecure as it mounts all partitions
on your disk using grub-mount to check them for other OS,
which is not a nice thing to do as root as you can exploit
bugs in the filesystem code easily.

 

This looks like a good reason to stop using grub  if you are just using UEFI distros. 😎

  • Like 1
Link to comment
Share on other sites

37 minutes ago, abarbarian said:

 

This looks like a good reason to stop using grub  if you are just using UEFI distros. 😎

 

Not really. In Debian Bookworm you just need to edit one line to

GRUB_DISABLE_OS_PROBER=false

then update-grub

  • Like 1
Link to comment
Share on other sites

On 9/10/2023 at 3:57 PM, abarbarian said:

 

This looks like a good reason to stop using grub  if you are just using UEFI distros. 😎

Would you elaborate pls all of my distros are UEFI with GPT partitioning and I am multi booting all Linux no Windows.

Mel

 

Link to comment
Share on other sites

16 hours ago, mhbell said:

Would you elaborate pls all of my distros are UEFI with GPT partitioning and I am multi booting all Linux no Windows.

Mel

 

you are an ideal candidate to be using rEFInd as your boot manager, and would have solved your initial problem, I think.  I'm also a candidate and I'm interested, but haven't had a chance to sit down long enough, read up, digest, and implement.  The resident expert here is Abarbarian, who I hope will be along shortly to tell you about it!  Stay tuned...

Link to comment
Share on other sites

I've used rEFind several times and just don't care for it and their graphical display. I like the grub display better and always change grub to a 640x480 display. if rEFind could do that I might reconsider.

Mel

 

Link to comment
Share on other sites

19 hours ago, mhbell said:

I've used rEFind several times and just don't care for it and their graphical display. I like the grub display better and always change grub to a 640x480 display. if rEFind could do that I might reconsider.

Mel

 

Your choice brutha!  I love that about linux!

Link to comment
Share on other sites

On 9/18/2023 at 6:33 PM, mhbell said:

I've used rEFind several times and just don't care for it and their graphical display. I like the grub display better and always change grub to a 640x480 display. if rEFind could do that I might reconsider.

Mel

 

In the rEFInd .conf you can change these items to obtain something resembling what you desire.

 

Quote

Use text mode only. When enabled, this option forces rEFInd into text mode.
# Passing this option a "0" value causes graphics mode to be used. Pasing
# it no value or any non-0 value causes text mode to be used.
# Default is to use graphics mode.
#
textonly

 

Set the EFI text mode to be used for textual displays. This option
# takes a single digit that refers to a mode number. Mode 0 is normally
# 80x25, 1 is sometimes 80x50, and higher numbers are system-specific
# modes. Mode 1024 is a special code that tells rEFInd to not set the
# text mode; it uses whatever was in use when the program was launched.
# If you specify an invalid mode, rEFInd pauses during boot to inform
# you of valid modes.
# CAUTION: On VirtualBox, and perhaps on some real computers, specifying
# a text mode and uncommenting the "textonly" option while NOT specifying
# a resolution can result in an unusable display in the booted OS.
# Default is 1024 (no change)
#
textmode 20000
 

 

You might have to play around with those to get exactly what you want. 😎

Edited by abarbarian
  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...