[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fsck on boot...revisited



Tim Nelson wrote at 2013-07-25 09:28 -0500:
> On occasion, we find that a filesystem error is bad enough that
> instead of auto{matically|magically} fixing the issue and continuing
> to boot, the system hangs, needing a root password entered for a
> manual fsck to be run.
> 
> My question is thus: How do I prevent that requirement to login and
> run fsck manually? Is there some parameter that can be set? Or, am I
> going about this the completely wrong way?

You mentioned the FSCKFIX option; according to rcS(5) man page,
setting it to "yes" in /etc/default/rcS will do what you want.  This
causes fsck to be run with -y instead of -p which is somewhat
dangerous but hopefully will in your case successfully repair the
filesystem.

Attachment: signature.asc
Description: Digital signature


Reply to: