Browse Source

bootctl: move from common to linux, update page, add Polish translation (#10104)

Lena 1 year ago
parent
commit
19d7368c35
2 changed files with 34 additions and 6 deletions
  1. 28 0
      pages.pl/linux/bootctl.md
  2. 6 6
      pages/linux/bootctl.md

+ 28 - 0
pages.pl/linux/bootctl.md

@@ -0,0 +1,28 @@
+# bootctl
+
+> Kontroluj ustawienia oprogramowania układowego EFI i zarządzaj programem rozruchowym.
+> Więcej informacji: <https://manned.org/bootctl>.
+
+- Wyświetl informacje o oprogramowaniu układowym i programach rozruchowych:
+
+`bootctl status`
+
+- Wyświetl wszystkie dostępne wpisy programu rozruchowego:
+
+`bootctl list`
+
+- Ustaw opcję, aby uruchomić oprogramowanie układowe przy następnym rozruchu (podobne do `sudo systemctl reboot --firmware-setup`):
+
+`sudo bootctl reboot-to-firmware true`
+
+- Podaj ścieżkę do partycji systemowej EFI (domyślnie `/efi/`, `/boot/` lub `/boot/efi`):
+
+`bootctl --esp-path={{/ścieżka/do/partycji_systemowej_efi/}}`
+
+- Zainstaluj `systemd-boot` do partycji systemowej EFI:
+
+`sudo bootctl install`
+
+- Usuń wszystkie zainstalowane wersje `systemd-boot` z partycji systemowej EFI:
+
+`sudo bootctl remove`

+ 6 - 6
pages/common/bootctl.md → pages/linux/bootctl.md

@@ -5,7 +5,11 @@
 
 - Show information about the system firmware and the bootloaders:
 
-`sudo bootctl status`
+`bootctl status`
+
+- Show all available bootloader entries:
+
+`bootctl list`
 
 - Set a flag to boot into the system firmware on the next boot (similar to `sudo systemctl reboot --firmware-setup`):
 
@@ -13,11 +17,7 @@
 
 - Specify the path to the EFI system partition (defaults to `/efi/`, `/boot/` or `/boot/efi`):
 
-`sudo bootctl --esp-path={{/path/to/efi_system_partition/}}`
-
-- Show all available bootloader entries:
-
-`sudo bootctl list`
+`bootctl --esp-path={{/path/to/efi_system_partition/}}`
 
 - Install `systemd-boot` into the EFI system partition: