| Puppy This forum is for the discussion of Puppy Linux. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-26-2011, 12:06 PM
|
#1
|
|
LQ Newbie
Registered: Nov 2011
Posts: 7
Rep: 
|
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
|
|
|
|
11-26-2011, 12:21 PM
|
#2
|
|
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: 302
Rep:
|
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 .
|
|
|
|
11-26-2011, 12:33 PM
|
#3
|
|
LQ Newbie
Registered: Nov 2011
Posts: 7
Original Poster
Rep: 
|
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
|
|
|
|
11-26-2011, 01:25 PM
|
#4
|
|
LQ Newbie
Registered: Nov 2011
Posts: 7
Original Poster
Rep: 
|
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
|
|
|
|
11-26-2011, 02:19 PM
|
#5
|
|
LQ Newbie
Registered: Nov 2011
Posts: 7
Original Poster
Rep: 
|
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
|
|
|
|
11-26-2011, 09:06 PM
|
#6
|
|
Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian
Posts: 5,335
|
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/
|
|
|
|
11-27-2011, 09:55 AM
|
#7
|
|
LQ Newbie
Registered: Nov 2011
Posts: 7
Original Poster
Rep: 
|
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
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:41 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|