EXT2-fs: warning: mounting unchecked file system." /> EXT2-fs: warning: mounting unchecked file system." /> EXT2-fs: warning: mounting unchecked file system." />
LinuxDevCenter.com
oreilly.comSafari Books Online.Conferences.
BooksAll ArticlesSafari BookshelfO'Reilly GearFree Newsletters

FAQS
 FAQs
Apache FAQ
Linux FAQ
XML FAQ

Log in to particpate





TECH JOBS


   Linux FAQ > 10. Frequently Encountered Error Messages
Question:  10.11. EXT2-fs: warning: mounting unchecked file system.
Answer:

You need to run e2fsck (or fsck -t ext2 if you have the fsck front end program) with the -a option to get it to clear the "dirty" flag, and then cleanly unmount the partition during each shutdown.

The easiest way to do this is to get the latest fsck, umount, and shutdown commands, available in Rik Faith's util-linux package ("Where Are the Linux FTP Archives?") You have to make sure that your /etc/rc*/ scripts use them correctly.

NB: Don't try to check a file system that's mounted read/write. This includes the root partition if you don't see

   VFS: mounted root ... read-only


at boot time. You must arrange to mount the root file system read/only to start with, check it if necessary, and then remount it read/write. Almost all distributions do this. If your's doesn't, read the documentation that comes with util-linux to find out how to do this.

Note that you need to specify the -n option to mount so it won't try to update /etc/mtab, since the root file system is still read-only, and this will otherwise cause it to fail.


This FAQ is from Linux Frequently Asked Questions with Answers, maintained by Robert Kiesling

Sponsored by:

Contact UsMedia KitPrivacy PolicyPress NewsJobs @ O'Reilly
Copyright © 2000-2006 O’Reilly Media, Inc. All Rights Reserved.
All trademarks and registered trademarks appearing on the O'Reilly Network are the property of their respective owners.
For problems or assistance with this site, email