2 Commits c623ada982 ... b1b8f11ee9

Author SHA1 Message Date
  adnan360 b1b8f11ee9 Add instructions for fsck on FreeBSD 2 years ago
  adnan360 b2b79c6cad Update single user mode instructions 2 years ago
1 changed files with 11 additions and 1 deletions
  1. 11 1
      bsd/freebsd/install-freebsd.md

+ 11 - 1
bsd/freebsd/install-freebsd.md

@@ -438,9 +438,19 @@ If you've made a recent change in config or something and can't boot:
 
 - reboot
 - press 2 on boot menu to select Single user mode
+- when asked for root password, enter it
 - when asked for shell, you can press enter
 - now run `mount -a` and it will allow you to undo your config changes, e.g. you can run `nano /boot/loader.conf` to fix a loader issue
-- run `reboot` when done
+- run `exit` or press Ctrl+D when done and it should continue the boot process
+
+### Force file system check and repair
+
+Usually the fsck runs automatically on boot. If it doesn't for some reason:
+
+- reboot
+- press 2 to enter Single user mode and eventually enter into shell
+- without mounting anything run `fsck -fy`
+- when done, enter `exit` or press Ctrl+D
 
 ### Use TOR with Firefox