Date: Sun, 26 Apr 2026 07:02:39 +0000 From: Sergio Carlavilla Delgado <carlavilla@FreeBSD.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org Cc: Big Sneaky <bigsneaky@duck.com> Subject: git: 67232f1a2d - main - FAQ - fix single-user mode boot instructions Message-ID: <69edb88f.20c38.723ab18e@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by carlavilla: URL: https://cgit.FreeBSD.org/doc/commit/?id=67232f1a2d5e0254a807bebb5fb90d47ff3545b7 commit 67232f1a2d5e0254a807bebb5fb90d47ff3545b7 Author: Big Sneaky <bigsneaky@duck.com> AuthorDate: 2026-04-26 06:57:06 +0000 Commit: Sergio Carlavilla Delgado <carlavilla@FreeBSD.org> CommitDate: 2026-04-26 06:57:06 +0000 FAQ - fix single-user mode boot instructions PR: 291048 Pull Request: https://github.com/freebsd/freebsd-doc/pull/635 --- documentation/content/en/books/faq/_index.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/documentation/content/en/books/faq/_index.adoc b/documentation/content/en/books/faq/_index.adoc index e421019dcb..ae1b596337 100644 --- a/documentation/content/en/books/faq/_index.adoc +++ b/documentation/content/en/books/faq/_index.adoc @@ -436,10 +436,10 @@ bindkey ^[[3~ delete-char # for xterm === I have forgotten the root password! What do I do? Do not panic! -Restart the system, type `boot -s` at the `Boot:` prompt to enter single-user mode. +Restart the system and select `Boot Single User` from the boot loader menu, or press `Escape` at the menu and type `boot -s` at the loader prompt, to enter single-user mode. At the question about the shell to use, hit kbd:[Enter] which will display a # prompt. Enter `mount -urw /` to remount the root file system read/write, then run `mount -a` to remount all the file systems. -Run `passwd root` to change the `root` password then run man:exit[1] to continue booting. +Run `passwd root` to change the `root` password then run `exit` to continue booting. [TIP] ==== @@ -458,7 +458,7 @@ For more information see the section about encrypted disks in the FreeBSD extref [[rcconf-readonly]] === I made a mistake in rc.conf, or another startup file, and now I cannot edit it because the file system is read-only. What should I do? -Restart the system using `boot -s` at the loader prompt to enter single-user mode. +Restart the system and select `Boot Single User` from the boot loader menu, or press `Escape` at the menu and type `boot -s` at the loader prompt, to enter single-user mode. When prompted for a shell pathname, press kbd:[Enter] and run `mount -urw /` to re-mount the root file system in read/write mode. You may also need to run `mount -a -t ufs` to mount the file system where your favorite editor is defined. If that editor is on a network file system, either configure the network manually before mounting the network file systems, or use an editor which resides on a local file system, such as man:ed[1].home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69edb88f.20c38.723ab18e>
