mhbell Posted September 10, 2023 Posted September 10, 2023 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 Quote
securitybreach Posted September 10, 2023 Posted September 10, 2023 Ubuntu as well since 2021 https://www.omgubuntu.co.uk/2021/12/grub-doesnt-detect-windows-linux-distros-fix Quote
securitybreach Posted September 10, 2023 Posted September 10, 2023 Also on debian https://www.reddit.com/r/debian/comments/16ceptl/grub_osprober_gets_disabled_every_time_the_grub/ Quote
securitybreach Posted September 10, 2023 Posted September 10, 2023 This could be coming from Grub upsteam.. Yup, talking about it on this post https://lists.ubuntu.com/archives/ubuntu-devel/2021-December/041769.html 1 Quote
abarbarian Posted September 10, 2023 Posted September 10, 2023 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. 1 Quote
sunrat Posted September 10, 2023 Posted September 10, 2023 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 1 Quote
mhbell Posted September 17, 2023 Author Posted September 17, 2023 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 Quote
Hedon James Posted September 18, 2023 Posted September 18, 2023 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... Quote
mhbell Posted September 18, 2023 Author Posted September 18, 2023 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 Quote
Hedon James Posted September 19, 2023 Posted September 19, 2023 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! Quote
abarbarian Posted September 24, 2023 Posted September 24, 2023 (edited) 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 September 24, 2023 by abarbarian 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.