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

abarbarian
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

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...