You are not logged in.
Pages: 1
a simple query;may be stupid:lol:
I have seen fsck.static etc in some distros.
so,when running arch,can I fsck the file system?ie the partition where arch is installed?
Thanks!:)
Offline
sure, just make sure that partition is not mounted at the moment
Offline
ie the partition where arch is installed?
sure, just make sure that partition is not mounted at the moment
You cannot unmount the root partition while arch is running. Boot from a CD/usb to fsck your root partition.
EDIT: Alternatively, you can 'touch /forcefsck' and your root filesystem will be checked on the next reboot, during booting.
Last edited by bender02 (2008-03-23 21:05:59)
Offline
I'm pretty sure you can fsck a partition if it's mounted read-only, that's how it fsck's / at boot.
Offline
well,in Debian they provide e2fsck-static:
apt-cache show e2fsck-static
Description: statically-linked version of the ext2 filesystem checker
This may be of some help to you if your filesystem gets corrupted enough
to break the shared libraries used by the dynamically linked checker.
.
This binary takes much more space than its dynamic counterpart located
in e2fsprogs, though.
.
You may want to install a statically-linked shell as well, to be able
to run this program if something like your C library gets corrupted.
Offline
Well in my opinion if the filesystem get *that* corrupted that even the libs on which e2fsck depends cannot be loaded, you should really rather boot from cd/usb and do some repairs. If you cannot run e2fsck, there is a good chance that you cannot run *anything*.
Anyway, if you want to have the static version handy, just use the one debian provides. It's static, so it should work on any linux.
Offline
Pages: 1