# Warnung beim Update mit Btrfs

**URL:** <https://forum.endeavouros.com/t/warnung-beim-update-mit-btrfs/33478>\
**Category:** EOS Deutsch\
**Created:** [November 2, 2022, 9:56pm UTC](https://forum.endeavouros.com/t/warnung-beim-update-mit-btrfs/33478 "2022-11-02T21:56:06Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon50380917](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/b9bd4f/32.png) [@anon50380917](https://forum.endeavouros.com/u/anon50380917)\
**Post date:** [November 2, 2022, 9:56pm UTC](https://forum.endeavouros.com/t/warnung-beim-update-mit-btrfs/33478/1 "2022-11-02T21:56:06Z")

</div>

Beim Update mit yay auf btrfs, welches ich erst seit ein paar Tagen benutze und noch nicht so ganz durchsehe, erhalte ich immer folgende Warung:

```auto
Warnung: Zur Erkennung anderer bootfähiger Partitionen wird os-prober nicht ausgeführt.
Die darauf befindlichen Systeme werden nicht zur GRUB-Bootkonfiguration hinzugefügt.
Schauen Sie in den Dokumentationseintrag GRUB_DISABLE_OS_PROBER.
Bootmenü-Eintrag für UEFI-Firmware-Einstellungen wird hinzugefügt …
Detecting snapshots ...

```

Nun habe ich aber auch außer EOS KDE kein weiteres System auf diesem Rechner installiert. Wie bekomme ich diese Warnung weg, bzw. was ist davon zu halten?

---

<div class="post-metadata">

**Author:** ![joekamprad](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/joekamprad/32/77608_2.png) [@joekamprad](https://forum.endeavouros.com/u/joekamprad)\
**Post date:** [November 2, 2022, 10:10pm UTC](https://forum.endeavouros.com/t/warnung-beim-update-mit-btrfs/33478/2 "2022-11-02T22:10:53Z")

</div>

Diese Meldung bekommst du nur dann wenn du grub-mkconfig ausführst, und ist wie die meisten Warnungen nichts was falsch ist.

Wo das “Problem” eher daran liegt das es ausgeführt wird … könnte daran liegen das du die aussortierten Grub-Tools noch installiert hast?  
`yay -Qs grub`

Denn `grub-mkconfig` sollte nur ausgeführt weden wenn du kernel oder kernel optionen hinzufügst oder entfernst, und wenn das grub Paket ein update erhält zusammen mit `grub-install --no-nvram`

---

<div class="post-metadata">

**Author:** ![anon50380917](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/b9bd4f/32.png) [@anon50380917](https://forum.endeavouros.com/u/anon50380917)\
**Post date:** [November 2, 2022, 10:13pm UTC](https://forum.endeavouros.com/t/warnung-beim-update-mit-btrfs/33478/3 "2022-11-02T22:13:28Z")

</div>

> [@joekamprad](#):
>
> könnte daran liegen das du die aussortierten Grub-Tools noch installiert hast?

```auto
[uwe@HAL ~]$ yay -Qs grub
local/grub 2:2.06.r334.g340377470-1
GNU GRand Unified Bootloader (2)
local/grub-btrfs 4.11-2
Include btrfs snapshots in GRUB boot options
local/snap-pac-grub 2.0.2-1
Pacman hook to update GR

```

Das ganze ist ne Neuinstallation mit Btrfs, also nichts mit Altlasten. Habe aber noch den btrfs-assistant installiert.

---

<div class="post-metadata">

**Author:** ![joekamprad](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/joekamprad/32/77608_2.png) [@joekamprad](https://forum.endeavouros.com/u/joekamprad)\
**Post date:** [November 2, 2022, 10:18pm UTC](https://forum.endeavouros.com/t/warnung-beim-update-mit-btrfs/33478/4 "2022-11-02T22:18:14Z")

</div>

> [@anon50380917](#):
>
> ```auto
> local/grub-btrfs 4.11-2
> Include btrfs snapshots in GRUB boot options
> 
> ```

Das wird das machen 😉

Da es vor jedem update einen snapshot erstellt und einenmenü Eintrag zu 🪱 hin zu fügt…

---

<div class="post-metadata">

**Author:** ![anon50380917](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/b9bd4f/32.png) [@anon50380917](https://forum.endeavouros.com/u/anon50380917)\
**Post date:** [November 2, 2022, 10:19pm UTC](https://forum.endeavouros.com/t/warnung-beim-update-mit-btrfs/33478/5 "2022-11-02T22:19:58Z")

</div>

Also kann ich da nichts machen?

Was hat es mit diesem os-prober auf sich?

---

<div class="post-metadata">

**Author:** ![joekamprad](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/joekamprad/32/77608_2.png) [@joekamprad](https://forum.endeavouros.com/u/joekamprad)\
**Post date:** [November 2, 2022, 10:27pm UTC](https://forum.endeavouros.com/t/warnung-beim-update-mit-btrfs/33478/6 "2022-11-02T22:27:25Z")

</div>

os-prober ist eben das tool das seit 749 Jahren von Grub benutzt wurde um andere Betriebsysteme zu erkennen und zum boot Menü zuzufügen.. ober auch sehr problematisch.. also nicht zu empfehlen einfach laufen zu lassen nur um die Warnung weg zu bekommen.

> [@Warning: os-prober will not be executed to detect other bootable partitions. Systems on them will not be added to the GRUB boot configuration. Check GRUB\_DISABLE\_OS\_PROBER documentation entry](https://forum.endeavouros.com/t/warning-os-prober-will-not-be-executed-to-detect-other-bootable-partitions-systems-on-them-will-not-be-added-to-the-grub-boot-configuration-check-grub-disable-os-prober-documentation-entry/13998/17):
>
> I had it happen on mine on an Arch install that i got these messages when grub updated.

---

<div class="post-metadata">

**Author:** ![anon50380917](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/b9bd4f/32.png) [@anon50380917](https://forum.endeavouros.com/u/anon50380917)\
**Post date:** [November 2, 2022, 10:31pm UTC](https://forum.endeavouros.com/t/warnung-beim-update-mit-btrfs/33478/7 "2022-11-02T22:31:09Z")

</div>

Kann man damit Ordnung rein bringen?

```auto
GRUB_DISABLE_OS_PROBER

```

---

<div class="post-metadata">

**Author:** ![joekamprad](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/joekamprad/32/77608_2.png) [@joekamprad](https://forum.endeavouros.com/u/joekamprad)\
**Post date:** [November 2, 2022, 11:40pm UTC](https://forum.endeavouros.com/t/warnung-beim-update-mit-btrfs/33478/8 "2022-11-02T23:40:24Z")

</div>

nein 😉

Weil es ein Argument benötigt… “default” wäre das diese Option nicht in der /etc/default/grub aktiv is also auskommentiert.

> ‘GRUB\_DISABLE\_OS\_PROBER’
> 
> The `grub-mkconfig` has a feature to use the external `os-prober` program to discover other operating systems installed on the same machine and generate appropriate menu entries for them. It is disabled by default since automatic and silent execution of `os-prober`, and creating boot entries based on that data, is a potential attack vector. Set this option to ‘false’ to enable this feature in the `grub-mkconfig` command.

also wenn nichts in der grub config steht ist os-prober deaktiviert weil das der grub default ist.

`# GRUB_DISABLE_OS_PROBER=true`  
wäre der default Eintrag…

Bin mir gerade nicht sicher was da standardmäßig bei EndeavourOS steht also ob es kommentieret ist oder unkommentiert?

---

<div class="post-metadata">

**Author:** ![anon50380917](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/b9bd4f/32.png) [@anon50380917](https://forum.endeavouros.com/u/anon50380917)\
**Post date:** [November 2, 2022, 11:45pm UTC](https://forum.endeavouros.com/t/warnung-beim-update-mit-btrfs/33478/9 "2022-11-02T23:45:48Z")

</div>

Bei mir steht es so:

```auto
#GRUB_DISABLE_OS_PROBER=false

```

Und das sollte default sein, weil ich nach der Neuinstallation nichts geändert habe.

---

<div class="post-metadata">

**Author:** ![arcDaniel](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/arcdaniel/32/67569_2.png) [@arcDaniel](https://forum.endeavouros.com/u/arcDaniel)\
**Post date:** [November 3, 2022, 6:24am UTC](https://forum.endeavouros.com/t/warnung-beim-update-mit-btrfs/33478/10 "2022-11-03T06:24:36Z")

</div>

Ich nutze snap-pac-grub nicht, da mir die timeline snapshots reichen und dies einfach über den btrfs-assistant konfigurierbar ist. (zusammen mit grub-btrfs, damit ich die snapshots von grub wählen und starten kann)

Ich bekomme jedenfalls keine Warnungen angezeigt. Denke hier pfuscht snap-pac-grub mit rein.

OS Prober ist wie schon erwähn eine funktion von Grub um nicht Linux Systeme zu erkennen und auswählbar zu machen. Also wenn du keine Dualboot mit Windows nutzt, brauchst du es nicht.

Da bei dir ein # davor steht ist die Option sowieso deaktiviert.

Würde mir hier keine sorgen machen.
