LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-27-2014, 04:16 AM   #1
StreamThreader
Member
 
Registered: Mar 2012
Location: Ukraine/Odesa
Distribution: Slackware
Posts: 152

Rep: Reputation: 64
Slackware automatic fsck if boot failed


Hello!
How to make Slackware automatic fsck for root if boot failed.
In current case, slackware hang while boot and ask root pass and need run fsck.
I use Slackware as remote server and not able to connect monitor and keyboard for enter pass and run fsck.
How to automatic check disk without manual from human?
 
Old 02-27-2014, 05:06 AM   #2
kkady32
Member
 
Registered: Dec 2010
Distribution: Slackware64-current
Posts: 115

Rep: Reputation: 42
add
Code:
touch /etc/forcefsck
to /etc/rc.d/rc.local

Last edited by kkady32; 02-27-2014 at 05:07 AM.
 
1 members found this post helpful.
Old 02-27-2014, 05:41 AM   #3
StreamThreader
Member
 
Registered: Mar 2012
Location: Ukraine/Odesa
Distribution: Slackware
Posts: 152

Original Poster
Rep: Reputation: 64
Thanks!!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Boot error fsck.reiserfs failed Run Manually anerusmc Linux - Newbie 5 11-03-2009 08:34 PM
Fails to Boot: fsck /dev/sdk1 failed Hagen Brown Linux - Enterprise 2 04-14-2008 11:29 AM
Fsck failed - can't boot klarsin Linux - Software 2 11-05-2006 02:48 PM
automatic fsck on boot. fsck errors. nixel Slackware 1 05-17-2004 08:51 AM
Boot error fsck.reiserfs failed Run Manually anerusmc Linux - Software 0 02-21-2004 10:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration