FSCK at bootup on unclean part

A place for discussion of topics that are not specific to ZoneMinder. This could include Linux, Video4Linux, CCTV cameras or any other topic.
Post Reply
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

FSCK at bootup on unclean part

Post by jameswilson »

Hi all
I have poor power at home and sometimes have to manually repair the hard disk.
Is there a way of telling the machine IF it has to do a repair to just do what it needs too and get on with it and continue to boot. As its headless i have to dig out a monitor and keyboard.

Once i get to the prompt and manually run fsck it asks loads of questions that i always answer yes too

I presume its an option somewhere?
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: FSCK at bootup on unclean part

Post by PacoLM »

in /etc/rc.conf

fsck_y_enable="YES"
background_fsck="NO"


Read this also, http://linuxadmintips.wordpress.com/201 ... artitions/

Hope it helps,
PacoLM

After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
Post Reply