How to force Feisty filesystem check on boot?
galt
galt at gmx.ch
Wed Oct 3 19:59:12 UTC 2007
Sorry, that didn't work either.
The disc usage analyzer hangs the system for me, and I am trying to
diagnose the problem.
Thanks
Nils Kassube wrote:
> galt wrote:
>
>> Sorry that did not work for me.
>>
>
> OK, sorry about the untested advice.
>
> Actually I only checked the shutdown man page on my Dapper machine because
> I didn't remember which option was necessary. I didn't expect Feisty to
> be different. Now that you pointed it out, I tested it on my Feisty
> machine and you are right. The Feisty shutdown command doesn't know
> the -F flag :(
>
> However, the shutdown man page for Dapper has this paragraph about the -F
> flag:
>
> | The -F flag means `force fsck'. This only creates an advisory
> | file /forcefsck which can be tested by the system when it comes up
> | again. The boot rc file can test if this file is present, and decide to
> | run fsck(1) with a special `force' flag so that even properly unmounted
> | filesystems get checked. After that, the boot process should
> | remove /forcefsck.
>
> Now I used this command:
>
> sudo touch /forcefsck
>
> and after the reboot the partitions were checked.
>
>
> Nils
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20071004/a0dfca96/attachment.html>
More information about the ubuntu-users
mailing list