LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy
User Name
Password
Puppy This forum is for the discussion of Puppy Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 11-26-2011, 12:06 PM   #1
compactrom
LQ Newbie
 
Registered: Nov 2011
Posts: 7

Rep: Reputation: Disabled
Disable disk checking


Hi, I've been a long time puppy tinkerer, but I have a specific use that I need help with.

I have set up an old screenless laptop as a music player connected into my music system. I have done a full install to hard drive and set up xbindkeys to enable the media keys and am using vnc to control deadbeef player remotely.

The problem I'm having is that occasinally at boot up a drive check is performed which needs acknowledging before booting will continue. This stalls the system before the vnc server is started. My question is, is there a way to disable drive checking, I don't mind doing this manually occasionally but want to make things as easy to use as possible for my wife.

Many thanks

Mark
 
Old 11-26-2011, 12:21 PM   #2
Karl Godt
Member
 
Registered: Mar 2010
Location: Kiel , Germany
Distribution: once:SuSE6.2,Debian3.1, aurox9.2+3,Mandrake?,DSL? then:W7st,WVHB, #!8.10.02,PUPPY4.3.1 now:Macpup
Posts: 305

Rep: Reputation: 45
I assume the drive checking is done by /sbin/init after a hard poweroff leaving some kind of /fsckme.flg file on top of the disk (puppy 5 series or later) ?
This check would be a filesystem check aka e2fsck . AFAIK this file system check should be done without user intervention and after finishing this , puppy should reboot .
I cannot look into the newest racy sfs for now , because i am running a kernel atm that does not support xz compressed sfs files .
 
Old 11-26-2011, 12:33 PM   #3
compactrom
LQ Newbie
 
Registered: Nov 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
Sorry, probably should have said this is using the latest Wary (5.2.2).

I'm assuming there's a counter somewhere which increments each time the system is started which could be reset.

Mark
 
Old 11-26-2011, 01:25 PM   #4
compactrom
LQ Newbie
 
Registered: Nov 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
Thanks for the hint of where to look, just looked at /sbin/init, I think what I need to do is force an auto reboot straight after the file system check instead of waiting 4 minutes till rebooting

Also think I'm confusing myself. I'm sure I have seen a request for filesystem check after a certain number of restarts, but that could have been from Linux Mint Debian which is now may main distro on 2 other pc's.

Mark
 
Old 11-26-2011, 02:19 PM   #5
compactrom
LQ Newbie
 
Registered: Nov 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
Ok, thats sorted, have lowered the timeout before rebooting from 240 seconds to 1 second.

Now if X shuts down uncleanly it comes up with a warning and a 30 second timeout before continuing. Any hints of where to look for this timeout, or is it hard coded into Xorg.

Cheers

Mark
 
Old 11-26-2011, 09:06 PM   #6
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, Mint
Posts: 6,891

Rep: Reputation: 1280Reputation: 1280Reputation: 1280Reputation: 1280Reputation: 1280Reputation: 1280Reputation: 1280Reputation: 1280Reputation: 1280
You might also take a look at /etc/fstab.

In a line such as

Code:
/dev/sda1       /               ext3    errors=remount-ro 0       1
the last "1" enables autochecking after x number of reboots.

http://www.cyberciti.biz/faq/linux-unix-bypassing-fsck/
 
Old 11-27-2011, 09:55 AM   #7
compactrom
LQ Newbie
 
Registered: Nov 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
Thanks for the help, thats probably all I need to do for now, but I'll probably have a play with MPD next if I can find a version for download while the forum is still down. I'll post another thread for that though

Cheers

Mark
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How do I disable damn spelling checking in Firefox 2.0.x.x? stf92 Slackware 5 06-24-2011 01:50 AM
How can I disable md5sum checking in K3B? Cogar Linux - Software 3 12-02-2008 11:12 AM
How Do I Disable The Checking Of CD Drive From Bootup? taurusx5 Linux - Software 5 09-26-2008 03:57 AM
Disable checking for Distribution updates in apt-get - how do I? nowshining Ubuntu 2 05-27-2008 02:42 AM
Disable Checking New Hardware? LuD Mandriva 3 08-27-2003 03:51 AM


All times are GMT -5. The time now is 07:05 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration