From: jim@n5ial.mythical.com (Jim Graham) Subject: Re: Help: EXT2-fs Date: Tue, 21 Sep 1993 11:39:01 GMT
Note the Reply-To address (and the corresponding note in my .signature)!
This is temporary, but for the next couple of weeks, it's important.
In article <1993Sep20.145052.20513@aber.ac.uk> pcg@aber.ac.uk
(Piercarlo Grandi) writes:
>On 16 Sep 1993 06:39:47 GMT, Heon J. Jo (hjj101@cac.psu.edu) wrote:
>> EXT2-fs warning: mounting unchecked file system, running e2fsck is recommended
>
>> I ran e2fsck several times but... I am still getting this message...
>You need versions of fsck, mount and umount that support all this, and they
>are part of the bootutils-0.1 package.
[ most of good list of stuff to do deleted for space ]
First off, I have a slight addition to the list of things you must have.
Thanks to Stephen Tweedie for helping me with this not too long ago! All
credit for the following goes to Stephen. Any errors in the interpretation
of his e-mail to me are mine.
Basically, versions of e2fsck before 0.3 had a bug where if a filesystem
was checked (i.e., clean flag not set), but no repairs had to be made, the
clean flag wouldn't be set. The clean flag would only be set if there were
actually errors in the filesystem that had to be corrected.
So make sure you have at least version 0.3 of e2fsck (I don't know if there
is a more recent version---0.3 is the latest one I've seen, but I do know
it works). If you don't have 0.3 or better, you'll end up having the root
filesystem checked every time you boot, and you'll always see the complaint
about it being unchecked.
>2) put 'read-only' in /etc/lilo/config, and rerun /etc/lilo/install.
Or if, like me, you don't run lilo (I use bootlin and switch in config.sys),
you can just use ``rdev -R Image 1'' to set the kernel itself to mount the
root partition readonly.
Later,
--jim