diff options
author | Silvino Silva <silvino@bk.ru> | 2018-04-11 18:05:41 +0100 |
---|---|---|
committer | Silvino Silva <silvino@bk.ru> | 2018-04-11 18:05:41 +0100 |
commit | f5955b57400b065d77fc115c821c18864f3dae02 (patch) | |
tree | 211e76707a3e978afd8fc6ac55e68285ba7c2c62 /core/reboot.html | |
parent | 8ee63f12e337f97013cfa3cb3d3b27f15f88dfcd (diff) | |
parent | f3ec364b8579a2aa7a31e6b385424403e9fd131e (diff) | |
download | doc-f5955b57400b065d77fc115c821c18864f3dae02.tar.gz |
Doc version 0.0.4
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> |