[CLUG-tech] shutdown -R goes into loop
alan at linuxholdings.co.za
Wed Feb 1 14:33:05 SAST 2006
On Wednesday, 1 February 2006 13:15, Stefan Mahs wrote:
> Hi all,
> The other day my laptop ran out of battery power and died. It
> started up fine but I missed the "Press Y now to check the disks".
> So I did a shutdown -rF now to reboot and force a fschk. The
> machine duely shut down and rebooted, did the fsck, said it would
> perform an fsck on next boot and promptly rebooted. This went on
> I eventually I inserted a boot disk and went to rescue mode to
> mount the file system and delete the "/forcefsck". This solved the
> The question is: is there a bug in the bootup sequence? Why did
> fsck not delete the file after completing?
From man shutdown:
After that, the boot process should remove /forcefsck.
So, Mdk probably forgot to put this step in their init scripts. Put a
'rm -f /forcefsck' in rc.local (or whatever they call it these days)
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
More information about the Clug-tech