HOW TO FIX THE 'READ ONLY FILE SYSTEM' PROBLEM WHEN RC.CONF IS CORRUPTED ON FREEBSD
- If somehow you have messed up
rc.conf, you
likely are now seeing an error message like:
Read only file system
This error is likely due to some typographical error
in rc.conf. Perhaps it
is a quote mark on the end of a line that is missing,
or some other 'fat finger' mistake.
In any case, when you reboot you aren't able to write
to the hard drive, and get the
Read only file system error
message.
- In order to temporarily write to the hard drive so you
can edit
rc.conf, do the
following:
mount -u
mount -a -t ufs
swapon -a
/usr/local/bin/pico /etc/rc.conf
- After you have exited out of Pico, reboot
(
shutdown -r now) and
if you've fixed the error in rc.conf
the computer will boot normally.
- Note that this assumes you have Pico installed.
If you don't, you can still recover but you have to deal
with
vi. This text editor,
vi, is an extremely anti-intuitive
piece of software. Before you go any further, you
are strongly urged to print out a cheat sheet so that
you are familiar with vi's bizzare commands:
http://www.indiana.edu/~ucspubs/b104/
http://tinyurl.com/4je4p
- If you are using vi, then the commands would be the same
as above except for the 'Pico' line. Use the following
instead:
/usr/bin/vi /etc/rc.conf
Here are some other FreeBSD related links:
How to Install FreeBSD
Shell Configuration
FreeBSD Device List
Hardware
Burn-In Test Using FreeBSD
FreeBSD
Commands Cheat Sheet
'make
install' fails on FreeBSD
The
FreeBSD 'Handbook' online
Search
for Answers to Questions about FreeBSD
How
to Install NTP (Network Time Protocol) software on FreeBSD
How
to Install Samba file server software on FreeBSD
Mounting
and Using the Floppy Drive in FreeBSD
Mounting
and Using the CD-ROM Drive in FreeBSD
How to Find or Search for a Directory or a file
How to Preserve the Date and Time Stamp When Copying Files
How to Copy Files, and Directories recursively in FreeBSD / unix
How To Fix The 'Read Only File System' Problem When rc.conf is Corrupted on Freebsd
Random Passwords Generator
URL Decoder / Link Maker
AT YOUR OWN RISK: These instructions have no guarantee or
warrantee of fitness for any purpose whatsoever--and none
shall be implied or inferred. If you use these
and incur any kind of damage--it is your responsibility.
How to Correct Read Only File System Error on FreeBSD. Configuration file rc.conf hosed, trashed, corrupted, borked, zapped, zorched on FreeBSD. Fix, Solve, Problem, Solution for Runtime Commands Configuration File on FreeBSD, Linux, unix. Set up setup configure installation. Procedure list newbies beginner. rc.conf directions steps step-by-step instructions. Cheat Sheet for FreeBSD FileSystem Error Problem-Installation. Primer for Beginners to fix rc.conf on FreeBSD. Newbies Installing FreeBSD Guide. Sysadmin: Install and setup rc.conf on the FreeBSD flavor of UNIX / Linux
|
|
|