How to edit fstab in FreeBSD if the system can't boot

Sometimes if you made a mistake while editing /etc/fstab you can come across "Enter full pathname of shell or RETURN for /bin/sh:" error on system boot. Also many other things can cause that. For example, hardware change or altered BIOS configuration.

This error means that most commands and tools became unavailable because required partitions aren't mounted. But the situation can be fixed.

Do the following:

press Enter

mount -a
here the system will inform you of unmounted partitions, but those we need are mounted

open vi editor:

vi /etc/fstab
edit the file

press Esc

save the file

reboot the system.

Problem solved.

  1. Amardeep
    2016-02-21 10:27:53
    9-18-11Ian Aksamit пишет: I’d must take a look at with you right here. Which can be not something I gellraney do! I consider enjoyment in studying a article which will make individuals feel. Furthermore, many thanks for permitting me to comment!  -4

Got a comment?

captcha =


  1. System (20)
    1. FreeBSD (5)
    2. Linux (9)
  2. Email (2)
  3. DNS (2)
  4. Databases (1)
  5. WebServer (27)
Copyright © 2024 HowToUnix - *nix Howtos and Tutorials
All Rights Reserved.