LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   preventing fsck failed hit ctrl-d to continue prompt (https://www.linuxquestions.org/questions/fedora-35/preventing-fsck-failed-hit-ctrl-d-to-continue-prompt-4175420870/)

tkalfaoglu 08-07-2012 01:25 PM

preventing fsck failed hit ctrl-d to continue prompt
 
Hi there. Is there a way for fedora to do an fsck -y /dev/sdax if its needed at boot time, but not die if the fsck fails? That is, I would like the machine to come up every time, without interventions.

Many thanks, -t

frieza 08-07-2012 01:29 PM

first of all, if the fsck fails that could indicate a problem, i would hit ctl-d, and run
Code:

# fsck -f /
and let it run to try and fix the problem, but yes, you could edit the line in /etc/fstab that references the mount point / and change the last numbers to 0 0 to skip the fsck, though this isn't recommended since there is a reason why the system runs fsck periodically.


All times are GMT -5. The time now is 06:52 PM.