On Sun, Dec 23, 2001 at 10:50:09AM +0530, Madhurjya P. Bora wrote:
> 
> How  to configure a linux machine to  AUTOMATICALLY repair the 
> file system  during an event of crash and rebooting? Occasion-
> ally, when the  machine reboots after a crash,it asks for root 
> password and asks several questions while fscking to which one 
> usually answers YES. I want the machine to boot itself without 
> asking any questions or root password. 
>
> Any clue will be of great help!
> 
---end quoted text---

The thing you are getting now IS automatic. FileSystem  checks 
are done as per  your init scripts.  Most  distros  invoke the 
option of  fsck -A (step  through  fstab). You  would  have to
locate the specific rc script for your distro  and make amends
to that for changing default options and set the "-a" flag for
automatic repair as well. 

Alternatively, in the advent of power failure or  known  crash
where there are good  chances of  filesystem  corruption, boot
from a rescue disk (not boot disk) or a stand alone distro and
do an e2fsck or fsck on the unmounted partitions.

HTH

Bish

 

--
:
####[ Linux One Stanza Tip (LOST) ]###########################

Sub : Linux through NT boot loader                   LOST #082

To add linux to NT boot loader menu, in Linux do:
#dd -if=/dev/hdaN -of=/tmp/boot.lnx bs=512 count=1 
[where N is the partition of the Linux "/" (root dir)]
Ensure /tmp/boot.lnx is 512 bytes. Copy it to c:\ of NT.
Append 'c:\boot.lnx="linux"' 'to c:\boot.ini and you are done
 
####<[EMAIL PROTECTED]>#######################
:


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to