aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedict Reuschling <bcr@FreeBSD.org>2026-05-09 15:41:03 +0000
committerBenedict Reuschling <bcr@FreeBSD.org>2026-05-09 15:41:03 +0000
commita51f3e9a762b96369428369cb298a0e5c8b5fb3d (patch)
tree586b4bba8afd2f6378acf88551c6b68c2903fbf9
parentd230e371ab42bdbc7276ac265a266f91726e8052 (diff)
FAQ: Extend the forgot-password question to include kbdmap and ZFS
When going into single user mode to change the root password, some users may want to change to their preferred keyboard layout before entering a new password. Add a sentence about how to do that. When remounting all the remaining filesystems, there are different mount instructions for UFS and ZFS. Mention how to do that for each of them. PR: 294971
-rw-r--r--documentation/content/en/books/faq/_index.adoc4
1 files changed, 3 insertions, 1 deletions
diff --git a/documentation/content/en/books/faq/_index.adoc b/documentation/content/en/books/faq/_index.adoc
index ae1b596337..276900bce8 100644
--- a/documentation/content/en/books/faq/_index.adoc
+++ b/documentation/content/en/books/faq/_index.adoc
@@ -438,7 +438,9 @@ bindkey ^[[3~ delete-char # for xterm
Do not panic!
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.
+When there is a need to change the keyboard layout, run `kbdmap`, select the preferred one and confirm by pressing kbd:[Enter].
+Enter `mount -urw /` to remount the root file system read/write.
+To remount all the remaining file systems, run `mount -a` for UFS filesystems and `zfs mount -a` when using ZFS.
Run `passwd root` to change the `root` password then run `exit` to continue booting.
[TIP]