How to force Feisty filesystem check on boot?

galt galt at gmx.ch
Wed Oct 3 18:42:44 UTC 2007


Sorry that did not work for me.

ps; Sorry for the hijack error. Didn't know of it till you pointed it out.



Derek Broughton wrote:
> galt wrote:
>
>   
>> Is there any way one can force Ubuntu Feisty to check all ext3
>> partitions for errors on the next boot?
>>
>> Thanks
>>     
>
> Arrgh.  Didn't this thread already contain a request not to hijack threads?
>
> Please don't "reply" to somebody else's post when you have a brand new
> question.
>
> To answer the question: tune2fs (remember, it's really just an ext2
> filesystem, with a journal).
>
> "-C mount-count 
>  Set the number of times the filesystem has been mounted. If set to a
> greater value than the max-mount-counts parameter set by the -c option,
> e2fsck(8) will check the filesystem at the next reboot. "
>
> If you used:
>
> tune2fs -C 99999 /dev/XXXX
>
> where XXXX is your partition, I would expect it to be fsck'd next boot.
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20071004/92e22c77/attachment.html>


More information about the ubuntu-users mailing list