Update Question 10.12:
- Mark up "Boot:" with <literal> - Mark up Enter with <keycap> - Add options to mount(8) (suggested by trhodes) - Add paragraphs about the case when system has insecure console or encrypted partitions Reviewed by: trhodes, danger Approved by: gabor
This commit is contained in:
parent
a4f12ad51b
commit
ddec5ce072
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=32328
1 changed files with 25 additions and 3 deletions
|
|
@ -6072,15 +6072,37 @@ options SYSVMSG # enable for messaging</programlisting>
|
|||
</question><answer>
|
||||
|
||||
<para>Do not panic! Restart the system, type
|
||||
<userinput>boot -s</userinput> at the Boot: prompt to
|
||||
<userinput>boot -s</userinput> at the <literal>Boot:</literal> prompt to
|
||||
enter Single User mode. At the question about the shell to
|
||||
use, hit ENTER. You will be dropped to a &prompt.root;
|
||||
prompt. Enter <command>mount -u /</command> to remount
|
||||
use, hit <keycap>Enter</keycap>. You will be dropped to a &prompt.root;
|
||||
prompt. Enter <command>mount -urw /</command> to remount
|
||||
your root filesystem read/write, then run <command>mount
|
||||
-a</command> to remount all the filesystems. Run
|
||||
<command>passwd root</command> to change the
|
||||
<username>root</username> password then run &man.exit.1;
|
||||
to continue booting.</para>
|
||||
|
||||
<note>
|
||||
<para>If you are still prompted to give the
|
||||
<username>root</username> password when entering the Single
|
||||
User mode, it means that the console has been marked as
|
||||
<literal>insecure</literal> in
|
||||
<filename>/etc/ttys</filename>. In this case it will be required to
|
||||
boot from an &os; installation disk,
|
||||
choose the <guimenuitem>Fixit</guimenuitem> shell from
|
||||
&man.sysinstall.8; and issue the commands mentioned
|
||||
above.</para>
|
||||
</note>
|
||||
|
||||
<note>
|
||||
<para>If you cannot mount your root partition from Single
|
||||
User mode, it is possible that the partitions are
|
||||
encrypted and it is impossible to mount them without the
|
||||
access keys. Your chances are depending on the chosen
|
||||
implementation. For more information see the section
|
||||
about encrypted disks in the &os; <ulink
|
||||
url="&url.books.handbook;/disks-encrypting.html">Handbook</ulink>.</para>
|
||||
</note>
|
||||
</answer>
|
||||
</qandaentry>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue