|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Disable manual fsck on startup
Hi!
I have a small media server running FBSD 7.0 running headless in my closet. After a power failure the system would not reboot. When I hooked it up to my monitor and keyboard and started it up it said that there were inconsistencies on the /tmp file system, and that I had to run fsck manually in singel user mode. Is it possible to make the system start up without this? I don't have any critical data on the system disk, so it really wouldn't be the end of the world if the fs would get screwed. I just don't want to have disconnect the system and bring it to the desk in order to make it boot up after any power failures. Thanks! Regards, Markus Svensson |
|
||||
Quote:
So when I put fsck_y_enable="YES" in /etc/rc.conf everything is ok ???? Do I need change /etc/defaults/rc.conf ??? |
|
||||
Yes, that is right. You never edit /etc/defaults/anything. They are defaults. /etc/rc.conf overrides them.
(Yes, I was confused and annoyed to discover in this ubuntu box that the /etc/defaults files are all there are!) Then, if fsck cannot do a 'preen' (check it's OK, fix minor problems that will not lead to data loss or weirdness), it will do fsck -y, which gives it permission to do anything, including operations that loose data or alter the filesystem, but will yield a logical, if incorrect, filesystem.
__________________
The only dumb question is a question not asked. The only dumb answer is an answer not given. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to disable FreeBSD boot loader? | Turquoise88 | FreeBSD General | 2 | 17th July 2009 03:11 PM |
mdmfs and fsck on boot | elon | FreeBSD General | 0 | 8th December 2008 06:33 PM |
fsck reports errors but does not fix them. | map7 | FreeBSD General | 13 | 2nd December 2008 10:45 PM |
Manual install of Mediawiki? | cwhitmore | FreeBSD Ports and Packages | 4 | 3rd October 2008 06:47 PM |
Remove/disable a former system user | anomie | Guides | 6 | 19th May 2008 12:37 AM |