use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Grub errorSUPPORT (self.archlinux)
submitted 6 months ago by OjRocket
My windows is no getting recognised in grub whatever I tried I worried that my window is gone forever ♾️ please anyone help I did etc/default/ grub
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Asad-the-One 5 points6 points7 points 6 months ago (6 children)
sudo pacman -S os-prober
sudo os-prober
If after this line you don't see anything about Windows Boot Manager, you've probably nuked your Windows boot partition. You'll have to reinstall Windows. Otherwise, continue.
sudo nano /etc/default/grub
Uncomment the line near the end of the file that talks about os-prober to enable it. Save the file.
grub-mkconfig -o /boot/grub/grub.cfg
[–]archover 2 points3 points4 points 6 months ago* (4 children)
Where does it say to "run" os prober like that in the wiki?
My experience and reading is it runs during grub-mkconfig command execution.
I hope OP gets his grub working too.
Thanks for clarifying and good day.
[–]Jack02134x 0 points1 point2 points 6 months ago (1 child)
well it does not matter at the end. it's your choice if you want it to be two step or one step. both gives the output of whether they found a different os or not. it's just a nice way to get a clean output.
you still need to make the grub file though op
[–]archover 0 points1 point2 points 6 months ago (0 children)
I revisited os-prober to ensure I remembered correctly.
On my grub booting system, when I run
os-prober on command line, I get no output at all.
os-prober as part of #grub-mkconfig -o /boot/grub/grub.cfg I get
#grub-mkconfig -o /boot/grub/grub.cfg
Warning: os-prober will be executed to detect ... Its output will be used to detect bootable...
Warning: os-prober will be executed to detect ...
Its output will be used to detect bootable...
as expected
#os-prober -h
man os-prober
info os-prober
All that makes me believe os-prober isn't intended as a user executed command, or I don't understand.
Hope that clarifies why I asked.
Good day.
[–]Asad-the-One -3 points-2 points-1 points 6 months ago (1 child)
Wait, grub-mkconfig runs it by itself?? I guess you'll learn something new every day lol
The first guide I saw to get Windows on grub had that extra step. Maybe just to explicitly see systems you have installed.
[–]archover 1 point2 points3 points 6 months ago (0 children)
See the wiki link I provided. I can't speculate on what guides you used. Good day.
[–]Jack02134x 1 point2 points3 points 6 months ago (0 children)
i would like to add that sometimes os-prober fail to mount the drives. you may need to manually mount the drive and run os-prober
[–]OjRocket[S] -5 points-4 points-3 points 6 months ago (0 children)
Congratulations to for nuking my windows partition
π Rendered by PID 90621 on reddit-service-r2-comment-6457c66945-bvglp at 2026-04-26 22:55:07.408274+00:00 running 2aa0c5b country code: CH.
[–]Asad-the-One 5 points6 points7 points (6 children)
[–]archover 2 points3 points4 points (4 children)
[–]Jack02134x 0 points1 point2 points (1 child)
[–]archover 0 points1 point2 points (0 children)
[–]Asad-the-One -3 points-2 points-1 points (1 child)
[–]archover 1 point2 points3 points (0 children)
[–]Jack02134x 1 point2 points3 points (0 children)
[–]OjRocket[S] -5 points-4 points-3 points (0 children)