Skip to content

Instantly share code, notes, and snippets.

@KavenTheriault
Last active August 27, 2020 12:57
Show Gist options
  • Save KavenTheriault/bb7f32e9979e31515f6c307ab5f1e4f4 to your computer and use it in GitHub Desktop.
Save KavenTheriault/bb7f32e9979e31515f6c307ab5f1e4f4 to your computer and use it in GitHub Desktop.
Grub - Detecting other operating systems

Detecting other operating systems

To have grub-mkconfig search for other installed systems and automatically add them to the menu.

First, install os-prober

sudo pacman -S os-prober

Then, mount the drive where the other operating system is located. I did it with thunar.

Run os-prober

sudo os-prober

Finaly, re-run grub-mkconfig

sudo grub-mkconfig -o /boot/grub/grub.cfg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment