fsck without password?

Jerome Alet alet at librelogiciel.com
Wed Apr 25 14:13:01 CDT 2007


On Wed, Apr 25, 2007 at 02:52:47PM -0400, David Hubbard wrote:
> Is there a way to set a server, maybe via fstab or
> boot parameter, to let it do an fsck after a dirty
> shutdown without needing the root password and
> only stopping if something that can't be auto-repaired
> requires acknowledgement?

At LILO's prompt type this :

        LILO: linux init=/bin/sh
        
The system will startup in single user mode and no password will be 
asked. Then remount / readonly (if needed, but don't forget to 
ensure it's ok) and do your fsck. 

hth

Jerome Alet



More information about the Linux-PowerEdge mailing list