Windows has disappeared from grub

Started by shab, 2023/05/02, 22:07:19

Previous topic - Next topic

shab

Windows has disappeared from grub after full upgrade

What can I do that grub lists windows again?

towo

#1
cat /etc/default/grub
cat/etc/default/grub.d/siduction.cfg



Shows what?
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

der_bud

There has been a grub update recently, apt should have asked you if you want to install new /etc/default/grub file or keep current. Look if you have /etc/default/grub.dpkg-old and compare the contents.
I assume it could be that the line '#GRUB_DISABLE_OS_PROBER=false' got commented, such os-prober will not run to search for other OS on other partitions during update-grub.
Du lachst? Wieso lachst du? Das ist doch oft so, Leute lachen erst und dann sind sie tot.

shab

Quote from: towo on 2023/05/02, 22:24:44
cat /etc/default/grub
cat/etc/default/grub.d/siduction.cfg



Shows what?
bash: cat/etc/default/grub.d/siduction.cfg: Datei oder Verzeichnis nicht gefunden

But, like Offline der_bud assumed '#GRUB_DISABLE_OS_PROBER=false' got commented. I removed the commend ran an grub update and now windows is an option in the grub menue again.


THX for the help!

edlin

Quote from: shab on 2023/05/03, 13:02:48
Quote from: towo on 2023/05/02, 22:24:44
cat /etc/default/grub
cat/etc/default/grub.d/siduction.cfg



Shows what?
bash: cat/etc/default/grub.d/siduction.cfg: Datei oder Verzeichnis nicht gefunden
@towo had forgotten a whitespace between the cat command and the rest of the line.

But your problem has been solved in the meantime.

edlin

,,Ein kluger Mann macht nicht alle Fehler selber. Er lässt auch anderen eine Chance."

Winston Churchill