LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Puppy (http://www.linuxquestions.org/questions/puppy-71/)
-   -   Disable disk checking (http://www.linuxquestions.org/questions/puppy-71/disable-disk-checking-915655/)

compactrom 11-26-2011 12:06 PM

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

Karl Godt 11-26-2011 12:21 PM

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 .

compactrom 11-26-2011 12:33 PM

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

compactrom 11-26-2011 01:25 PM

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

compactrom 11-26-2011 02:19 PM

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

frankbell 11-26-2011 09:06 PM

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/

compactrom 11-27-2011 09:55 AM

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


All times are GMT -5. The time now is 03:56 PM.