pizzaazzip
Dabbler
- Joined
- Dec 3, 2015
- Messages
- 25
So I was messing with my /etc/fstab file, had a typo and now I can't boot. During the boot process I get a few
until it gets to
and does not go any further. I found a forum post about freeBSD in general that detailed how to make changes to files in single user mode and have them save but I can't seem to get it to work. Apparently fsck -y does not work in freenas. Anyone have any suggestions on how to save changes to my fstab file? All I need to do is comment that line out for now.
Edit: To fix broken file just hit enter and type nano /conf/base/etc/fstab because I believe /etc/fstab is generated on boot from the /conf/base/etc/fstab file.
Code:
fstab: /etc/fstab:3: Inappropriate file type or format
until it gets to
Code:
ERROR: ABORTING BOOT (sending SIGTERM to parent)! Dec 5 22:29:26 blade init: /bin/sh on /etc/rc terminated abnormally, going to single user mode Enter full pathname of shell or RETURN for /bin/sh:
and does not go any further. I found a forum post about freeBSD in general that detailed how to make changes to files in single user mode and have them save but I can't seem to get it to work. Apparently fsck -y does not work in freenas. Anyone have any suggestions on how to save changes to my fstab file? All I need to do is comment that line out for now.
Edit: To fix broken file just hit enter and type nano /conf/base/etc/fstab because I believe /etc/fstab is generated on boot from the /conf/base/etc/fstab file.
Last edited: