Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung | |||
admin_grundlagen:bootloader [2023/09/28 09:06] ingo_wichmann [Grub2 mit Passwort absichern] |
admin_grundlagen:bootloader [2023/10/11 14:32] (aktuell) natureshadow2 Anpassung für RockyLinux |
||
---|---|---|---|
Zeile 74: | Zeile 74: | ||
)) | )) | ||
- | == Passwort Hash erzeugen == | + | == Passwort-Hash erzeugen == |
- | CentOS (ab 7), openSuSE Leap (ab 15.1): | + | CentOS (ab 7), Rocky, openSuSE Leap (ab 15.1): |
grub2-mkpasswd-pbkdf2 | grub2-mkpasswd-pbkdf2 | ||
Zeile 94: | Zeile 94: | ||
chmod +x /etc/grub.d/45_password | chmod +x /etc/grub.d/45_password | ||
- | == Auswahl ermöglichen, editieren absichern == | + | == Auswahl ermöglichen, editieren absichern (Standard auf Rocky)== |
<file txt /etc/grub.d/10_linux> | <file txt /etc/grub.d/10_linux> | ||
... | ... | ||
Zeile 107: | Zeile 107: | ||
grub-mkconfig -o /boot/grub/grub.cfg | grub-mkconfig -o /boot/grub/grub.cfg | ||
- | CentOS (ab 7), openSuSE (ab Leap 15.1): | + | CentOS (ab 7), Rocky, openSuSE (ab Leap 15.1): |
grub2-mkconfig -o /boot/grub2/grub.cfg | grub2-mkconfig -o /boot/grub2/grub.cfg | ||
Zeile 116: | Zeile 116: | ||
CentOS (8) | CentOS (8) | ||
grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg | grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg | ||
+ | |||
+ | Rocky | ||
+ | grub2-mkconfig -o /boot/efi/EFI/rocky/grub.cfg | ||
== testen == | == testen == |