mirror of
https://github.com/clearlinux/clear-linux-documentation.git
synced 2026-08-25 17:45:52 +00:00
Merge pull request #140 from MCamp859/edits-mb-restore-bl
Copy edit of multi-boot-restore-bl for branding, grammar, and format.
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
.. _multi-boot-restore-bl:
|
||||
|
||||
Restore the Clear Linux boot loader
|
||||
***********************************
|
||||
###################################
|
||||
|
||||
The installation of a new operating system or an upgrade of an existing
|
||||
operating system can result in making the |CL| Systemd-Boot no
|
||||
longer the default boot loader. To restore it, follow the steps below.
|
||||
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`.
|
||||
|
||||
@@ -14,43 +15,44 @@ longer the default boot loader. To restore it, follow the steps below.
|
||||
|
||||
.. figure:: figures/multi-boot-restore-bl-1.png
|
||||
|
||||
Figure 1: |CL|: Console
|
||||
Figure 1: |CL|: Console.
|
||||
|
||||
#. Log in as *root*.
|
||||
|
||||
.. note::
|
||||
Logging in for the first time as *root* through the console requires
|
||||
setting a new password.
|
||||
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
|
||||
#. Find the location of the |CL| EFI partition. In this example, it is
|
||||
:file:`/dev/sda3`. See Figure 2.
|
||||
|
||||
.. code-block:: console
|
||||
.. code-block:: bash
|
||||
|
||||
# fdisk –l
|
||||
fdisk -l
|
||||
|
||||
.. figure:: figures/multi-boot-restore-bl-2.png
|
||||
|
||||
Figure 2: |CL| - fdisk -l
|
||||
Figure 2: |CL|: fdisk -l command.
|
||||
|
||||
#. Mount the EFI partition.
|
||||
|
||||
.. code-block:: console
|
||||
.. code-block:: bash
|
||||
|
||||
# mount /dev/sda3 /mnt
|
||||
mount /dev/sda3 /mnt
|
||||
|
||||
#. Re-install Systemd-Boot to make it the default boot loader.
|
||||
|
||||
.. code-block:: console
|
||||
.. code-block:: bash
|
||||
|
||||
# bootctl install --path /mnt
|
||||
bootctl install --path /mnt
|
||||
|
||||
#. Unmount the EFI partition.
|
||||
|
||||
.. code-block:: console
|
||||
.. code-block:: bash
|
||||
|
||||
# umount /mnt
|
||||
umount /mnt
|
||||
|
||||
#. Reboot.
|
||||
|
||||
If you want to install other OSes, refer to :ref:`multi-boot` for details.
|
||||
If you want to install other :abbr:`OSes (operating systems)`, refer to
|
||||
:ref:`multi-boot` for details.
|
||||
|
||||
Reference in New Issue
Block a user