[FreeBSD] Fix Trashed config files. - BSD

Users browsing this thread: 1 Guest(s)
yrmt
Grey Hair Nixers
So you broke something in your FreeBSD install and it won't boot or read only ? You messed with something ?

Here are the steps to mount your drive and fix your install:

PHP Code:
<?php 
mount
-u

mount
-a -t ufs

swapon
-a


Your disk will be mounted with read/write permissions.

You might need to use full path for your applications, like:

PHP Code:
<?php 
/usr/local/bin/vim /etc/rc.conf