-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Welcome to the fschecker-buildroot wiki!
The tool fschecker checks file-systems for errors.
Fschecker-buildroot is a tool built on top of Buildroot.
Once built Fschecker-buildroot is a kernel and rootfs. This can be ideally used as a PXE boot image.
Here is a list of supported file-system:
- vfat
- ext*
- xfs
- f2fs
- btrfs
Please note that fschecker also supports logical volumes (LVM2).
First you need to clone this repo. Then, execute this commands:
make fschecker_defconfig
make -j `getconf _NPROCESSORS_ONLN`The resulting kernel and rootfs are located under output/images directory. You simply have to copy bzImage and rootfs.cpio.gz to your PXE server.
Example config for PXElinux:
label fschecker
menu label FSChecker partition checker
kernel fschecker/bzImage
append initrd=fschecker/rootfs.cpio.gz
In this example, both files are stored under the sub-directory fschecker/ of the PXE root dir. Check your PXE for informations about PXE root dir.
Once booted, fschecker will build a list of known file-systems. Each partition format is automatically detected then checked.
If one partition fails the check, an error is displayed. The system stopd.
If no partitions contains error, the system is restarted.