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 -ahere the system will inform you of unmounted partitions, but those we need are mounted
open vi editor:
vi /etc/fstabedit the file
press Esc
:wqsave the file
rebootreboot the system.
Problem solved.
-
Amardeep2016-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?
All Rights Reserved.