mirror of
https://github.com/clearlinux/clear-linux-documentation.git
synced 2026-08-29 14:33:48 +00:00
0d68512d50
Signed-off-by: MCamp859 <mary.camp@ptiglobal.net>
59 lines
1.4 KiB
ReStructuredText
59 lines
1.4 KiB
ReStructuredText
.. _multi-boot-restore-bl:
|
|
|
|
Restore the Clear Linux boot loader
|
|
###################################
|
|
|
|
This guide is part of the :ref:`multi-boot` tutorial. If you install a new
|
|
:abbr:`OS (operating system)` or upgrade an existing OS, the default boot
|
|
loader may change from |CL| Systemd-Boot. This guide describes how to restore
|
|
Systemd-Boot.
|
|
|
|
#. Boot the |CL| installer from a USB thumb drive. See :ref:`bootable-usb`.
|
|
|
|
#. At the introduction screen, press :kbd:`Control+Alt+F2` to bring up the
|
|
|CL| console. See Figure 1.
|
|
|
|
.. figure:: figures/multi-boot-restore-bl-1.png
|
|
|
|
Figure 1: |CL|: Console.
|
|
|
|
#. Log in as *root*.
|
|
|
|
.. note::
|
|
When you log in for the first time as *root* through the console, you must
|
|
set a new password.
|
|
|
|
#. Find the location of the |CL| EFI partition. In this example, it is
|
|
:file:`/dev/sda3`. See Figure 2.
|
|
|
|
.. code-block:: bash
|
|
|
|
fdisk -l
|
|
|
|
.. figure:: figures/multi-boot-restore-bl-2.png
|
|
|
|
Figure 2: |CL|: fdisk -l command.
|
|
|
|
#. Mount the EFI partition.
|
|
|
|
.. code-block:: bash
|
|
|
|
mount /dev/sda3 /mnt
|
|
|
|
#. Re-install Systemd-Boot to make it the default boot loader.
|
|
|
|
.. code-block:: bash
|
|
|
|
bootctl install --path /mnt
|
|
|
|
#. Unmount the EFI partition.
|
|
|
|
.. code-block:: bash
|
|
|
|
umount /mnt
|
|
|
|
#. Reboot.
|
|
|
|
If you want to install other :abbr:`OSes (operating systems)`, refer to
|
|
:ref:`multi-boot` for details.
|