How to force fsck on boot?
Randall J. Parr
RParr at TemporalArts.COM
Wed Dec 7 19:13:35 UTC 2005
Peter Stoddard wrote:
>Hi folks
>
>Re Breezy Badger 2.6.12-10-powerpc
>
>Can someone tell me how to either boot into single user mode or force an
>fsck (or e2fsck) on boot?
>
>Also, I have looked for he answer on Wiki and other places and can't
>seem to find it. Where is this info?
>
>
Creating file "forcefsck" in the root directory should cause an fsck to
be run on next reboot.
# sudo touch /forcefsck
or
# sudo echo " " >/forcefsck
I know this works well on Red Hat. I have not really tested it on Breezy.
R.Parr, RHCE, Temporal Arts
More information about the ubuntu-users
mailing list