GRUB Bootloader Knowledge Base: Unterschied zwischen den Versionen
Matt (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Matt (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
Zeile 1: | Zeile 1: | ||
== | Knowledgebase for Grub | ||
== Update List of Operation Systems (on Debian) == | |||
Aktualisieren der Betriebssystem-Liste von GRUB2: | Aktualisieren der Betriebssystem-Liste von GRUB2: | ||
Zeile 5: | Zeile 7: | ||
'''''Wichtig:''''' Wenn mehrere GNU-OSes auf einer Festplatte installiert sind kann es sein, dass es auch mehrere GRUB-Loader gibt. Es muss also der richtige GRUB-Loader gefunden werden (sprich das Betriebssystem von dessen Festplatte/Partition muss geladen werden). Erst dort kann die aktualisierung statt finden. | '''''Wichtig:''''' Wenn mehrere GNU-OSes auf einer Festplatte installiert sind kann es sein, dass es auch mehrere GRUB-Loader gibt. Es muss also der richtige GRUB-Loader gefunden werden (sprich das Betriebssystem von dessen Festplatte/Partition muss geladen werden). Erst dort kann die aktualisierung statt finden. | ||
== Change Boot Order to Load Windows by Default (on Fedora) == | |||
on Dual Boot Installations | |||
Probably you don't want to specify a fixed boot order but rather always load the option selected the last time. This makes more sense as over time with installing updates and new kernel versions Grub boot loader gets more entries for every kernel version. | |||
Therefore it is probably easier to always load the last selected option. For this: | |||
Edit /etc/default/grub | |||
add line: | |||
GRUB_SAVEDEFAULT=true | |||
Rebuild grub.cfg with: | |||
sudo grub2-mkconfig -o /boot/grub2/grub.cfg | |||
exception: when started Fedora and installed a kernel update the kernel update will become the first boot option and on reboot will be selected. This is probably what one wants when installing updates on fedora | |||
[[Kategorie:Linux]] | [[Kategorie:Linux]] | ||
[[Kategorie:Terminal]] | [[Kategorie:Terminal]] |
Version vom 15. August 2025, 12:37 Uhr
Knowledgebase for Grub
Update List of Operation Systems (on Debian)
Aktualisieren der Betriebssystem-Liste von GRUB2:
# update-grub2
Wichtig: Wenn mehrere GNU-OSes auf einer Festplatte installiert sind kann es sein, dass es auch mehrere GRUB-Loader gibt. Es muss also der richtige GRUB-Loader gefunden werden (sprich das Betriebssystem von dessen Festplatte/Partition muss geladen werden). Erst dort kann die aktualisierung statt finden.
Change Boot Order to Load Windows by Default (on Fedora)
on Dual Boot Installations
Probably you don't want to specify a fixed boot order but rather always load the option selected the last time. This makes more sense as over time with installing updates and new kernel versions Grub boot loader gets more entries for every kernel version.
Therefore it is probably easier to always load the last selected option. For this:
Edit /etc/default/grub
add line:
GRUB_SAVEDEFAULT=true
Rebuild grub.cfg with:
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
exception: when started Fedora and installed a kernel update the kernel update will become the first boot option and on reboot will be selected. This is probably what one wants when installing updates on fedora