From ee83925330f23e1d7e47b5c6c001e7d7aca16d2e Mon Sep 17 00:00:00 2001 From: bktan8 Date: Fri, 17 Apr 2020 17:03:11 -0700 Subject: [PATCH] Update fix broken installation (#1127) Closes #1106 Signed-off-by: Bun K Tan --- source/guides/maintenance/fix-broken-install.rst | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/source/guides/maintenance/fix-broken-install.rst b/source/guides/maintenance/fix-broken-install.rst index 78e245bb..0baa6f42 100644 --- a/source/guides/maintenance/fix-broken-install.rst +++ b/source/guides/maintenance/fix-broken-install.rst @@ -37,7 +37,8 @@ Boot a live desktop image to fix target system Mount root partition, verify, and fix ************************************* -#. Ensure the system is connected to the network. +#. Ensure the system is connected to the Internet in order to access the + the |CL| update server. #. Open a terminal window. @@ -51,9 +52,8 @@ Mount root partition, verify, and fix Example output: .. code-block:: console - :emphasize-lines: 10 + :emphasize-lines: 9 - clrlinux@clr-live~ $ lsblk -po NAME,SIZE,LABEL,PARTTYPE,PARTLABEL NAME SIZE LABEL PARTTYPE PARTLABEL /dev/loop0 643.6M /dev/sda 14.3G CLR_ISO @@ -73,7 +73,7 @@ Mount root partition, verify, and fix sudo mount /dev/sdb3 /mnt #. Verify that you mounted the correct root partition by verifying the content - of ``/usr/lib/os-release`` looks similar to the example below. + of ``/mnt/usr/lib/os-release`` looks similar to the example below. .. code-block:: bash @@ -83,7 +83,6 @@ Mount root partition, verify, and fix .. code-block:: console - clrlinux@clr-live~ $ cat /mnt/usr/lib/os-release NAME="Clear Linux OS" VERSION=1 ID=clear-linux-os @@ -96,15 +95,15 @@ Mount root partition, verify, and fix BUG_REPORT_URL="mailto:dev@lists.clearlinux.org" PRIVACY_POLICY_URL="http://www.intel.com/privacy" -#. Next, run :command:`swupd` to fix any issues on the target system. +#. Next, run :command:`swupd repair` to fix any issues on the target system. .. code-block:: bash - sudo swupd repair --picky --path=/mnt + sudo swupd repair --picky --path=/mnt --statedir=/mnt/var/lib/swupd :ref:`Learn more about how swupd works `. -#. After the process is complete, unmount the root partition: +#. After the process is complete, unmount the root partition. .. code-block:: bash