[FIXED] unattended reboot for forced filesystem checks
From: Blake Swadling (blake_at_swadling.com)
Date: 01/18/05
- Previous message: sylvain: "Re: Secure Samba access through iptables firewall"
- In reply to: Blake Swadling: "Re: unattended reboot for forced filesystem checks"
- Next in thread: Alvin Oga: "Re: unattended reboot for forced filesystem checks"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: Debian User <debian-user@lists.debian.org> Date: Tue, 18 Jan 2005 15:36:35 +1100
On Tue, 2005-01-18 at 15:06 +1100, Blake Swadling wrote:
> 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.
actually the better fix is to add fastboot to the kernel parameters.
this works like a treat
cheers
Blake
-- Blake Swadling <blake@swadling.com> Swadling.com -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- Previous message: sylvain: "Re: Secure Samba access through iptables firewall"
- In reply to: Blake Swadling: "Re: unattended reboot for forced filesystem checks"
- Next in thread: Alvin Oga: "Re: unattended reboot for forced filesystem checks"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]