[SATLUG] CHKDSK for Fedora?

Daniel J. Givens daniel at rugmonster.org
Thu Apr 8 14:22:22 CDT 2010

If you are wanting to fsck the root fs at boot, you can run the  
following before reboot:

touch /.autofsck

If you want it to fsck every boot, you can run:

tune2fs -c1 /dev/sda1

Of course, /dev/sda1 would be whatever partition needs to be fsck'd.

There's not really any reason to do that every boot, unless you're  
really paranoid. The only time I ever run a fsck is if there are  
problems. And most times, if you need to fsck, there are probably  
going to be problems that are going to be difficult, if not  
impossible, to recover from. My suggestion would be to implement good  
backups so that when you need to fsck, you are ready to recover.

Daniel J. Givens

On Apr 8, 2010, at 1:49 PM, Jose Calderon <jose.cldrn at gmail.com> wrote:

> Hello,
> I haven't posted much since ya'll always seem to answer my questions  
> before
> I ask but my friend and I were hoping for some help with a particular
> issue.
> We have a hard drive with WinXP and Fedora 12 partitions loading  
> from grub.
> We were wondering if there is an equivalent to CHKDSK that can be  
> initiated
> from Fedora so that the scan can run before loading an OS, much the  
> way
> CHKDSK runs on a restart?  We understand fsck is supposed to do this  
> but
> we're not able to figure out the correct command.
> Any help would be greatly appreciated - thanks!
> --Jose
> -- 
> _______________________________________________
> SATLUG mailing list
> SATLUG at satlug.org
> http://alamo.satlug.org/mailman/listinfo/satlug to manage/unsubscribe
> Powered by Rackspace (www.rackspace.com)

More information about the SATLUG mailing list