Skip to content
David Barbion edited this page Feb 26, 2017 · 2 revisions

Welcome to the fschecker-buildroot wiki!

What is it for?

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.

Supported file-systems

Here is a list of supported file-system:

  • vfat
  • ext*
  • xfs
  • f2fs
  • btrfs

Please note that fschecker also supports logical volumes (LVM2).

How to build?

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.

How to use?

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.

Clone this wiki locally