From owner-freebsd-questions Fri May 5 11:10:12 2000 Delivered-To: freebsd-questions@freebsd.org Received: from ns2.interlinks.net (ns2.interlinks.net [207.107.160.2]) by hub.freebsd.org (Postfix) with ESMTP id 17E1237B749 for ; Fri, 5 May 2000 11:10:06 -0700 (PDT) (envelope-from sysop@interlinks.net) Received: from custinfo (custinfo.interlinks.net [207.107.160.15]) by ns2.interlinks.net (8.10.0.Beta6/8.10.0.Beta6) with SMTP id e45I9wk04557; Fri, 5 May 2000 14:09:58 -0400 (EDT) Message-ID: <000801bfb6bc$d324e2a0$0fa06bcf@interlinks.net> From: "Bill Sandiford" To: "David Scheidt" Cc: References: Subject: Re: Reboots without fsck at console Date: Fri, 5 May 2000 14:07:49 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi : I made the modification as you suggested in the /etc/rc file but it still doesn't work The error I get is WARINING: R/W mount of / denied. Filesystem is not clean - run fsck mount: Operation not permitted Filesystem mount failed, startup aborted Enter full pathname of shell or RETURN for /bin/sh: At this point I have to hit enter at the console and run fsck manually This is what I want to avoid Bill ----- Original Message ----- From: "David Scheidt" To: "Bill Sandiford" Cc: Sent: Friday, May 05, 2000 1:02 PM Subject: Re: Reboots without fsck at console On Fri, 5 May 2000, Bill Sandiford wrote: > I'm having a small problem with a few of my FreeBSD machines. These > machines are located at a remote location with bad power and not sufficient > enough of a UPS system. If the power goes out to these machines, they > sometimes don't boot up all the way and instead kick out in single user mode > asking for fsck to be run manually. This must be done from the console. My > question is, is there anyway to configure these boxes so that the fsck will > be run automatically (without requiring any console input) so that these > boxes will reboot on there own? Change the line that does an fsck -p to fsck -p || fsck -y If the fsck -p fails it will do an fsck -y, which should take care of things. David To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message