Re: How to force fsck at boot time?
In article <[🔎] 44710.10.10.10.7.1051029239.squirrel@webmail.linuxpowered.net>,
nate <debian-user@aphroland.org> wrote:
>> I have a remote server that is far from me. Sometimes electricity
>> disappear for several minutes and server reboot. Sometimes it starts
>> correctly, but sometimes fsck has to be run manually. Filesystem is ext2.
>> I would like to ask how I can force fsck to correct all errors at boot
>> time so that server can start always?
>
>edit /etc/default/rcS
>
>and set
>
>FSCKFIX=y
Ehm, no. To see why not, read "man rcS". To answer the original
question, read "man shutdown". Take note of the "-F" flag.
There was an entire thread on this subject just a few days ago.
Mike.
Reply to: