Why Won’t GRUB detect my other OSes?

Why Won’t GRUB detect my other OSes?

Revision for “Why Won’t GRUB detect my other OSes?” created on May 23, 2023 @ 21:54:04

Title
Why Won't GRUB detect my other OSes?
Content
<h3><strong>GRUB is not detecting my other existing Operating Systems on my computer, what can I do?</strong></h3> <strong>This has to do with os-prober being disabled by default (for security reasons) within the version of GRUB that is included with Bodhi Linux 7.0.</strong> Starting with Ubuntu 22.04, the base of Bodhi Linux 7.0, the included bootloader (GRUB 2.06) has os-prober turned off by default for security reasons. This is to help prevent attacks to your system from unauthorized drives that could otherwise be connected, booted with malicious content or intent, etc.. <em>For source and for further information, please see: <a href="https://www.gnu.org/software/grub/manual/grub/html_node/Simple-configuration.html#Simple-configuration">https://www.gnu.org/software/grub/manual/grub/html_node/Simple-configuration.html#Simple-configuration</a></em>. <h3><strong>I have other Operating Systems installed and would like GRUB to detect them however...</strong></h3> <strong>Have no fear, there is a work-around!</strong> To re-enable os-prober in Bodhi Linux, open <a href="https://www.bodhilinux.com/w/terminology/">Terminology</a> (the default terminal emulator for Bodhi Linux) and run: <pre>sudo leafpad /etc/default/grub</pre> to edit the <code>grub-mkconfig</code> configuration file within <a href="https://www.bodhilinux.com/a/leafpad/">Leafpad</a> (Bodhi Linux’s default text editor). <em>Note: because you are attempting to run a command as sudo [super user, do], you will be prompted to enter your password before the file opens – your password will not appear as you type nor will any other characters; this is a default Linux behavior for security reasons).</em> Once grub-mkconfig is open for editing within Leafpad, add the following line to the file: <pre>GRUB_DISABLE_OS_PROBER=false</pre> Then save the file and close Leafpad. Back in Terminology, run: <pre>sudo grub-mkconfig -o /boot/grub/grub.cfg</pre> This will update your GRUB configuration and boot menu to probe any additional drive that may be attached to your system. Exit Terminology. GRUB should now detect your other drives upon system restart! Nice work! Back to <a href="https://www.bodhilinux.com/w/installation-instructions/">Installation Instructions</a> <a href="https://www.bodhilinux.com/">Bodhi Linux Home</a> <a href="https://www.bodhilinux.com/w/wiki/">Bodhi Linux – Wiki Home Page</a> <a href="https://www.bodhilinux.com/w/bodhi-linux-how-to/">Bodhi Linux – Wiki Table of Contents</a>
Excerpt


OldNewDate CreatedAuthorActions
May 23, 2023 @ 21:54:04 oblio
May 23, 2023 @ 21:47:57 oblio
May 23, 2023 @ 21:43:48 oblio
May 23, 2023 @ 21:43:45 [Autosave] oblio
May 23, 2023 @ 21:21:53 oblio