GRUB Bootloader Knowledge Base
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:
sudo nano /etc/default/grub
add line at the bottom of the file:
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