diff options
Diffstat (limited to 'core/reboot.html')
-rw-r--r-- | core/reboot.html | 34 |
1 files changed, 31 insertions, 3 deletions
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> |