admin_grundlagen:bootloader
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
| Beide Seiten, vorherige ÜberarbeitungVorherige ÜberarbeitungNächste Überarbeitung | Vorherige Überarbeitung | ||
| admin_grundlagen:bootloader [2024/10/10 13:11] – [Grub2 mit Passwort absichern] natureshadow2 | admin_grundlagen:bootloader [2026/05/02 13:04] (aktuell) – ingo_wichmann | ||
|---|---|---|---|
| Zeile 9: | Zeile 9: | ||
| ''/ | ''/ | ||
| + | grub2-mkconfig | grub2-script-check | ||
| grub2-mkconfig --output=/ | grub2-mkconfig --output=/ | ||
| - | === debian | + | === Debian |
| - | '' | + | <file txt / |
| - | + | GRUB_CMDLINE_LINUX_DEFAULT=" | |
| - | Zeile '' | + | GRUB_GFXMODE=1024x768 |
| + | </ | ||
| ''/ | ''/ | ||
| Zeile 54: | Zeile 56: | ||
| ==== Grub2 mit Passwort absichern ==== | ==== Grub2 mit Passwort absichern ==== | ||
| === Root Passwort ändern === | === Root Passwort ändern === | ||
| - | Grub Bootprompt: '' | + | Grub Bootprompt: |
| + | * '' | ||
| + | oder | ||
| + | * '' | ||
| man bootparam | man bootparam | ||
| )) | )) | ||
| Zeile 70: | Zeile 75: | ||
| === Grub absichern === | === Grub absichern === | ||
| - | (( Weitere Absicherungsmöglichkeiten: | + | (( Unter Rocky Linux (ab 9) geht das einfacher: |
| + | grub2-setpassword | ||
| + | |||
| + | Bei anderen Distributionen: | ||
| + | |||
| + | <file txt / | ||
| + | set superusers=" | ||
| + | password_pbkdf2 root grub.pbkdf2.sha512.10000.FF73A777C6793E117430446F4D12F00D25DA53515B5048B1DAAA0688743550226CD05AD661EBDCA2AA1997AEBDC0C35C74CA48C9309FBED1C201C5875E3AD2E8.292A1642CB109860054562756A5AE950975B586A8DFDE535F566D1ADDCC6747349406E84862FFD9258F64268A36E63EF25A41A3CC0CD6291E63D98CEDDF00FE6 | ||
| + | </ | ||
| + | |||
| + | In diesem Fall muss danach kein update-grub ausgeführt werden | ||
| + | |||
| + | |||
| + | |||
| + | Weitere Absicherungsmöglichkeiten: | ||
| http:// | http:// | ||
| )) | )) | ||
| Zeile 93: | Zeile 112: | ||
| chmod +x / | chmod +x / | ||
| - | |||
| - | Alternativ einfach in / | ||
| - | |||
| - | <file txt / | ||
| - | set superusers=" | ||
| - | password_pbkdf2 root grub.pbkdf2.sha512.10000.FF73A777C6793E117430446F4D12F00D25DA53515B5048B1DAAA0688743550226CD05AD661EBDCA2AA1997AEBDC0C35C74CA48C9309FBED1C201C5875E3AD2E8.292A1642CB109860054562756A5AE950975B586A8DFDE535F566D1ADDCC6747349406E84862FFD9258F64268A36E63EF25A41A3CC0CD6291E63D98CEDDF00FE6 | ||
| - | </ | ||
| == Auswahl ermöglichen, | == Auswahl ermöglichen, | ||
| Zeile 117: | Zeile 129: | ||
| CentOS (ab 7), Rocky, openSuSE (ab Leap 15.1): | CentOS (ab 7), Rocky, openSuSE (ab Leap 15.1): | ||
| + | grub2-mkconfig | grub2-script-check | ||
| grub2-mkconfig -o / | grub2-mkconfig -o / | ||
| Zeile 123: | Zeile 136: | ||
| Debian, Ubuntu, openSuSE: wie bei BIOS-Systemen | Debian, Ubuntu, openSuSE: wie bei BIOS-Systemen | ||
| - | CentOS | + | Rocky (ab 9) (( |
| - | grub2-mkconfig | + | '' |
| - | + | )) | |
| - | Rocky | + | grub2-mkconfig -o /boot/grub2/ |
| - | | + | |
| == testen == | == testen == | ||
admin_grundlagen/bootloader.1728565915.txt.gz · Zuletzt geändert: 2024/10/10 13:11 von natureshadow2
