Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [EN] Windows has disappeared from grub  (Read 1058 times)

Offline shab

  • User
  • Posts: 10
[EN] Windows has disappeared from grub
« on: 2023/05/02, 22:07:19 »
Windows has disappeared from grub after full upgrade

What can I do that grub lists windows again?

Online towo

  • Administrator
  • User
  • *****
  • Posts: 2.872
Re: Windows has disappeared from grub
« Reply #1 on: 2023/05/02, 22:24:44 »
Code: [Select]
cat /etc/default/grub
cat/etc/default/grub.d/siduction.cfg


Shows what?
« Last Edit: 2023/05/02, 22:59:24 by towo »
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

Offline der_bud

  • User
  • Posts: 1.061
  • member
Re: Windows has disappeared from grub
« Reply #2 on: 2023/05/02, 22:28:27 »
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.

Offline shab

  • User
  • Posts: 10
Re: Windows has disappeared from grub
« Reply #3 on: 2023/05/03, 13:02:48 »
Code: [Select]
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!

Offline edlin

  • User
  • Posts: 461
Re: Windows has disappeared from grub
« Reply #4 on: 2023/05/03, 18:32:01 »
Code: [Select]
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

Der Kluge lernt aus allem und von jedem,
der Normale aus seinen Erfahrungen
und der Dumme weiß alles besser.

Sokrates