about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--core/index.html5
-rw-r--r--core/reboot.html34
2 files changed, 34 insertions, 5 deletions
diff --git a/core/index.html b/core/index.html
index 7818109..e6e6c62 100644
--- a/core/index.html
+++ b/core/index.html
@@ -58,12 +58,13 @@
 		</ul>
 	    </li>
 
-	    <li><a href="reboot.html">1.4. Prepare for reboot</a>
+	    <li><a href="reboot.html">1.4. Boot</a>
 		<ul>
 		    <li><a href="reboot.html#linux">1.4.1. Kernel</a></li>
 		    <li><a href="reboot.html#dracut">1.4.2. Dracut</a></li>
 		    <li><a href="reboot.html#grub">1.4.3. Grub</a></li>
-		    <li><a href="reboot.html#checkup">1.4.4. Checkup</a></li>
+		    <li><a href="reboot.html#recover">1.4.4. Recover</a></li>
+		    <li><a href="reboot.html#checkup">1.4.5. Checkup</a></li>
 		</ul>
 	    </li>
 	</ul>
diff --git a/core/reboot.html b/core/reboot.html
index ea174a2..1eb6808 100644
--- a/core/reboot.html
+++ b/core/reboot.html
@@ -2,13 +2,13 @@
 <html dir="ltr" lang="en">
     <head>
         <meta charset='utf-8'>
-        <title>1.4. Prepare Reboot</title>
+        <title>1.4. Boot</title>
     </head>
     <body>
 
         <a href="index.html">Core OS Index</a>
 
-        <h1>1.4. Prepare for Reboot</h1>
+        <h1>1.4. Boot</h1>
 
         <p>Follow this instructions with active chroot,
         first <a href="configure.html#chroot">mount partitions</a>
@@ -176,7 +176,35 @@
         }
         </pre>
 
-        <h2 id="checkup">1.4.4. Checkup</h2>
+        <h2 id="recover">1.4.4. Recover</h2>
+
+        <h3>Root password</h3>
+
+        <p>On grub boot menu press e to edit boot options, change;</p>
+
+        <pre>
+        linux   /vmlinuz-4.9.92-gnu root=UUID=3bab76f8-e714-45f1-8e30-04cc8a09c3d1 ro single
+        </pre>
+
+        <p>to;</p>
+
+        <pre>
+        linux   /vmlinuz-4.9.92-gnu root=UUID=3bab76f8-e714-45f1-8e30-04cc8a09c3d1 ro init=/bin/bash
+        </pre>
+
+        <p>Boot and mount;</p>
+
+        <pre>
+        # mount -a
+        # mount -o remount,rw /
+        # passwd root
+        # mount -o remount,ro /
+        # sync
+        </pre>
+
+        <p>Reboot computer using power / reset.</p>
+
+        <h2 id="checkup">1.4.5. Checkup</h2>
 
         <p>If you have qemu installed you can see if it boots, in this
         example sdb is usb external drive;</p>