diff --git a/pages.pl/linux/bootctl.md b/pages.pl/linux/bootctl.md new file mode 100644 index 000000000..bbcdc51af --- /dev/null +++ b/pages.pl/linux/bootctl.md @@ -0,0 +1,28 @@ +# bootctl + +> Kontroluj ustawienia oprogramowania układowego EFI i zarządzaj programem rozruchowym. +> Więcej informacji: . + +- 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` diff --git a/pages/common/bootctl.md b/pages/linux/bootctl.md similarity index 86% rename from pages/common/bootctl.md rename to pages/linux/bootctl.md index ac674d8d1..1e234e474 100644 --- a/pages/common/bootctl.md +++ b/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: