Re: unattended reboot for forced filesystem checks

From: Blake Swadling (bswadling_at_newton.com.au)
Date: 01/18/05

  • Next message: sylvain: "Re: Secure Samba access through iptables firewall"
    To: Debian User <debian-user@lists.debian.org>
    Date: Tue, 18 Jan 2005 15:06:52 +1100
    
    
    

    On Mon, 2005-01-17 at 21:19 -0500, David Mandelberg wrote:

    > Blake Swadling wrote:
    > > Folks
    > >
    > > I have some machines here that are routinely turned off at the power
    > > button rather than using the correct shutdown procedure. when they are
    > > restarted i get the usual error "filesystem not cleanly unmounted...".
    > > it then checks them and prompts me to hit ctrl-d.
    > >
    > > Is there any way that I can force it to immediately reboot rather than
    > > prompting the user for input?
    > >
    > > Cheers
    > > Blake
    > >
    > Comment out
    > /sbin/sulogin $CONSOLE
    > in /etc/init.d/checkrootfs.sh (line 173 for me).

    I found also that touching a file called /fastboot will cause the system
    not to run fsck automagically at boot time. this was what I was after.

    Thanks for the tip

    Cheers
    Blake

    -- 
    Blake Swadling
    Senior Software Engineer
    Newton Pty Ltd
    Telephone:      +61 2 6247 3544
    Fax:            +61 2 6247 3533
    Mobile:         +61 407 026277
    Web:            http://www.newton.com.au
    
    

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    


  • Next message: sylvain: "Re: Secure Samba access through iptables firewall"