Questions tagged [os-prober]

os-prober is a command that lists other operating systems. It is used during installation and reconfiguration to create a GRUB boot menu that shows other installed OSes as well as Ubuntu.

24 questions
108
votes
13 answers

GRUB does not detect Windows

I have finally installed Ubuntu on my second drive. When I start my computer GRUB only offers me to boot Ubuntu, not Windows 7. What needs to be done so that I can choose between Ubuntu and Windows in GRUB? When I press F12 for boot menu at startup…
HyperX
  • 1,241
  • 2
  • 10
  • 5
12
votes
0 answers

OS-prober is taking a really long time

Any time I update my GRUB configuration or install a kernel update that has the update manager update my grub configuration, the os-prober part of the configuration hangs for sometimes 10-20 minutes. I have a few partitions including windows,…
7
votes
1 answer

os-prober and update-grub find windows install, yet it does not show in boot menu

My system runs Ubuntu 21.04. I recently moved the system from an old SSD to a new M.2 drive, using Clonezilla. In that process, I needed to run update-grub. The system boots up fine, but I cannot choose to boot the Windows 10 install I have on…
4
votes
2 answers

os-prober doesn't find Arch Linux until I manually mount Arch Linux partition

Title says everything. Here is output of Boot info script: http://paste.ubuntu.com/1169338/ sudo os-prober returns only Windows partition: sudo os-prober /dev/sda2:Windows 7 (loader):Windows:chain If I manually mount Arch Linux partition with…
kv1dr
  • 1,381
4
votes
1 answer

Just installed Ubuntu 22.04 on a dual-boot setup, now my other OS isn't showing up

I just installed Ubuntu 22.04 on my system in a dual-boot configuration. In the past, when I did this with Ubuntu 20.04, a GRUB boot menu would show up at each boot, allowing me to choose which OS to boot. However, this doesn't happen anymore - I am…
ArrayBolt3
  • 7,292
3
votes
1 answer

os-prober does not return Windows 10 on another drive

I'm 1-day old to Linux, so excuse me if my question is not very clear! I have my Windows 10 on HDD. I added an SSD and installed Ubuntu on it. Both boot perfect except Windows is always the default and have to press F12 and select to boot from SSD…
Majid
  • 51
3
votes
2 answers

How to bypass or stop the very long run times of grub2/os-prober?

Whenever I upgrade Ubuntu 16.04 and there is a kernel upgrade, the update process takes a very long time when running (os-prober) and also generates the grub configuration multiple times. And for some inexplicable reason to me it runs more than…
3
votes
2 answers

os-prober and update-grub can't see/find working Windows install

I have installed 12.04 next to a Windows 7 install, on a partitioned 3 TB hard disk. If I use F12 during boot to review boot options from the BIOS, Windows 7 and Ubuntu boot normally, but the Ubuntu GRUB only gives me Ubuntu options. When I try…
JeanSibelius
  • 3,682
2
votes
1 answer

OS-Prober not recognized!

So due to some shenanigans with trying to get rid of all traces of grub-customizer, I accidentally hit "delete" an extra time while in a root nautilus, and deleted my os-prober script in /etc/grub.d/30_os-prober. So I was about to freak out and come…
2
votes
1 answer

Grub doesn't detect Windows 10 and os-prober shows no output (tried existing solutions)

I'm facing an issue with Grub not detecting my Windows 10 installation. I have come across a similar question on this forum, but unfortunately, the suggested solutions haven't worked for me. When I run sudo fdisk -l, the following output is…
1
vote
0 answers

How to repair grub to work with multiple hard drives?

On my computer I have multiple hard drives. One of them has Ubuntu 14.10 and the other has Windows 8.1. I messed up my boot loader and know only Ubuntu appears in the grub list. Windows 8.1 is on the first hard-drive, and Ubuntu is on the second.…
1
vote
2 answers

Windows 7 doesn't show in GRUB menu

I have dual boot with Ubuntu and Windows 7. I needed to reinstall W7 and after that I reinstalled grub so that I could access both Ubuntu and W7. Unfortunately my GRUB menu doesn't show W7. I tried update-grub, I also tried os_prober and then…
Formaiko
  • 13
  • 3
1
vote
1 answer

How can I set kernel parameters for a specific installation involving os-prober?

Beside Ubuntu i also have an Arch installation. I plan to maintain the grub-configuration from my Ubuntu. The whole update-grub - grub-mkconfig - os-prober-chain works just fine. I know I can set GRUB_CMDLINE_LINUX for options to be passed to the…
1
vote
3 answers

os-prober fails to identify a linux system so I need to write a custom grub2 menu entry as a workaround, how?

I want to add a custom menu to grub2 like this (as /etc/grub.d/40_custom): #!/bin/sh exec tail -n +3 $0 # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not…
1
vote
0 answers

18.04: Does os-prober work well for kernel v5?

os-prober on an Ubuntu 18 instance using the Google Compute Engine (image: ubuntu-minimal-1804-bionic-v20200220 - "Canonical, Ubuntu, 18.04 LTS Minimal, amd64 bionic minimal image built on 2020-02-20") returns an unexpected partition: #…
John
  • 133
1
2